Greetings,
I have a T20 running OpenSUSE 10.1, with a CS4614/22/24 [CrystalClear Sound Fusion Audio Accelerator] card (according to YaST). The driver is snd-cs46xx.
I have noticed that upon sleep via Fn-F4 and awaken, some audio playback no longer works. Specifically, the RealPlayer and mplayer applications appear to be connecting and playing an audio stream, but no sound actually comes out. mplayer appears to connect and fill its buffers, but the play statistics stay at zero. RealPlayer connects, fills its buffers, and says it is playing, but no sound is produced. KsCD, however, will play a CD and produce sound. Upon reboot, all systems return to normal: RealPlayer and mplayer once again produce sound.
I imagine that there's something I have to restart or reset upon awakening from sleep, but I don't know what it is. Can anyone help me with this?
Thanks,
Frank Huddleston
Audio gone after F4 suspend and awaken
-
revolutionary_one
- Sophomore Member
- Posts: 217
- Joined: Sun Apr 24, 2005 9:13 pm
- Location: Dallas, Texas
Hey.
Off the top of my head i can posit two possible reasons:
1)The sound module isnt being modprobe'd when you resume from standby mode. Try seeing if the module is loaded first and then if not modprobe it.
2)You dont have an effective sound mixer setup. Unless the distro provides for it the alsa sound drivers only allow one application to access to the sound device node created at one time. You'd need to setup a sound server to have multiple applications access the sound device at once or just free up whatever is using the sound device after resume from standby.
Cheers. Ramesh.
Off the top of my head i can posit two possible reasons:
1)The sound module isnt being modprobe'd when you resume from standby mode. Try seeing if the module is loaded first and then if not modprobe it.
2)You dont have an effective sound mixer setup. Unless the distro provides for it the alsa sound drivers only allow one application to access to the sound device node created at one time. You'd need to setup a sound server to have multiple applications access the sound device at once or just free up whatever is using the sound device after resume from standby.
Cheers. Ramesh.
T42 2378FVU -- PM 735 1.7Ghz, 768MB RAM, 40GB 5400rpm HDD, 14.1 SXGA+(1400x1050) TFT LCD, 64MB ATI Radeon 9600, 24x24x24x/8x CD-RW/DVD, Intel 802.11b/g, Modem(CDC), Gigabit Lan, 6 cell Li-Ion battery, WinXP Pro | UbuntuLinux (Dapper Drake)
Thanks.
Concerning suggestion 1): is the "sound module" the same as the driver, in this case snd-cs46xx? From the /etc/modprobe.d/sound file, I see that it is aliased to
snd-card-0. I tried loading it with modprobe, and this is the result:
modprobe -v --first-time snd-card-0
FATAL: Module snd_cs46xx already in kernel.
so if that's the sound module, it looks as though it's already loaded. Is there something else I could check?
About 2): I don't think any other processes would be accessing the sound card, but how can I find this out? From another post I saw that someone was doing a
"fuser /dev/dsp", but this command for me either returns nothing or hangs.
How can I find out what my "sound device" is? How can I find out what process is using it?
Thanks,
Frank H.
Concerning suggestion 1): is the "sound module" the same as the driver, in this case snd-cs46xx? From the /etc/modprobe.d/sound file, I see that it is aliased to
snd-card-0. I tried loading it with modprobe, and this is the result:
modprobe -v --first-time snd-card-0
FATAL: Module snd_cs46xx already in kernel.
so if that's the sound module, it looks as though it's already loaded. Is there something else I could check?
About 2): I don't think any other processes would be accessing the sound card, but how can I find this out? From another post I saw that someone was doing a
"fuser /dev/dsp", but this command for me either returns nothing or hangs.
How can I find out what my "sound device" is? How can I find out what process is using it?
Thanks,
Frank H.
OK: I have found a way to restart sound after the suspend-to-RAM sleep. (by the way, my system uses APM, not ACPII):
sudo /etc/init.d/alsasound restart
There must be a way to put this in a sleep restart script; I'll find it eventually. If anyone happens to know where this is, I'd appreciate a tip...
Regards,
Frank H.
sudo /etc/init.d/alsasound restart
There must be a way to put this in a sleep restart script; I'll find it eventually. If anyone happens to know where this is, I'd appreciate a tip...
Regards,
Frank H.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Wake up after suspend problem on T41 with new SSD on IDE2SATA controller
by Mac-Chatter » Sat Mar 04, 2017 6:10 am » in ThinkPad T4x Series - 0 Replies
- 1720 Views
-
Last post by Mac-Chatter
Sat Mar 04, 2017 6:10 am
-
-
-
W530 Audio issue - Speakers not working, Audio jack ok
by TaffyBoy » Mon Apr 24, 2017 5:15 pm » in Thinkpad - General HARDWARE/SOFTWARE questions - 1 Replies
- 608 Views
-
Last post by TaffyBoy
Mon May 01, 2017 4:13 am
-
-
-
W520 B156HW01 screen upgrade gone wrong
by lordsnipe » Fri Jan 06, 2017 5:44 am » in ThinkPad W500/510/520 and W7x0 Series - 16 Replies
- 2148 Views
-
Last post by lordsnipe
Mon Jan 09, 2017 6:38 pm
-
-
-
GONE: ThinkPad X300 (TYPE 6478-1VU) +shipping
by cds.helpdesk » Tue Jan 17, 2017 11:31 pm » in Marketplace - Forum Members only - 3 Replies
- 707 Views
-
Last post by cds.helpdesk
Mon Jan 30, 2017 2:41 pm
-
Who is online
Users browsing this forum: No registered users and 2 guests



