From: Takashi Iwai Subject: Re: Re: How to enable bios-disabled soundcard? Date: Thu, 18 May 2006 17:54:19 +0200 Message-ID: References: <20060518151520.GA32572@rhlx01.fht-esslingen.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20060518151520.GA32572@rhlx01.fht-esslingen.de> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Andreas Mohr Cc: Meelis Roos , Linux Kernel list , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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 ------------------------------------------------------- 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