From owner-freebsd-questions@FreeBSD.ORG Thu Nov 1 13:48:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE09416A418 for ; Thu, 1 Nov 2007 13:48:21 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id 910D813C4A7 for ; Thu, 1 Nov 2007 13:48:21 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1InZk1-0002Af-Se for freebsd-questions@freebsd.org; Thu, 01 Nov 2007 13:05:47 +0000 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1InZk1-0004It-25 for freebsd-questions@freebsd.org; Thu, 01 Nov 2007 13:05:45 +0000 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.1/8.14.1) with ESMTP id lA1D685A000777 for ; Thu, 1 Nov 2007 13:06:08 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.1/8.14.1/Submit) id lA1D68xY000776 for freebsd-questions@freebsd.org; Thu, 1 Nov 2007 13:06:08 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 1 Nov 2007 13:06:08 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20071101130608.GA706@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.3 X-Spam-Level: - Subject: sound: get sbc, but no pcm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 13:48:21 -0000 I'm trying to get a sound from my laptop. I can see the actual card in dmesg, but no audio framework driver (no pcm). hardware: i386 armada 1700 laptop sound: ESS 1869 16-bit Plug and Play (PnP) OS: FBSD 6.3-prerelease I checked that the sound is working using Compaq PC diagnostics floppy. I added device sound device snd_sbc device snd_sb16 to the kernel configuration file and hint.pcm.0.at="isa" hint.pcm.0.port="0x220" hint.pcm.0.irq="5" hint.pcm.0.drq="1" hint.pcm.0.flags="0x0" to /boot/device.hints. The port was set up using Compaq Setup for Portables floppy. I can see the card in dmesg as sbc0: unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) sbc0: at port 0x230-0x23f,0x388-0x38b,0x300-0x301 irq 5 drq 0,1 on isa0 sbc0: [GIANT-LOCKED] unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (memory) but I cannot see pcm, and /dev/sndstat is empty: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: # What am I missing? Are the "unknown" messages relevant? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423