This is a discussion on how to un-stick the audio device (Solaris 10)? within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I'm running Solaris 10 FCS on an Ultra-2. Somehow the audio device seems to have gotten locked up into ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm running Solaris 10 FCS on an Ultra-2. Somehow the audio device seems to have gotten locked up into a state where it will not drain. % truss audioplay new_mail_has_arrived.wav ... open("/dev/audio", O_WRONLY|O_NONBLOCK) = 5 fcntl(5, F_GETFL) = 129 fcntl(5, F_SETFL, FREAD) = 0 ioctl(5, AUDIO_GETINFO, 0xFFBFECF4) = 0 ioctl(5, AUDIO_DRAIN, 0x00000000) = 0 ioctl(5, I_FLUSH, FLUSHW) = 0 ioctl(5, AUDIO_SETINFO, 0xFFBFECDC) = 0 fstat(4, 0xFFBFF2A8) = 0 mmap(0x00000000, 30824, PROT_READ, MAP_SHARED, 4, 0) = 0xFF350000 memcntl(0xFF350000, 30824, MC_ADVISE, MADV_SEQUENTIAL, 0, 0) = 0 lseek(4, 0, SEEK_CUR) = 64 write(5, "848384848384838383838383".., 30760) = 30760 write(5, 0xFF350040, 0) = 0 munmap(0xFF350000, 30824) = 0 close(4) = 0 ioctl(5, AUDIO_DRAIN, 0x00000000) (sleeping...) How do I get this unstuck? This program has successfully opened /dev/audio already; there is no other program currently using this device. No sound is being emitted (the internal speaker [only] is enabled, at a reasonable volume level). Until it drains successfully, I cannot play any audio clips, and programs which depend on doing so will hang. |
| Thread Tools | |
| Display Modes | |
|
|