Skip to contentSkip to conversation

How to enable bios-disabled soundcard?

DISCUSSION Meelis Roos 3 participants 4 messages May 18, 2006

lore
Share & tools
lore
#0 lore raw

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

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 tried acpi=ogg and the ACPI line disappeared but probe failure stayed.

So how can I enable the soundcard?

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw

Hi,

[CC'ing ALSA list]

Quoted 11 lines · Meelis Roos

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.

Quoted 7 lines

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.

Quoted 1 line

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.

Andreas Mohr

#2 lore raw

At Thu, 18 May 2006 17:15:20 +0200,

Quoted 31 lines · Andreas Mohr

Hi,

[CC'ing ALSA list]

Quoted 11 lines · Meelis Roos

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.

Quoted 7 lines

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.

Quoted 7 lines

I believe that it's a simple hardware mismatch failure in the main probe function of this driver, nothing else.

Quoted 1 line

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

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw
Quoted 7 lines
Quoted 2 lines

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.

Yes! Todays 2.6.17-rc4+git works fine with this soundcard. Thanks!

Signature · 1 line
Meelis Roos ([email protected])