Re: [Alsa-devel] Re: How to enable bios-disabled soundcard?

From: Takashi Iwai
Date: Thu May 18 2006 - 11:53:48 EST


At Thu, 18 May 2006 17:15:20 +0200,
Andreas Mohr wrote:
>
> Hi,
>
> [CC'ing ALSA list]
>
> On Thu, May 18, 2006 at 05:09:47PM +0300, Meelis Roos wrote:
> > Context: IBM X20 laptop with integrated PCI CS4281 soundcard. Loading
> > snd_cs4281 gives these messages and registers no alsa device:
> >
> > ACPI: PCI interrupt for device 0000:00:0b.0 disabled
> > CS4281: probe of 0000:00:0b.0 failed with error -5
> >
> > Error -5 seems to be -EIO.
> >
> > There is no option ib bios to enable/disable the soundcard and the bios
> > is almost the latest (2.23, latest 2.25 fixes only unrelated things by
> > changelog).
>
> The mail subject most likely is wrong, since the IRQ message above
> doesn't suggest a BIOS issue at all,
> since the message is most likely a result of calling snd_cs4281_free()
> in failure path, which disables this IRQ again.
>
> > lspci identifies the card as follows (pci ID is the same as in the
> > driver):
> > 0000:00:0b.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI
> > Audio (rev 01)
> >
> > I tried pci=routeirq. It distributed the interrupts differently but this
> > problem did remain.
>
> I believe that it's a simple hardware mismatch failure in the main probe
> function of this driver, nothing else.
>
> > So how can I enable the soundcard?
>
> The best way to find out is to edit snd_cs4281_probe() and add snd_printk()s
> at all error paths to find the one which actually fails.

The error EIO comes only from snd_cs4281_chip_init(), and you must
have a corresponding error message.

There are some fixes in 2.6.17 tree regarding cs4281. Give it a try.


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