From owner-freebsd-questions@FreeBSD.ORG Fri Jan 27 03:57:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16F6616A420 for ; Fri, 27 Jan 2006 03:57:53 +0000 (GMT) (envelope-from rambiusparkisanius@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DECE43D49 for ; Fri, 27 Jan 2006 03:57:52 +0000 (GMT) (envelope-from rambiusparkisanius@gmail.com) Received: by zproxy.gmail.com with SMTP id o1so538560nzf for ; Thu, 26 Jan 2006 19:57:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=j+k3NdLBlyWuoiIUSR2B6q5K+eCw6dY5prHyp1SXkuGWGwWN2nlOHoLIQuBSGndLTct3ArIgZ9U1wPbBXW1HiIc+Qr5B60FpaACCPIvYoKDrMmx6bU5Pm8hyy5Z7LgJpd8QqFT+GuVMsezAH2JkJaCNiiyjyH3CqAHE70EHB8cU= Received: by 10.65.211.12 with SMTP id n12mr1020402qbq; Thu, 26 Jan 2006 19:57:44 -0800 (PST) Received: by 10.65.103.20 with HTTP; Thu, 26 Jan 2006 19:57:44 -0800 (PST) Message-ID: <89ce7f740601261957p730194bfs128296cbb1055dc6@mail.gmail.com> Date: Fri, 27 Jan 2006 05:57:44 +0200 From: "Ivan \"Rambius\" Ivanov" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Setting up Sound Blaster Pro card 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: Fri, 27 Jan 2006 03:57:53 -0000 Dear Colleagues, I am trying to set up my sound card and I am finding some difficulties. First, here is the description of the hardware. I use Acer TravelMate 4060 laptop with 512 MB RAM with Intel Chipset 915GM. The Audio Section taken directly from the laptop's user guide is: Audio system with two built-in speakers Built-in microphone Sound Blaster Pro and MS Sound compatible. Second, the FreeBSD version is $ uname -a FreeBSD petya.myhome.westell.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Jan 27 03:08:18 EET 2006 =20 root@petya.myhome.westell.com:/usr/obj/usr/src/sys/CUSTOM20060127=20 i386 The only difference of my custom kernel and the generic one is that I added device atapicam to configure my CD burner. Next, here are my attempts of configuring the sound card. I read [1]=20 and I checked /usr/src/sys/conf/NOTES to find some clues which driver should be loaded. I also googled about "Sound Blaster Pro" + FreeBSD and found [2] and I concluded that I have to use snd_sbc, snd_sb8 and possibly snd_sb16. I added the following three lines to /boot/loader.conf snd_sbc_load=3D"YES" snd_sb8_load=3D"YES" snd_sb16_load=3D"YES" I then rebooted my machine and when it started I ran dmesg: $ dmesg | grep sound Preloaded elf module "/boot/kernel/sound.ko" at 0xc0ab82d8. $ dmesg | grep snd Preloaded elf module "/boot/kernel/snd_sb16.ko" at 0xc0ab8228. Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc0ab8384. Preloaded elf module "/boot/kernel/snd_sb8.ko" at 0xc0ab8430. kldstat shows Id Refs Address Size Name 1 13 0xc0400000 632618 kernel 2 1 0xc0a33000 4fc0 snd_sb16.ko 3 4 0xc0a38000 1d408 sound.ko 4 3 0xc0a56000 4934 snd_sbc.ko 5 1 0xc0a5b000 49ec snd_sb8.ko 6 16 0xc0a60000 568dc acpi.ko 7 1 0xc1e7a000 2000 blank_saver.ko 8 1 0xc1e90000 15000 linux.ko I also started pciconv -lv and the relevant section about audio is: none2@pci0:27:0: class=3D0x040300 card=3D0x008f1025 chip=3D0x2668808= 6 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' class =3D multimedia This makes me think that no driver is attached to the sound card. cat /dev/sndstat shows FreeBSD Audio Driver (newpcm) Installed devices: Also when I enter kde, it says that device /dev/dsp cannot be found and when I try to play an mp3 file with xmms, it shows a dialog titled "Cannot open video". I also tried with no success to build a custom kernel with by adding device sound device "snd_sb8" device "snd_sb16" Could you please help in finding the right configuration? If you need more information I will be happy to provide it. Thank you very much in advance Regards Ivan [1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.ht= ml [2]http://lists.freebsd.org/pipermail/freebsd-mobile/2005-February/005866.h= tml