From owner-freebsd-current@FreeBSD.ORG Tue Dec 16 13:09:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8317816A4CE for ; Tue, 16 Dec 2003 13:09:44 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D542143D1D for ; Tue, 16 Dec 2003 13:09:40 -0800 (PST) (envelope-from sebastian.ssmoller@gmx.net) Received: (qmail 9290 invoked by uid 65534); 16 Dec 2003 21:09:38 -0000 Received: from pD9E83634.dip.t-dialin.net (EHLO [217.232.54.52]) (217.232.54.52) by mail.gmx.net (mp022) with SMTP; 16 Dec 2003 22:09:38 +0100 X-Authenticated: #15005775 From: sebastian ssmoller To: andy@triera.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1071609196.888.29.camel@tyrael.linnet> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 16 Dec 2003 21:13:16 +0000 Content-Transfer-Encoding: 7bit cc: Freebsd Current Subject: Re: acpi and sound X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2003 21:09:44 -0000 hi, thx for all ur hints, unfortunately none of it helped :( as i already wrote in one of my previous mails: - with or without acpi : no sound - witout acpi pccard does not work properly so disabling acpi is no option for me i tried kompiling pcm into there kernel and loading it as module : same result - it does not work i also tried sbc with doesnt work too for me - i still guess snd_ich should be the correct module - but doesnt work either. my system is asus m2400n laptop and my bios has nearly no option :( so i cannot tune anything there - i guess it is fully pnp bios i looked at /dev/sndstat - it always tells me the same : ---- FreeBSD Audio Driver (newpcm) Installed devices: ----- ... so no devices detected i guess finally today i looked into the handbook again and tried some hints written there: ----- 16.2.1.4 Generic Support For PnP ISA or PCI cards, you will need to add: device pcm to your kernel configuration file. If you have a non-PnP ISA sound card that does not have a bridge driver, you will need to add: device pcm0 at isa? irq 10 drq 1 flags 0x0 to your kernel configuration file. You may need to change the IRQ or the other settings to match your card. 16.2.1.5 Onboard Sound Some systems with built-in motherboard sound devices may require the following option in your kernel configuration: options PNPBIOS ---- unfortunately none of these worked for me: when setting pcm0 with parameters i get the error: devices with zero units are not likely to be correct when setting options PNPBIOS i get: unknown option "PNPBIOS" is this option removed in current ? if so one should update the handbook, or ? thx again for ur hints seb > Hi ! > > I have quite old version of notebook, Toshiba Sattelite 4000. So after install > of FBSD 5.1 sound didn't work. I tried everything I could to get it working. > Everything else did work PCMCIA and all other stuff, but no sound. So I > disabled ACPI (in device hints) and voila everything works. > > You need to set values in device.hints to values that represent your hardware. > There are two devices which you need in kernel. sbc (i think) and pcm. Sbc is > for Plug and Play and pcm (or other if you have other sound device). I tried > to set SBC first, but it seems that my harware is not fully PnP, it has to be > set in BIOS and from there on it's not PnP... So I set pcm in device hints, > instead of sbc. See if your computer has setting in BIOS where you can set > IRQ, Port, DMA, ..., if not your computer is fully PnP, which means using sbc > device. For more info see Handbook FreeBSD, Setting upo sounds. > > If you don't know if your device is working do > cat /dev/sndstat (or something like this), it will print oput the driver that > is setup for your sound device. > > I must warn you though.... If you don't disable ACPI you might not be able to > play sound at all. It seems that ACPI is still quite broken... > > Take care and let me know how it goes.. > Andy > > >