From owner-freebsd-multimedia@FreeBSD.ORG Tue Oct 21 13:05:56 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C26B10656A0 for ; Tue, 21 Oct 2008 13:05:56 +0000 (UTC) (envelope-from nienabk@fuse.net) Received: from mail-out2.fuse.net (mail-out2.fuse.net [216.68.8.171]) by mx1.freebsd.org (Postfix) with ESMTP id 3F42C8FC1D for ; Tue, 21 Oct 2008 13:05:56 +0000 (UTC) (envelope-from nienabk@fuse.net) X-CNFS-Analysis: v=1.0 c=1 a=PEl3GyVyMECxndE5qY//9Q==:17 a=c-xHzEzmhxaGZWgZKM4A:9 a=8cMTpiB590jdiAX1mkIA:7 a=MwagWQhgN3I8XRygXWIKSzCHFy8A:4 a=gi0PWCVxevcA:10 a=SSmOFEACAAAA:8 a=VMS8-eDjzWzAnMvg9IwA:9 a=KuODhXmhYqkRPeRVZlIA:7 a=b_nT_0u_F_W-kpvbquJldBJPBwEA:4 a=37WNUvjkh6kA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [74.215.236.85] ([74.215.236.85:60759] helo=d9150) by mail-out2.fuse.net (ecelerity 2.1.1.22 r(17669)) with ESMTP id E4/72-05606-D20DDF84 for ; Tue, 21 Oct 2008 08:50:54 -0400 From: "KN" To: Date: Tue, 21 Oct 2008 08:50:52 -0400 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 thread-index: Ackze6Z+0MoYiDO/THa3EkFB+DoUgg== Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: No sound from second sound card X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 13:05:56 -0000 I have two sound cards. One is integrated and the other is a Sound Blaster 128PCI. I want to use both sound cards and use them independently. It looks to me like both sound cards are recognized: $ dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 167772160 (160 MB) avail memory = 150163456 (143 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xd800-0xd8ff mem 0xfd000000-0xfdffffff,0xfe8ff000-0xfe8fffff at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xef80-0xef9f irq 9 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered piix0: port 0x440-0x44f at device 7.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 csa0: mem 0xfebfe000-0xfebfefff,0xfea00000-0xfeafffff irq 9 at device 11.0 on pci0 csa: card is Unknown/invalid SSID (CS4614) csa0: [GIANT-LOCKED] csa0: [ITHREAD] pcm0: on csa0 pcm0: pcm0: [GIANT-LOCKED] pcm0: [ITHREAD] sis0: port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 10 at device 18.0 on pci0 sis0: Silicon Revision: DP83815D miibus0: on sis0 ukphy0: PHY 0 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:09:5b:04:3b:42 sis0: [ITHREAD] pcm1: port 0xef00-0xef3f irq 11 at device 19.0 on pci0 pcm1: es1370_wrcodec: timed out pcm1: es1370_wrcodec: timed out pcm1: es1370_wrcodec: timed out pcm1: es1370_wrcodec: timed out pcm1: [ITHREAD] pcm1: pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FILTER] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 501138329 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. ad0: 4126MB at ata0-master UDMA33 ad2: 114473MB at ata1-master UDMA33 acd0: CDRW at ata1-slave UDMA33 Trying to mount root from ufs:/dev/ad0s1a sis0: Applying short cable fix (reg=8) sis0: Applying short cable fix (reg=e8) sis0: Applying short cable fix (reg=e8) sis0: Applying short cable fix (reg=e8) $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at irq 9 kld snd_csa [GIANT] (1p:1v/1r:1v channels duplex) [pcm0:play:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 14, underruns 0, feed 14, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000/48000, fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000008 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/128/32] {userland} -> feeder_root(0x00000008) -> feeder_8to16(0x00000008 -> 0x00000080) -> feeder_rate(8000 -> 48000) -> feeder_monotostereo16(0x00000080 -> 0x10000080) -> feeder_sign16(0x10000080 -> 0x10000010) -> {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2] {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) -> {userland} pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} pcm1: at io 0xef00 irq 11 kld snd_es137x [MPSAFE] (2p:1v/1r:1v channels duplex default) [pcm1:play:dsp1.p0]: spd 44100, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 0, underruns 0, feed 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> {hardware} [pcm1:play:dsp1.p1]: spd 44100/48000, fmt 0x10000010, flags 0x00000000, 0x00000008 interrupts 0, underruns 0, feed 0, ready 0 [b:4096/2048/2|bs:65536/2048/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm1:record:dsp1.r0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2] {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) -> {userland} pcm1:record:dsp1.r0[pcm1:virtual:dsp1.vr0]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] {hardware} -> feeder_root(0x00000000) -> {userland} $ mixer -f /dev/dsp0 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 90:90 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 75:75 Recording source: mic $ mixer -f /dev/dsp1 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer line2 is currently set to 0:0 Mixer line3 is currently set to 0:0 Recording source: mic I get noise when I $ cat .shrc > /dev/dsp0" But nothing when I $ cat .shrc > /dev/dsp1" Also, I have verified that the SoundBlaster 128PCI actually works by rebooting and disabling the integrated sound in BIOS. The card is recognized (but appears under dsp0) and I get noise when I $ cat .shrc > /dev/dsp0" What am I missing? Thanks, Kevin