process seems hung while looking for audio device

unix

    Sponsored Links

    Next

  • 1. Error launching CDE help from a X Application on Solaris 9
    Hi, we're running Solaris 9 at work and have a quite strange problem. We have implemented a help system using the CDE environment which is run from a X Windows application (HP OpenView). We connect remotely to the server using SSH and after launching OpenView, selecting a menu entry will launch the CDE help system which pops up with the help file. The problem is that we only get the windows shown if we have logged on as root. However, if we connect to the server using telnet, it works OK logging on as any user. Obviously, we need to use SSH for security reasons. Any help on how to grant permission to the program so it can launch other CDE applications (like this help system) when logged on as any user would be appreciated, as well as any hints or suggestions. Thanks in advance for your help and have a nice day!, Hector
  • 2. Installing Solaris 8 - which CDs
    Booted my machine with the Install CD and it asked all the questions, rebooted a few times and then booted back to give me the login prompt. At no point did it ask for the software CDs.... I'm confused because I was expecting it to do so. So, what exactly, are the software CDs for? I've heard you can boot from software CD 1 if you want as well. So, what exactly should I have done? All a bit confusing...
  • 3. dos-unix file format?
    my problem is about using ftp command via dos prompt > ftp hostname >ascii >put filename and I determined in *NIX system the format is still DOS format (check HEX&size) but when I used gui-app(like CuteFTP and WinSCP in ftp mode) and also used ascii mode transfer,its(file) format is successfully changed to be *NIX format. anyway IF I need to use ftp command prompt from win32 (ncftpput.exe),how to deal with this problem? any others option of this command? or I only need to write some app. or shell script to covert it? any help or suggestion would be greatly appreciated,thank you very much Warachet S.
  • 4. Will apache2, php5, mcrypt,etc run on solaris 10 x86 in 64 bit
    Hi All, We are trying to get apache2 and php5 with support for mcrypt, mhash, gd, soap, gettext, imap, ftp, openssl, oracle, mysql, db4 curl work. We have struck a file discripter limit in 32 bit and we are wondering anyone has got this config running well in 64 bit. Has anyone had any success? Thanks, Terry
  • 5. Solaris 10 printing problem
    I installed (full install) Solaris 10 1/06 on an Ultra 10. I used the print manager to set up a printer; an HP Laser Jet 4000 with a JetDirect card. I made it the default printer. I said "lp /etc/hosts" to print a "test page". Nothing happened. No error message and nothing came out of the printer. sunburn_$ lpq LJ4000 is ready and printing Rank Owner Job File(s) Total Size active root 1 /etc/hosts 118 bytes 1st root 2 /etc/inet/hosts 118 bytes sunburn_$ The printer is "ready and printing", so what's the problem. It's great that you can pick your printer by manufacturer and model from a list and set it up with a few mouse clicks but it's worth nothing if the printer won't print. The printer works fine; I print to it from my Solaris 8 and 9 systems and my Windoze system. S8 and S9 systems use the HP JetDirect support from the JetDirect CD. The problem is somewhere in Solaris 10.

process seems hung while looking for audio device

Postby Dennis Clarke » Sat, 22 Nov 2003 04:59:14 GMT

On a Sun Ultra 2 running Sol9 I have a piece of software that seems to hang
while looking for an audio device.  The truss -p pid on the executable
reports :

/1:     ioctl(11, AUDIO_GETINFO, 0x0A086134)            = 0
/1:     ioctl(11, AUDIO_GETINFO, 0x0A086134)            = 0
/1:     ioctl(11, AUDIO_GETINFO, 0x0A086134)            = 0
/1:     ioctl(11, AUDIO_GETINFO, 0x0A086134)            = 0
/1:     ioctl(11, AUDIO_GETINFO, 0x0A086134)            = 0
/1:     ioctl(11, AUDIO_GETINFO, 0x0A086134)            = 0
.
.
.

These lines come out of truss at a terrific rate.  The Audio devices seems
fine to me.  I can play the audio files in /usr/demo/SOUND/sounds by simply
clicking on the file in File Manager.  Seems odd that an audio device would
hang the software.

Dennis

Re: process seems hung while looking for audio device

Postby Juergen Keil » Sat, 22 Nov 2003 22:37:21 GMT

Dennis Clarke < XXXX@XXXXX.COM > writes:



Is that an application that tries to record audio, or does it try to
playback something?

If it tries to play something, did it ever write to the file
descriptor 11, before it started with these AUDIO_GETINFO ioctls ?

My guess would be, that the application could be monitoring the
play.samples or play.eof member of the audio_info_t obtained by the
AUDIO_GETINFO ioctl, trying to to find out about the progress of the
active playback.


Btw. you may want to run "sdtaudiocontol", View -> Status... 
while you try your audio application.



Return to unix

 

Who is online

Users browsing this forum: No registered users and 56 guest