Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 08:50:52 -0400
From:      "KN" <nienabk@fuse.net>
To:        <freebsd-multimedia@freebsd.org>
Subject:   No sound from second sound card
Message-ID:  <D20BADA2A2EF48CB862C92B1F33AFBB7@d9150>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR>

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: <Intel 82443LX (440 LX) host to PCI bridge> pcibus 0 on motherboard

pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard

pci0: <PCI bus> on pcib0

agp0: <Intel 82443LX (440 LX) host to PCI bridge> on hostb0

pcib1: <PCI-PCI bridge> at device 1.0 on pci0

pci1: <PCI bus> on pcib1

vgapci0: <VGA-compatible display> port 0xd800-0xd8ff mem
0xfd000000-0xfdffffff,0xfe8ff000-0xfe8fffff at device 0.0 on pci1

isab0: <PCI-ISA bridge> at device 7.0 on pci0

isa0: <ISA bus> on isab0

atapci0: <Intel PIIX4 UDMA33 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0

ata0: <ATA channel 0> on atapci0

ata0: [ITHREAD]

ata1: <ATA channel 1> on atapci0

ata1: [ITHREAD]

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xef80-0xef9f irq 9 at
device 7.2 on pci0

uhci0: [GIANT-LOCKED]

uhci0: [ITHREAD]

usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0

usb0: USB revision 1.0

uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0

uhub0: 2 ports with 2 removable, self powered

piix0: <PIIX Timecounter> port 0x440-0x44f at device 7.3 on pci0

Timecounter "PIIX" frequency 3579545 Hz quality 0

csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> 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: <CS461x PCM Audio> on csa0

pcm0: <Cirrus Logic CS4297A AC97 Codec>

pcm0: [GIANT-LOCKED]

pcm0: [ITHREAD]

sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xe800-0xe8ff mem
0xfebff000-0xfebfffff irq 10 at device 18.0 on pci0

sis0: Silicon Revision: DP83815D

miibus0: <MII bus> on sis0

ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0

ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

sis0: Ethernet address: 00:09:5b:04:3b:42

sis0: [ITHREAD]

pcm1: <AudioPCI ES1370> 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: <Playback: DAC1,DAC2 / Record: ADC>

pmtimer0 on isa0

orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0

atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0

atkbd0: <AT Keyboard> irq 1 on atkbdc0

kbd0 at atkbd0

atkbd0: [GIANT-LOCKED]

atkbd0: [ITHREAD]

fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0

fdc0: [FILTER]

ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0

ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode

ppbus0: <Parallel port bus> on ppc0

ppbus0: [ITHREAD]

plip0: <PLIP network interface> on ppbus0

lpt0: <Printer> on ppbus0

lpt0: Interrupt-driven port

ppi0: <Parallel I/O> on ppbus0

ppc0: [GIANT-LOCKED]

ppc0: [ITHREAD]

sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0

unknown: <PNP0c01> can't assign resources (memory)

unknown: <PNP0303> can't assign resources (port)

unknown: <PNP0c02> can't assign resources (port)

unknown: <PNP0501> can't assign resources (port)

unknown: <PNP0400> can't assign resources (port)

unknown: <PNP0700> can't assign resources (port)

Timecounter "TSC" frequency 501138329 Hz quality 800

Timecounters tick every 1.000 msec

hptrr: no controller detected.

ad0: 4126MB <Seagate ST34313A 3.23> at ata0-master UDMA33

ad2: 114473MB <WDC WD1200JB-00GVA0 08.02D08> at ata1-master UDMA33

acd0: CDRW <Hewlett-Packard CD-Writer cd12n/1.34> 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: <CS461x PCM Audio> 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: <AudioPCI ES1370> 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

 

 

 

 

 

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D20BADA2A2EF48CB862C92B1F33AFBB7>