2005-05-03 01:08:57

by Misha Nasledov

[permalink] [raw]
Subject: snd_cs46xx + APM suspend problem

Hello,

I'm running 2.6.11.7 on an IBM Thinkpad T21 and I have had problems with the
snd_cs46xx driver in conjunction with APM for many releases previous to this.

After I resume my laptop from a suspend, my sound device becomes unusable.
Nothing can write to /dev/dsp -- programs will just block while trying to
write and when I do cat > /dev/dsp, cat will not quit when I ^D. I wrote a
script to work around this problem by quitting any application which may
be using the mixer/sound device and then rmmod'ing and then modprobe'ing the
snd_cs46xx module.

Here is the lspci entry for my sound card:
0000:00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
Subsystem: IBM: Unknown device 0153
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (1000ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Entry in kern.log from when snd_cs46xx is loaded:
Apr 27 03:00:32 localhost kernel: cs46xx: Card found at 0xe8100000 and 0xe8000000, IRQ 11
Apr 27 03:00:32 localhost kernel: cs46xx: Thinkpad 600X/A20/T20 (1014:0153) at 0xe8100000/0xe8000000, IRQ 11

Also, please find attached a copy of my kernel's .config file. Unfortunately
there is nothing interesting in dmesg from when this problem occurs.
--
Misha Nasledov
[email protected]
GPG: A063 B99A 2BD3 2D48 F2D7 8E68 0F27 4D21 948F 8F06


Attachments:
(No filename) (1.86 kB)
aurora-config-2.6.11.7 (34.72 kB)
Download all attachments