Unix Technical Forum

how to un-stick the audio device (Solaris 10)?

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-07-2008, 08:40 PM
Glenn
 
Posts: n/a
Default how to un-stick the audio device (Solaris 10)?

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com