2009-04-21 16:25:17

by Paul Rolland

[permalink] [raw]
Subject: linux-2.6.30-rc2 - No sound (HDA Intel) avec resume

Hello,

For the first time, I can successfully suspend/resume my Dell laptop using
linux 2.6.30-rc2.
Unfortunately, after resume, xmms stays silent. I've tried to change the
master channel, and everything I can access in the configuration, but no
luck.
All other devices are resuming correctly, including the video while running
X and compiz, so this is quite good.

Is there anything I can do to help on this issue ?

At boot time, I have :
Advanced Linux Sound Architecture Driver Version 1.0.19.
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:1b.0: setting latency timer to 64
ALSA device list:
#0: Dummy 1
#1: Virtual MIDI Card 1
#2: HDA Intel at 0xefebc000 irq 21

When suspending :
Apr 20 21:26:21 tux kernel: HDA Intel 0000:00:1b.0: PCI INT A disabled

When resuming :
Apr 20 21:26:21 tux kernel: HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21

Regards,
Paul


2009-04-21 16:29:18

by Takashi Iwai

[permalink] [raw]
Subject: Re: linux-2.6.30-rc2 - No sound (HDA Intel) avec resume

At Tue, 21 Apr 2009 18:24:48 +0200,
Paul Rolland wrote:
>
> Hello,
>
> For the first time, I can successfully suspend/resume my Dell laptop using
> linux 2.6.30-rc2.
> Unfortunately, after resume, xmms stays silent. I've tried to change the
> master channel, and everything I can access in the configuration, but no
> luck.

Are you using pulseaudio or direct ALSA or OSS access?


> All other devices are resuming correctly, including the video while running
> X and compiz, so this is quite good.
>
> Is there anything I can do to help on this issue ?
>
> At boot time, I have :
> Advanced Linux Sound Architecture Driver Version 1.0.19.
> HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> HDA Intel 0000:00:1b.0: setting latency timer to 64
> ALSA device list:
> #0: Dummy 1
> #1: Virtual MIDI Card 1
> #2: HDA Intel at 0xefebc000 irq 21
>
> When suspending :
> Apr 20 21:26:21 tux kernel: HDA Intel 0000:00:1b.0: PCI INT A disabled
>
> When resuming :
> Apr 20 21:26:21 tux kernel: HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21

Try the very latest Linus tree, as some fix patches have been merged
after rc2. If it still doesn't work, run alsa-info.sh with
--no-upload option before and after suspend, and attach the generated
files. The script is found at
http://www.alsa-project.org/alsa-info.sh


thanks,

Takashi

2009-04-21 19:12:22

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: linux-2.6.30-rc2 - No sound (HDA Intel) avec resume

On Tuesday 21 April 2009, Paul Rolland wrote:
> Hello,

Hi,

> For the first time, I can successfully suspend/resume my Dell laptop using
> linux 2.6.30-rc2.

That's great to know. :-)

> Unfortunately, after resume, xmms stays silent. I've tried to change the
> master channel, and everything I can access in the configuration, but no
> luck.
> All other devices are resuming correctly, including the video while running
> X and compiz, so this is quite good.
>
> Is there anything I can do to help on this issue ?
>
> At boot time, I have :
> Advanced Linux Sound Architecture Driver Version 1.0.19.
> HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> HDA Intel 0000:00:1b.0: setting latency timer to 64
> ALSA device list:
> #0: Dummy 1
> #1: Virtual MIDI Card 1
> #2: HDA Intel at 0xefebc000 irq 21
>
> When suspending :
> Apr 20 21:26:21 tux kernel: HDA Intel 0000:00:1b.0: PCI INT A disabled
>
> When resuming :
> Apr 20 21:26:21 tux kernel: HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21

That looks pretty usual.

Please attach dmesg output including a suspend-resume cycle and /proc/iomem.

Best,
Rafael

2009-04-22 06:49:50

by Paul Rolland

[permalink] [raw]
Subject: Re: linux-2.6.30-rc2 - No sound (HDA Intel) avec resume

Hello,

On Tue, 21 Apr 2009 18:29:01 +0200
Takashi Iwai <[email protected]> wrote:

> Are you using pulseaudio or direct ALSA or OSS access?
Alsa.


> Try the very latest Linus tree, as some fix patches have been merged
> after rc2. If it still doesn't work, run alsa-info.sh with
> --no-upload option before and after suspend, and attach the generated
> files. The script is found at
> http://www.alsa-project.org/alsa-info.sh

and

On Tue, 21 Apr 2009 21:11:19 +0200
"Rafael J. Wysocki" <[email protected]> wrote:

> Please attach dmesg output including a suspend-resume cycle
> and /proc/iomem.

I've been trying all your suggestions, but my machine is now refusing again
to resume, either using stock -rc2, or latest Linus's git tree...
Suspend is fine, resume seems fine, but the video is not restored anymore...

I've just seen -rc3 is out, I'll try to install it and have suspend/resume
working, and then I'll restart my HDA testing.

Thanks anyway for answering me !

Regards,
Paul