mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to enable bios-disabled soundcard?
@ 2006-05-18 14:09 Meelis Roos
  2006-05-18 15:15 ` Andreas Mohr
  0 siblings, 1 reply; 4+ messages in thread
From: Meelis Roos @ 2006-05-18 14:09 UTC (permalink / raw)
  To: Linux Kernel list

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?

-- 
Meelis Roos (mroos@linux.ee)

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

* Re: How to enable bios-disabled soundcard?
  2006-05-18 14:09 How to enable bios-disabled soundcard? Meelis Roos
@ 2006-05-18 15:15 ` Andreas Mohr
  2006-05-18 15:54   ` [Alsa-devel] " Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Mohr @ 2006-05-18 15:15 UTC (permalink / raw)
  To: Meelis Roos; +Cc: Linux Kernel list, alsa-devel

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.

Andreas Mohr

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

* Re: [Alsa-devel] Re: How to enable bios-disabled soundcard?
  2006-05-18 15:15 ` Andreas Mohr
@ 2006-05-18 15:54   ` Takashi Iwai
  2006-05-18 21:39     ` Meelis Roos
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2006-05-18 15:54 UTC (permalink / raw)
  To: Andreas Mohr; +Cc: Meelis Roos, Linux Kernel list, alsa-devel

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

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

* Re: [Alsa-devel] Re: How to enable bios-disabled soundcard?
  2006-05-18 15:54   ` [Alsa-devel] " Takashi Iwai
@ 2006-05-18 21:39     ` Meelis Roos
  0 siblings, 0 replies; 4+ messages in thread
From: Meelis Roos @ 2006-05-18 21:39 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Andreas Mohr, Linux Kernel list, alsa-devel

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

-- 
Meelis Roos (mroos@linux.ee)

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

end of thread, other threads:[~2006-05-18 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-18 14:09 How to enable bios-disabled soundcard? Meelis Roos
2006-05-18 15:15 ` Andreas Mohr
2006-05-18 15:54   ` [Alsa-devel] " Takashi Iwai
2006-05-18 21:39     ` Meelis Roos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®