Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[2.6.16-rc1 bug] alsa suspend/resume continues to fail for ens1370

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


patrizio.bassi at gmail

Jan 17, 2006, 5:35 AM

Post #1 of 3 (156 views)
Permalink
[2.6.16-rc1 bug] alsa suspend/resume continues to fail for ens1370

upgrading from 2.6.15-git5 to 2.6.16-rc1

anche compiling my ens1370 driver statically in kernel i still have
issues on saving/resuming
mixer volumes.

even applying this patch (inclused in lastest alsa-cvs snapshot)


--- a/sound/pci/ens1370.c 7 Dec 2005 11:13:55 -0000 1.91
+++ b/sound/pci/ens1370.c 10 Jan 2006 16:41:08 -0000
@@ -2061,6 +2061,13 @@
#ifdef CHIP1371
snd_ac97_suspend(ensoniq->u.es1371.ac97);
#else
+ /* try to reset AK4531 */
+ outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x02), ES_REG(ensoniq,
1370_CODEC));
+ inw(ES_REG(ensoniq, 1370_CODEC));
+ udelay(100);
+ outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x03), ES_REG(ensoniq,
1370_CODEC));
+ inw(ES_REG(ensoniq, 1370_CODEC));
+ udelay(100);
snd_ak4531_suspend(ensoniq->u.es1370.ak4531);
#endif
pci_set_power_state(pci, PCI_D3hot);



it fails with 0x660 errors.
i attach my dmesg.

Ready to test, as usual :)

--
Patrizio Bassi
www.patriziobassi.it
Attachments: rc_blight (14.4 KB)


tiwai at suse

Jan 17, 2006, 6:21 AM

Post #2 of 3 (150 views)
Permalink
Re: [2.6.16-rc1 bug] alsa suspend/resume continues to fail for ens1370 [In reply to]

At Tue, 17 Jan 2006 14:35:32 +0100,
Patrizio Bassi wrote:
>
> upgrading from 2.6.15-git5 to 2.6.16-rc1
>
> anche compiling my ens1370 driver statically in kernel i still have
> issues on saving/resuming
> mixer volumes.
>
> even applying this patch (inclused in lastest alsa-cvs snapshot)
>
>
> --- a/sound/pci/ens1370.c 7 Dec 2005 11:13:55 -0000 1.91
> +++ b/sound/pci/ens1370.c 10 Jan 2006 16:41:08 -0000
> @@ -2061,6 +2061,13 @@
> #ifdef CHIP1371
> snd_ac97_suspend(ensoniq->u.es1371.ac97);
> #else
> + /* try to reset AK4531 */
> + outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x02), ES_REG(ensoniq,
> 1370_CODEC));
> + inw(ES_REG(ensoniq, 1370_CODEC));
> + udelay(100);
> + outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x03), ES_REG(ensoniq,
> 1370_CODEC));
> + inw(ES_REG(ensoniq, 1370_CODEC));
> + udelay(100);
> snd_ak4531_suspend(ensoniq->u.es1370.ak4531);
> #endif
> pci_set_power_state(pci, PCI_D3hot);
>
>
>
> it fails with 0x660 errors.
> i attach my dmesg.
>
> Ready to test, as usual :)

Hm, and does this happen also when you build as modules?
Does the driver work again if you reload the module after resume?


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


patrizio.bassi at gmail

Jan 17, 2006, 6:22 AM

Post #3 of 3 (148 views)
Permalink
Re: [2.6.16-rc1 bug] alsa suspend/resume continues to fail for ens1370 [In reply to]

Takashi Iwai ha scritto:
> At Tue, 17 Jan 2006 14:35:32 +0100,
> Patrizio Bassi wrote:
>
>> upgrading from 2.6.15-git5 to 2.6.16-rc1
>>
>> anche compiling my ens1370 driver statically in kernel i still have
>> issues on saving/resuming
>> mixer volumes.
>>
>> even applying this patch (inclused in lastest alsa-cvs snapshot)
>>
>>
>> --- a/sound/pci/ens1370.c 7 Dec 2005 11:13:55 -0000 1.91
>> +++ b/sound/pci/ens1370.c 10 Jan 2006 16:41:08 -0000
>> @@ -2061,6 +2061,13 @@
>> #ifdef CHIP1371
>> snd_ac97_suspend(ensoniq->u.es1371.ac97);
>> #else
>> + /* try to reset AK4531 */
>> + outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x02), ES_REG(ensoniq,
>> 1370_CODEC));
>> + inw(ES_REG(ensoniq, 1370_CODEC));
>> + udelay(100);
>> + outw(ES_1370_CODEC_WRITE(AK4531_RESET, 0x03), ES_REG(ensoniq,
>> 1370_CODEC));
>> + inw(ES_REG(ensoniq, 1370_CODEC));
>> + udelay(100);
>> snd_ak4531_suspend(ensoniq->u.es1370.ak4531);
>> #endif
>> pci_set_power_state(pci, PCI_D3hot);
>>
>>
>>
>> it fails with 0x660 errors.
>> i attach my dmesg.
>>
>> Ready to test, as usual :)
>>
>
> Hm, and does this happen also when you build as modules?
> Does the driver work again if you reload the module after resume?
>
>
> Takashi
>
>
as module it works without reloading needed, but on suspend i still see
0x660 errors.

the problem is with built-in actually.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.