All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2005-12-13 21:06 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2005-12-13 21:06 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              12-13-2005 22:06 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 jdthood - 12-13-05 12:49 
----------------------------------------------------------------------
klausr: Does cs46xx suspend-'n'-resume work properly in 1.0.10?

----------------------------------------------------------------------
 jdthood - 12-13-05 22:06 
----------------------------------------------------------------------
Actually, try 1.0.11rc1 since the changelog reports that cs46xx PM is
fixed.  :)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-03-01  3:53 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-03-01  3:53 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-01-2006 04:53 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 cull - 03-01-06 04:45 
----------------------------------------------------------------------
no, doesn't help.
now 
cat /proc/asound/card0/codec97#0/ac97#0-0+regs 
the same as before sleep, but there is no sound.
However I there is a message appears in dmesg:

ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:2231:
playback write error (DMA or IRQ trouble?)

Not sure at which moment exactly, but after suspend.
I'll try to repeat this and report more exatcly.

----------------------------------------------------------------------
 cull - 03-01-06 04:53 
----------------------------------------------------------------------
yes, the message appears after resume, when I try to play sound in an
alsa-native (for example in gnomemeeting), but not in oss-based
application (like xmms). I do not get sound in any of them.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
02-26-06 23:24 cull           Note Edited: 0008204                         
03-01-06 03:41 cull           Note Added: 0008264                          
03-01-06 03:50 rlrevell       Note Added: 0008265                          
03-01-06 04:03 cull           Note Added: 0008266                          
03-01-06 04:14 rlrevell       Note Added: 0008267                          
03-01-06 04:45 cull           Note Added: 0008268                          
03-01-06 04:53 cull           Note Added: 0008269                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-03-01  3:45 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-03-01  3:45 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-01-2006 04:45 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 rlrevell - 03-01-06 04:14 
----------------------------------------------------------------------
OK, we may be on to something.  Register 26 is:

#define  AC97_POWER_CONTROL      0x0026

But, AFAICT bit 0x8000 should only affect the modem.

After resume try:

echo 26 800f > /proc/asound/card0/codec97#0/ac97#0-0+regs

Does it restore your sound?

----------------------------------------------------------------------
 cull - 03-01-06 04:45 
----------------------------------------------------------------------
no, doesn't help.
now 
cat /proc/asound/card0/codec97#0/ac97#0-0+regs 
the same as before sleep, but there is no sound.
However I there is a message appears in dmesg:

ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:2231:
playback write error (DMA or IRQ trouble?)

Not sure at which moment exactly, but after suspend.
I'll try to repeat this and report more exatcly.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
02-26-06 23:24 cull           Note Edited: 0008204                         
03-01-06 03:41 cull           Note Added: 0008264                          
03-01-06 03:50 rlrevell       Note Added: 0008265                          
03-01-06 04:03 cull           Note Added: 0008266                          
03-01-06 04:14 rlrevell       Note Added: 0008267                          
03-01-06 04:45 cull           Note Added: 0008268                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-03-01  3:14 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-03-01  3:14 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-01-2006 04:14 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 cull - 03-01-06 04:03 
----------------------------------------------------------------------
the diff when i use ACPI sleep:
20c20
< 0:26 = 800f
---
> 0:26 = 000f

----------------------------------------------------------------------
 rlrevell - 03-01-06 04:14 
----------------------------------------------------------------------
OK, we may be on to something.  Register 26 is:

#define  AC97_POWER_CONTROL      0x0026

But, AFAICT bit 0x8000 should only affect the modem.

After resume try:

echo 26 800f > /proc/asound/card0/codec97#0/ac97#0-0+regs

Does it restore your sound?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
02-26-06 23:24 cull           Note Edited: 0008204                         
03-01-06 03:41 cull           Note Added: 0008264                          
03-01-06 03:50 rlrevell       Note Added: 0008265                          
03-01-06 04:03 cull           Note Added: 0008266                          
03-01-06 04:14 rlrevell       Note Added: 0008267                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-03-01  3:03 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-03-01  3:03 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-01-2006 04:03 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 rlrevell - 03-01-06 03:50 
----------------------------------------------------------------------
Can you save /proc/asound/card0/codec97#0/ac97#0-0+regs before and after
suspend and post the diff?

----------------------------------------------------------------------
 cull - 03-01-06 04:03 
----------------------------------------------------------------------
the diff when i use ACPI sleep:
20c20
< 0:26 = 800f
---
> 0:26 = 000f

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
02-26-06 23:24 cull           Note Edited: 0008204                         
03-01-06 03:41 cull           Note Added: 0008264                          
03-01-06 03:50 rlrevell       Note Added: 0008265                          
03-01-06 04:03 cull           Note Added: 0008266                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-03-01  2:50 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-03-01  2:50 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-01-2006 03:50 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 cull - 03-01-06 03:41 
----------------------------------------------------------------------
Hi, I don't know if this might give a clue, but I get additional sound
related messages when I hibernate to disc using suspend2:

[4469757.963000] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[4469758.655000] snd: Not freed snd_alloc_kmalloc = 468
[4469758.655000] snd: kmalloc(468) from d0caad05 not freed
[4469758.829000] gameport: kgameportd exiting

Here I do not tell suspend2 to unload the sound module before suspend,
however it is not loaded after resume. If I use ACPI suspend, I don't have
these messages, the sound module is loaded after resume but is not
functional.

The rest of the log for suspend2 looks as follows:

[4469759.540000] uhci_hcd 0000:00:07.2: remove, state 1
[4469759.541000] usb usb1: USB disconnect, address 1
[4469759.541000] usb 1-1: USB disconnect, address 2
[4469759.868000] uhci_hcd 0000:00:07.2: USB bus 1 deregistered
[4469759.918000] ACPI: PCI interrupt for device 0000:00:07.2 disabled
[4469760.764000] Suspend2 2.2-rc16: Initiating a software suspend cycle.
[4469764.665000] 20%...40%...60%...80%...100%...done.
[4469773.160000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[4469773.171000] ACPI: PCI interrupt for device 0000:00:02.1 disabled
[4469773.171000] ACPI: PCI interrupt for device 0000:00:02.0 disabled
[4469808.175000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI
11 (l
evel, low) -> IRQ 11
[4469808.206000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI
11 (l
evel, low) -> IRQ 11
[4469808.284000] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI
11 (l
evel, low) -> IRQ 11
[4469810.274000] e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
[4469810.624000] 20%...40%...60%...80%...100%...done.
[4469819.456000] Suspend2 debugging info:
[4469819.456000] - SUSPEND core   : 2.2-rc16
[4469819.456000] - Kernel Version : 2.6.15-archck2
[4469819.456000] - Compiler vers. : 4.0
[4469819.456000] - Attempt number : 5
[4469819.456000] - Parameters     : 0 32 0 1 182 0
[4469819.456000] - Overall expected compression percentage: 50.
[4469819.456000] - Compressor lzf enabled.
[4469819.456000]   Compressed 246611968 bytes into 132064606 (46 percent
compres
sion).
[4469819.456000] - Swapwriter active.
[4469819.456000]   Swap available for image: 485537 pages.
[4469819.456000] - I/O speed: Write 20 MB/s, Read 18 MB/s.
[4469819.798000] USB Universal Host Controller Interface driver v2.3
[4469819.813000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI
11 (l
evel, low) -> IRQ 11
[4469819.814000] uhci_hcd 0000:00:07.2: UHCI Host Controller
[4469819.863000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned
bus num
ber 1
[4469819.863000] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001860
[4469819.881000] hub 1-0:1.0: USB hub found
[4469819.881000] hub 1-0:1.0: 2 ports detected
[4469820.421000] usb 1-1: new low speed USB device using uhci_hcd and
address 2
[4469820.639000] input: Logitech USB Mouse as /class/input/input29
[4469820.644000] input: USB HID v1.10 Mouse [Logitech USB Mouse] on
usb-0000:00:
07.2-1
[4469820.832000] ACPI: Power Button (FF) [PWRF]
[4469820.832000] ACPI: Lid Switch [LID]
[4469820.832000] ACPI: Sleep Button (CM) [SLPB]
[4469820.954000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[4469821.002000] input: TPPS/2 IBM TrackPoint as /class/input/input30

----------------------------------------------------------------------
 rlrevell - 03-01-06 03:50 
----------------------------------------------------------------------
Can you save /proc/asound/card0/codec97#0/ac97#0-0+regs before and after
suspend and post the diff?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
02-26-06 23:24 cull           Note Edited: 0008204                         
03-01-06 03:41 cull           Note Added: 0008264                          
03-01-06 03:50 rlrevell       Note Added: 0008265                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-03-01  2:41 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-03-01  2:41 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-01-2006 03:41 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 cull - 02-26-06 23:24 
----------------------------------------------------------------------
Disabling suspend2 does not seem to make any difference. 
Well, it does sleep using ACPI anyway, but with additional scripts (I use
it since it allowes one to kill all application that use sound before
sleep/suspend)
Anyway, here are dmesg that I get with ACPI sleep without suspend2:

[4294858.354000] ACPI: PCI interrupt for device 0000:00:07.2 disabled
[4294861.984000] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[4294861.995000] ACPI: PCI interrupt for device 0000:00:02.1 disabled
[4294861.995000] ACPI: PCI interrupt for device 0000:00:02.0 disabled
[4294861.995000] Back to C!
[4294865.000000] WARNING: Interrupts reenabled while resuming sysdev class
speci
[4294865.000000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI
11 (l
[4294865.031000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI
11 (l
[4294865.073000] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI
11 (l
[4294865.073000] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI
11 (l
[4294867.358000] e100: Intel(R) PRO/100 Network Driver, 3.4.14-k4-NAPI
[4294867.358000] e100: Copyright(c) 1999-2005 Intel Corporation
[4294867.370000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKC] -> GSI
11 (l
[4294867.469000] e100: eth0: e100_probe: addr 0xe8120000, irq 11, MAC addr
00:03
[4294867.514000] USB Universal Host Controller Interface driver v2.3
[4294867.579000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI
11 (l
[4294867.579000] uhci_hcd 0000:00:07.2: UHCI Host Controller
[4294867.644000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned
bus num
[4294867.644000] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001860
[4294867.660000] hub 1-0:1.0: USB hub found
[4294867.661000] hub 1-0:1.0: 2 ports detected
[4294868.035000] usb 1-1: new low speed USB device using uhci_hcd and
address 2
[4294868.074000] e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
[4294868.252000] input: Logitech USB Mouse as /class/input/input4
[4294868.265000] input: USB HID v1.10 Mouse [Logitech USB Mouse] on
usb-0000:00:
[4294869.085000] ACPI: AC Adapter [AC] (on-line)
[4294869.156000] ACPI: Battery Slot [BAT0] (battery present)
[4294869.753000] ACPI: Power Button (FF) [PWRF]
[4294869.753000] ACPI: Lid Switch [LID]
[4294869.754000] ACPI: Sleep Button (CM) [SLPB]
[4294869.876000] ACPI: Thermal Zone [THM0] (59 C)
[4294869.931000] ibm_acpi: IBM ThinkPad ACPI Extras v0.12a
[4294869.931000] ibm_acpi: http://ibm-acpi.sf.net/
[4294869.932000] ibm_acpi: dock device not present
[4294878.466000] eth0: no IPv6 routers present

the sound doesn't come up after suspend, rmmod modprobe enables it as
before.
I have also enabled debug mode when configured alsa (--with-debug=full).
This gives me some more messages when I try to sleep while playing some
audio (in xmms or xine). Those messages appear right after I start to
resume:

[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200

Note that I get no sound after resume regardless whether the sound device
is used or not - it suffices if the module snd_cs46xx is loaded.



----------------------------------------------------------------------
 cull - 03-01-06 03:41 
----------------------------------------------------------------------
Hi, I don't know if this might give a clue, but I get additional sound
related messages when I hibernate to disc using suspend2:

[4469757.963000] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[4469758.655000] snd: Not freed snd_alloc_kmalloc = 468
[4469758.655000] snd: kmalloc(468) from d0caad05 not freed
[4469758.829000] gameport: kgameportd exiting

Here I do not tell suspend2 to unload the sound module before suspend,
however it is not loaded after resume. If I use ACPI suspend, I don't have
these messages, the sound module is loaded after resume but is not
functional.

The rest of the log for suspend2 looks as follows:

[4469759.540000] uhci_hcd 0000:00:07.2: remove, state 1
[4469759.541000] usb usb1: USB disconnect, address 1
[4469759.541000] usb 1-1: USB disconnect, address 2
[4469759.868000] uhci_hcd 0000:00:07.2: USB bus 1 deregistered
[4469759.918000] ACPI: PCI interrupt for device 0000:00:07.2 disabled
[4469760.764000] Suspend2 2.2-rc16: Initiating a software suspend cycle.
[4469764.665000] 20%...40%...60%...80%...100%...done.
[4469773.160000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[4469773.171000] ACPI: PCI interrupt for device 0000:00:02.1 disabled
[4469773.171000] ACPI: PCI interrupt for device 0000:00:02.0 disabled
[4469808.175000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI
11 (l
evel, low) -> IRQ 11
[4469808.206000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI
11 (l
evel, low) -> IRQ 11
[4469808.284000] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI
11 (l
evel, low) -> IRQ 11
[4469810.274000] e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
[4469810.624000] 20%...40%...60%...80%...100%...done.
[4469819.456000] Suspend2 debugging info:
[4469819.456000] - SUSPEND core   : 2.2-rc16
[4469819.456000] - Kernel Version : 2.6.15-archck2
[4469819.456000] - Compiler vers. : 4.0
[4469819.456000] - Attempt number : 5
[4469819.456000] - Parameters     : 0 32 0 1 182 0
[4469819.456000] - Overall expected compression percentage: 50.
[4469819.456000] - Compressor lzf enabled.
[4469819.456000]   Compressed 246611968 bytes into 132064606 (46 percent
compres
sion).
[4469819.456000] - Swapwriter active.
[4469819.456000]   Swap available for image: 485537 pages.
[4469819.456000] - I/O speed: Write 20 MB/s, Read 18 MB/s.
[4469819.798000] USB Universal Host Controller Interface driver v2.3
[4469819.813000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI
11 (l
evel, low) -> IRQ 11
[4469819.814000] uhci_hcd 0000:00:07.2: UHCI Host Controller
[4469819.863000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned
bus num
ber 1
[4469819.863000] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001860
[4469819.881000] hub 1-0:1.0: USB hub found
[4469819.881000] hub 1-0:1.0: 2 ports detected
[4469820.421000] usb 1-1: new low speed USB device using uhci_hcd and
address 2
[4469820.639000] input: Logitech USB Mouse as /class/input/input29
[4469820.644000] input: USB HID v1.10 Mouse [Logitech USB Mouse] on
usb-0000:00:
07.2-1
[4469820.832000] ACPI: Power Button (FF) [PWRF]
[4469820.832000] ACPI: Lid Switch [LID]
[4469820.832000] ACPI: Sleep Button (CM) [SLPB]
[4469820.954000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[4469821.002000] input: TPPS/2 IBM TrackPoint as /class/input/input30

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
02-26-06 23:24 cull           Note Edited: 0008204                         
03-01-06 03:41 cull           Note Added: 0008264                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-02-26 15:31 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-02-26 15:31 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              02-26-2006 16:31 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 rlrevell - 02-26-06 04:44 
----------------------------------------------------------------------
So you are using suspend2 to suspend?  That's completely different.

What happens if you suspend the normal way?

----------------------------------------------------------------------
 cull - 02-26-06 16:31 
----------------------------------------------------------------------
Disabling suspend2 does not seem to make any difference. 
Well, it does sleep using ACPI anyway, but with additional scripts (I use
it since it allowes one to kill all application that use sound before
sleep/suspend)
Anyway, here are dmesg that I get with ACPI sleep without suspend2:

[4294858.354000] ACPI: PCI interrupt for device 0000:00:07.2 disabled
[4294861.984000] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[4294861.995000] ACPI: PCI interrupt for device 0000:00:02.1 disabled
[4294861.995000] ACPI: PCI interrupt for device 0000:00:02.0 disabled
[4294861.995000] Back to C!
[4294865.000000] WARNING: Interrupts reenabled while resuming sysdev class
speci
[4294865.000000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI
11 (l
[4294865.031000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI
11 (l
[4294865.073000] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI
11 (l
[4294865.073000] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI
11 (l
[4294867.358000] e100: Intel(R) PRO/100 Network Driver, 3.4.14-k4-NAPI
[4294867.358000] e100: Copyright(c) 1999-2005 Intel Corporation
[4294867.370000] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKC] -> GSI
11 (l
[4294867.469000] e100: eth0: e100_probe: addr 0xe8120000, irq 11, MAC addr
00:03
[4294867.514000] USB Universal Host Controller Interface driver v2.3
[4294867.579000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI
11 (l
[4294867.579000] uhci_hcd 0000:00:07.2: UHCI Host Controller
[4294867.644000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned
bus num
[4294867.644000] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001860
[4294867.660000] hub 1-0:1.0: USB hub found
[4294867.661000] hub 1-0:1.0: 2 ports detected
[4294868.035000] usb 1-1: new low speed USB device using uhci_hcd and
address 2
[4294868.074000] e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
[4294868.252000] input: Logitech USB Mouse as /class/input/input4
[4294868.265000] input: USB HID v1.10 Mouse [Logitech USB Mouse] on
usb-0000:00:
[4294869.085000] ACPI: AC Adapter [AC] (on-line)
[4294869.156000] ACPI: Battery Slot [BAT0] (battery present)
[4294869.753000] ACPI: Power Button (FF) [PWRF]
[4294869.753000] ACPI: Lid Switch [LID]
[4294869.754000] ACPI: Sleep Button (CM) [SLPB]
[4294869.876000] ACPI: Thermal Zone [THM0] (59 C)
[4294869.931000] ibm_acpi: IBM ThinkPad ACPI Extras v0.12a
[4294869.931000] ibm_acpi: http://ibm-acpi.sf.net/
[4294869.932000] ibm_acpi: dock device not present
[4294878.466000] eth0: no IPv6 routers present

the sound doesn't come up after suspend, rmmod modprobe enables it as
before.
I have also enabled debug mode when configured alsa (--with-debug=full).
This gives me some more messages when I try to sleep while playing some
audio (in xmms or xine). Those messages appear right after I start to
resume:

[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200
[4295810.805000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/acore/../alsa-kernel/core/pcm_lib.c:157:
BUG: stream = 0, pos = 0x12fb29a, buffer size = 0x4000, period size =
0x200

Note that I get no sound after resume regardless whether the sound device
is used or not - it suffices if the module snd_cs46xx is loaded.

Just an observation: I tried to figure out what has been changed since
v.1.0.10, however, I noticed that the content of
alsa-driver-1.0.****/pci/cs46xx/ is identical in v.1.0.10, v.1.0.11rc1 and
v.1.0.11rc3.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
02-26-06 16:31 cull           Note Added: 0008204                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-02-26  3:44 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-02-26  3:44 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              02-26-2006 04:44 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 cull - 02-26-06 04:24 
----------------------------------------------------------------------
To be more precise, here is what I get in dmesg during suspend to ram (I
use ACPI with suspend2 configs):

[4297745.567000] uhci_hcd 0000:00:07.2: remove, state 1
[4297745.568000] usb usb1: USB disconnect, address 1
[4297745.568000] usb 1-1: USB disconnect, address 2
[4297746.100000] uhci_hcd 0000:00:07.2: USB bus 1 deregistered
[4297746.138000] ACPI: PCI interrupt for device 0000:00:07.2 disabled
[4297750.517000] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[4297750.528000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[4297750.540000] ACPI: PCI interrupt for device 0000:00:02.1 disabled
[4297750.540000] ACPI: PCI interrupt for device 0000:00:02.0 disabled
[4297750.540000] Back to C!
[4297755.544000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4297755.576000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI
11 (level, low) -> IRQ 11
[4297755.654000] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI
11 (level, low) -> IRQ 11
[4297755.654000] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4297757.644000] e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
[4297757.709000] USB Universal Host Controller Interface driver v2.3
[4297757.722000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI
11 (level, low) -> IRQ 11
[4297757.722000] uhci_hcd 0000:00:07.2: UHCI Host Controller
[4297757.770000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned
bus number 1
[4297757.770000] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001860
[4297757.785000] hub 1-0:1.0: USB hub found
[4297757.786000] hub 1-0:1.0: 2 ports detected
[4297757.957000] ACPI: Power Button (FF) [PWRF]
[4297757.958000] ACPI: Lid Switch [LID]
[4297757.958000] ACPI: Sleep Button (CM) [SLPB]
[4297758.123000] usb 1-1: new low speed USB device using uhci_hcd and
address 2
[4297758.317000] input: Logitech USB Mouse as /class/input/input12
[4297758.333000] input: USB HID v1.10 Mouse [Logitech USB Mouse] on
usb-0000:00:07.2-1
[4297759.066000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[4297759.116000] input: TPPS/2 IBM TrackPoint as /class/input/input13

this appears in dmesg after I do rmmod snd_cs46xx:

[4297976.326000] ACPI: PCI interrupt for device 0000:00:05.0 disabled

and after modprobe snd_cs46xx I get:

[4298142.329000] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4298142.329000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/pci/cs46xx/../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:3824:
Activating CLKRUN hack for Thinkpad.
[4298142.899000] gameport: CS46xx Gameport is pci0000:00:05.0/gameport0,
speed 1864kHz

my hardware (thinkpad T21):

$ cat /proc/asound/cards 
 0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                      Sound Fusion CS46xx at 0xe8122000/0xe8000000, irq
11

$ lspci 
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
0000:00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:03.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 0c)
0000:00:03.1 Serial controller: Lucent Microelectronics LT WinModem (rev
01)
0000:00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
[CrystalClear SoundFusion Audio Accelerator] (rev 01)
0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
0000:01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV
(rev 13)

Soft: Ubuntu breezy, kernel 2.6.15 with some patches (suspend2, CK)

----------------------------------------------------------------------
 rlrevell - 02-26-06 04:44 
----------------------------------------------------------------------
So you are using suspend2 to suspend?  That's completely different.

What happens if you suspend the normal way?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
02-26-06 04:44 rlrevell       Note Added: 0008195                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-02-26  3:24 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-02-26  3:24 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              02-26-2006 04:24 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 cull - 02-26-06 03:52 
----------------------------------------------------------------------
Hi, I have tried the latest 1.0.11rc3, but the the sound after suspend
still doesn't work. No strange messages in dmesg during suspend. rmmod +
modprobe get sound back. :(

----------------------------------------------------------------------
 cull - 02-26-06 04:24 
----------------------------------------------------------------------
To be more precise, here is what I get in dmesg during suspend to ram (I
use ACPI with suspend2 configs):

[4297745.567000] uhci_hcd 0000:00:07.2: remove, state 1
[4297745.568000] usb usb1: USB disconnect, address 1
[4297745.568000] usb 1-1: USB disconnect, address 2
[4297746.100000] uhci_hcd 0000:00:07.2: USB bus 1 deregistered
[4297746.138000] ACPI: PCI interrupt for device 0000:00:07.2 disabled
[4297750.517000] ACPI: PCI interrupt for device 0000:00:05.0 disabled
[4297750.528000] ACPI: PCI interrupt for device 0000:00:03.0 disabled
[4297750.540000] ACPI: PCI interrupt for device 0000:00:02.1 disabled
[4297750.540000] ACPI: PCI interrupt for device 0000:00:02.0 disabled
[4297750.540000] Back to C!
[4297755.544000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4297755.576000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI
11 (level, low) -> IRQ 11
[4297755.654000] ACPI: PCI Interrupt 0000:00:03.1[A] -> Link [LNKC] -> GSI
11 (level, low) -> IRQ 11
[4297755.654000] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4297757.644000] e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
[4297757.709000] USB Universal Host Controller Interface driver v2.3
[4297757.722000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI
11 (level, low) -> IRQ 11
[4297757.722000] uhci_hcd 0000:00:07.2: UHCI Host Controller
[4297757.770000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned
bus number 1
[4297757.770000] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001860
[4297757.785000] hub 1-0:1.0: USB hub found
[4297757.786000] hub 1-0:1.0: 2 ports detected
[4297757.957000] ACPI: Power Button (FF) [PWRF]
[4297757.958000] ACPI: Lid Switch [LID]
[4297757.958000] ACPI: Sleep Button (CM) [SLPB]
[4297758.123000] usb 1-1: new low speed USB device using uhci_hcd and
address 2
[4297758.317000] input: Logitech USB Mouse as /class/input/input12
[4297758.333000] input: USB HID v1.10 Mouse [Logitech USB Mouse] on
usb-0000:00:07.2-1
[4297759.066000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[4297759.116000] input: TPPS/2 IBM TrackPoint as /class/input/input13

this appears in dmesg after I do rmmod snd_cs46xx:

[4297976.326000] ACPI: PCI interrupt for device 0000:00:05.0 disabled

and after modprobe snd_cs46xx I get:

[4298142.329000] ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4298142.329000] ALSA
/usr/src/alsa/1.0.11rc3/alsa-driver-1.0.11rc3/pci/cs46xx/../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:3824:
Activating CLKRUN hack for Thinkpad.
[4298142.899000] gameport: CS46xx Gameport is pci0000:00:05.0/gameport0,
speed 1864kHz

my hardware (thinkpad T21):

$ cat /proc/asound/cards 
 0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                      Sound Fusion CS46xx at 0xe8122000/0xe8000000, irq
11

$ lspci 
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
0000:00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:03.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 0c)
0000:00:03.1 Serial controller: Lucent Microelectronics LT WinModem (rev
01)
0000:00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
[CrystalClear SoundFusion Audio Accelerator] (rev 01)
0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
0000:01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV
(rev 13)

Soft: Ubuntu breezy, kernel 2.6.15 with some patches (suspend2, CK)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
02-26-06 04:24 cull           Note Added: 0008194                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2006-02-26  2:52 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2006-02-26  2:52 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              02-26-2006 03:52 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 jdthood - 12-13-05 22:06 
----------------------------------------------------------------------
Actually, try 1.0.11rc1 since the changelog reports that cs46xx PM is
fixed.  :)

----------------------------------------------------------------------
 cull - 02-26-06 03:52 
----------------------------------------------------------------------
Hi, I have tried the latest 1.0.11rc3, but the the sound after suspend
still doesn't work. No strange messages in dmesg during suspend. rmmod +
modprobe get sound back. :(

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
12-13-05 22:06 jdthood        Note Added: 0007025                          
02-26-06 03:52 cull           Note Added: 0008193                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2005-12-13 11:49 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2005-12-13 11:49 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              12-13-2005 12:49 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 rlrevell - 03-23-05 00:39 
----------------------------------------------------------------------
Make sure to turn off all "Fast Boot" BIOS options on Thinkpads.  Otherwise
you may have bizarre sound problems.  This advice is from Alan Cox.

----------------------------------------------------------------------
 jdthood - 12-13-05 12:49 
----------------------------------------------------------------------
klausr: Does cs46xx suspend-'n'-resume work properly in 1.0.10?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
03-28-05 15:42 sboehler       Issue Monitored: sboehler                    
06-20-05 01:59 tromer         Issue Monitored: tromer                      
12-12-05 11:12 bheung         Issue Monitored: bheung                      
12-13-05 12:49 jdthood        Note Added: 0007003                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2005-03-22 23:39 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2005-03-22 23:39 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              03-23-2005 00:39 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 jdthood - 01-17-05 10:57 
----------------------------------------------------------------------
> one difference though. with alsa output plugin when i press pause in xmms
to
> pause music pressing pause again does not work.

This is probably a separate bug.  See
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=495, for example.

Note that this bug (re: snd-cs46xx not working after suspend-'n'-resume)
can probably be merged with ALSA bug
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=226.

----------------------------------------------------------------------
 rlrevell - 03-23-05 00:39 
----------------------------------------------------------------------
Make sure to turn off all "Fast Boot" BIOS options on Thinkpads.  Otherwise
you may have bizarre sound problems.  This advice is from Alan Cox.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
03-23-05 00:39 rlrevell       Note Added: 0004145                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2005-03-22 14:02 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2005-03-22 14:02 UTC (permalink / raw)
  To: alsa-devel


The issue 0000226 has been set as DUPLICATE OF the following issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              01-17-2005 10:57 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0000226 Sound hangs after APM resume
======================================================================

----------------------------------------------------------------------
 tiwai - 05-25-04 15:02 
----------------------------------------------------------------------
try ALSA 1.0.5-rc1.

----------------------------------------------------------------------
 klausr - 05-25-04 15:31 
----------------------------------------------------------------------
Ups, I'm running Debian testing which should be Sarge and not Woody.

Will try 1.0.5-rc1. Do I need only the new kernel modules or also the
utils/libs etc.?

----------------------------------------------------------------------
 klausr - 05-25-04 15:59 
----------------------------------------------------------------------
just compiled 1.0.5-rc1 (configure, make, make install) and rebooted

after reboot I see this message in syslog

May 25 15:34:58 sagitta kernel: ALSA
/home/klaus/download/alsa/alsa-driver-1.0.5
rc1/alsa-kernel/pci/cs46xx/cs46xx_lib.c:3944: Activating CLKRUN hack for
Thinkpa
d.

Unfortunately suspend/resume still stops sound.

After closing xmms, rmmod snd_cs46xx, modprobe snd_cs46xx and
/etc/init.d/alsa start (to restore alsa mixer settings) I can run xmms
again and hear sound.

----------------------------------------------------------------------
 tiwai - 05-25-04 16:05 
----------------------------------------------------------------------
did you update alsa-lib, too?

----------------------------------------------------------------------
 klausr - 05-25-04 16:56 
----------------------------------------------------------------------
Just did configure; make install on alsa-lib-1.0.5rc1. Not sure if that did
it, though. How can I check which libs are used?

One other thing, probably not related (but who knows).

When I close the notebook I can hear some distortion. It sounds like a
"hang" for about half a second and then the music continues. Same happens
on opening the notebook.

edited on: 05-25-04 16:56

----------------------------------------------------------------------
 tiwai - 05-28-04 17:08 
----------------------------------------------------------------------
the installation procedure looks ok.

which xmms output plugin is used?  if it's ALSA plugin, try
OSS plugin, or vice versa.
Do you have any kernel message related with ALSA after suspend/resume?

----------------------------------------------------------------------
 klausr - 05-29-04 09:36 
----------------------------------------------------------------------
sound hangs with both output plugins, alsa and oss. in both cases sound is
back after closing xmms, unloading snd-cs46xx module and loading it
again.

one difference though. with alsa output plugin when i press pause in xmms
to pause music pressing pause again does not work. the playing just does
not start. i have to press play, then the playing starts again but from
the beginning of the title.

with oss output plugin it works as expected. pressing pause pauses
playing. pressing pause again resumes playing at the position it was when
pausing.

regards
klaus

----------------------------------------------------------------------
 jdthood - 01-17-05 10:57 
----------------------------------------------------------------------
> one difference though. with alsa output plugin when i press pause in xmms
to
> pause music pressing pause again does not work.

This is probably a separate bug.  See
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=495, for example.

Note that this bug (re: snd-cs46xx not working after suspend-'n'-resume)
can probably be merged with ALSA bug
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=226.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
03-22-05 15:02 jdthood        Relationship added       has duplicate 0000226
======================================================================




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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM)
@ 2005-01-17  9:57 bugtrack
  0 siblings, 0 replies; 15+ messages in thread
From: bugtrack @ 2005-01-17  9:57 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=305> 
======================================================================
Reported By:                klausr
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   305
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             Debian kernel 2.6.5-4-686
======================================================================
Date Submitted:             05-25-2004 14:49 CEST
Last Modified:              01-17-2005 10:57 CET
======================================================================
Summary:                    sound is locked up after suspend/resume (APM)
Description: 
Until recently I was running oss driver cs46xx without a problem. I could
suspend in the middle of playback and xmms would keep playing after resume
as if nothing happend at all.
After switching to the 2.6 kernel, currently running 2.6.5, I also
switched to ALSA beeing the new sound architecture of choice.
Unforunately now when I suspend and resume my notebook sound stops working
at all. Sometimes unloading all ALSA modules helps, sometimes even that is
not possible anymore.
======================================================================

----------------------------------------------------------------------
 klausr - 05-29-04 09:36 
----------------------------------------------------------------------
sound hangs with both output plugins, alsa and oss. in both cases sound is
back after closing xmms, unloading snd-cs46xx module and loading it
again.

one difference though. with alsa output plugin when i press pause in xmms
to pause music pressing pause again does not work. the playing just does
not start. i have to press play, then the playing starts again but from
the beginning of the title.

with oss output plugin it works as expected. pressing pause pauses
playing. pressing pause again resumes playing at the position it was when
pausing.

regards
klaus

----------------------------------------------------------------------
 jdthood - 01-17-05 10:57 
----------------------------------------------------------------------
> one difference though. with alsa output plugin when i press pause in xmms
to
> pause music pressing pause again does not work.

This is probably a separate bug.  See
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=495, for example.

Note that this bug (re: snd-cs46xx not working after suspend-'n'-resume)
can probably be merged with ALSA bug
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=226.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-25-04 14:49 klausr         New Issue                                    
05-25-04 14:49 klausr         Kernel Version            => Debian kernel
2.6.5-4-686
05-25-04 15:02 tiwai          Note Added: 0001213                          
05-25-04 15:31 klausr         Note Added: 0001215                          
05-25-04 15:59 klausr         Note Added: 0001217                          
05-25-04 16:02 klausr         Issue Monitored: klausr                      
05-25-04 16:05 tiwai          Note Added: 0001218                          
05-25-04 16:44 klausr         Note Added: 0001220                          
05-25-04 16:56 klausr         Note Edited: 0001220                         
05-27-04 08:49 klausr         Issue End Monitor: klausr                    
05-28-04 17:08 tiwai          Note Added: 0001269                          
05-29-04 09:36 klausr         Note Added: 0001276                          
01-17-05 10:57 jdthood        Note Added: 0003226                          
======================================================================




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-03-01  3:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 21:06 [ALSA - driver 0000305]: sound is locked up after suspend/resume (APM) bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-03-01  3:53 bugtrack
2006-03-01  3:45 bugtrack
2006-03-01  3:14 bugtrack
2006-03-01  3:03 bugtrack
2006-03-01  2:50 bugtrack
2006-03-01  2:41 bugtrack
2006-02-26 15:31 bugtrack
2006-02-26  3:44 bugtrack
2006-02-26  3:24 bugtrack
2006-02-26  2:52 bugtrack
2005-12-13 11:49 bugtrack
2005-03-22 23:39 bugtrack
2005-03-22 14:02 bugtrack
2005-01-17  9:57 bugtrack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.