: intel8x0 ACPI suspend/resume trouble
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=917>
======================================================================
Reported By: christophe
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 917 Category: PCI - intel8x0 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Ununtu Kernel Version: 2.6.11-rc3 ====================================================================== Date Submitted: 02-17-2005 20:16 CET Last Modified: 02-21-2005 19:21 CET
======================================================================
Summary: intel8x0 ACPI suspend/resume trouble
Description:
I have a problem with the driver for my soundcard after ACPI suspend/resume cycles with a 2.6.11-rc3 kernel. (I add the same problem with prior kernels, I first tried with 2.6.8).
This is a IBM x40 laptop (23865FU) with an intel chipset.
The relevant lspci line is:
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev
+01)
The driver I use is snd_intel8x0.
The problem is that after a suspend/resume cycle the sound output is either off or only on one side or with statics.
I tried to do:
~$ alsactl power off
~$ alsactl power on
without any change.
If I suspend/resume multiple time I can get the sound output a little better (like on one side instead of off). But so far to get the correct sound back I need to reboot.
Is it a known problem?
Is there a way to force the driver to reinitialized the chipset?
Thanks for alsa,
Christophe
======================================================================
----------------------------------------------------------------------
christophe - 02-21-05 19:16
----------------------------------------------------------------------
I saved all proc files before and after a suspend/resume cycle and look at the diff:
In /proc/asound/card0/intel8x0
I have the following diff:
before: Global control : 0xc0000002 after: Global control : 0x00000002
/proc/asound/card0/pcm0p/sub0/[status,sw_params,hw_params] contains "closed" after while they have more content before but I suspect it's normal.
And the file /proc/asound/card0/pcm0p/sub0/info contains the same in both case except the value of subdevices_avail which is 0 before and 1 before.
Finally I have the following change in the registers:
before:
0:10 = 8989
0:12 = 9f9f
0:14 = 0000
0:16 = 9f9f
0:18 = 1010
0:1a = 0000
0:1c = 8080
...
0:76 = 2010
after:
0:10 = 8909
0:12 = 9f1f
0:14 = 0000
0:16 = 9f1f
0:18 = 1010
0:1a = 0000
0:1c = 8000
...
0:76 = 0010
I will try to figure out the meaning of the global control and the registers. The sound output was perfect before and crappy after (symmetric for once, but the more I increase the pcm volume the crappier it becomes until a certain point where I get only sound from the left channel).
----------------------------------------------------------------------
christophe - 02-21-05 19:21
----------------------------------------------------------------------
For the control word, the meaning of the most significant c seems to be related to the s/dif output which is strange especially since I don't have a digital output AFAIK.
#define ICH_REG_GLOB_CNT 0x2c /* dword - global control */
#define ICH_PCM_SPDIF_MASK 0xc0000000 /* s/pdif pcm slot mask (ICH4)
*/
...
#define ICH_PCM_SPDIF_78 0x40000000 /* s/pdif pcm on slots 7&8 */ #define ICH_PCM_SPDIF_69 0x80000000 /* s/pdif pcm on slots 6&9 */
Issue History
Date Modified Username Field Change
======================================================================
02-17-05 20:16 christophe New Issue 02-17-05 20:16 christophe Distribution => Ununtu 02-17-05 20:16 christophe Kernel Version => 2.6.11-rc3 02-17-05 20:30 tiwai Note Added: 0003636 02-17-05 21:01 christophe Note Added: 0003639 02-17-05 21:06 christophe Note Added: 0003640 02-17-05 22:38 christophe Note Added: 0003643 02-18-05 09:29 alexs81 Issue Monitored: alexs81 02-18-05 09:41 alexs81 Note Added: 0003649 02-18-05 18:00 christophe Note Added: 0003657 02-18-05 20:34 alexs81 File Added: output_proc_asound_card0_codec97_0
02-18-05 20:35 alexs81 Note Added: 0003659 02-18-05 20:50 christophe Note Added: 0003660 02-18-05 21:13 alexs81 Note Added: 0003661 02-18-05 21:16 christophe Note Added: 0003662 02-18-05 21:32 alexs81 Note Added: 0003663 02-18-05 21:39 rlrevell Note Added: 0003664 02-19-05 02:40 christophe Note Added: 0003668 02-19-05 12:07 alexs81 Note Added: 0003669 02-19-05 22:15 christophe Note Added: 0003671 02-19-05 22:16 christophe Note Added: 0003672 02-21-05 19:16 christophe Note Added: 0003681 02-21-05 19:21 christophe Note Added: 0003682
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click