emu10kx SB Live 5.1 digital problem

Rick Mullis probsd at gmail.com
Sat Mar 17 17:33:34 UTC 2007


I have been following current for a few months now and everything is
working very good. Thanks to Hans the new USB is working flawless.

I need some help with sound though. I have been reading the current
maillists and searching google for a couple of weeks to fix the issue
but I have had no luck. My situation is this, I have a Creative Labs
SB Live 5.1 digital sound card (SB0220) but no sound. I don't know how
to enable digital mode only. When I ran earlier versions of FreeBSD, I
used the ports version of the driver and it worked great but after all
the work everyone has put into the new base driver I wanted to test
this. please help, here is my out put:

fbsd7# sysctl -a | egrep 'snd|pcm'
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
pcm0: detached
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_formats: 1
hw.snd.feeder_buffersize: 16384
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 4
hw.snd.default_unit: 0
dev.emu10kx.0._pcm_front_l: 100
dev.emu10kx.0._pcm_front_r: 100
dev.emu10kx.0._pcm_rec_l: 0
dev.emu10kx.0._pcm_rec_r: 0
dev.pcm.0.%desc: EMU10Kx DSP front PCM interface
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: emu10kx0
dev.pcm.0.eapd: 1
dev.pcm.0.buffersize: 65536
dev.pcm.0.vchans: 1
dev.pcm.0.vchanrate: 48000
dev.pcm.0.vchanformat: s16le

fbsd7# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit)
Installed devices:
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0 (4p/1r/1v channels
duplex default)

fbsd7# cat /dev/emu10kx0
FreeBSD EMU10Kx Audio Driver

Hardware resource usage:
DSP General Purpose Registers: 32 used, 256 total
DSP Instruction Registers: 52 used, 512 total
Card supports AC97 codec, SBLive! DSP code

Installed devices:
EMU10Kx DSP front PCM interface on pcm0
EMU10Kx MIDI Interface
        On-card connector on midi0
        IR reciever MIDI events enabled


fbsd7#dmesg
Copyright (c) 1992-2007 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-CURRENT #10: Fri Mar 16 17:30:34 CDT 2007
    rick at fbsd7.probsd:/usr/obj/usr/src/sys/MAIN
ACPI APIC Table: <INTEL  DG965RY >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (2407.21-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,XTPR,<b15>>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
usable memory = 4213706752 (4018 MB)
avail memory  = 4054458368 (3866 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <INTEL DG965RY> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
cpu1: <ACPI CPU> on acpi0
acpi_perf1: <ACPI CPU Frequency Control> on cpu1
acpi_perf1: failed in PERF_STATUS attach
device_attach: acpi_perf1 attach returned 6
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
acpi_perf1: <ACPI CPU Frequency Control> on cpu1
acpi_perf1: failed in PERF_STATUS attach
device_attach: acpi_perf1 attach returned 6
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem
0xe1000000-0xe1ffffff,0xd0000000-0xdfffffff,0xe0000000-0xe0ffffff irq
16 at device 0.0 on pci1
pci0: <simple comms> at device 3.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
0x30c0-0x30df mem 0xe2200000-0xe221ffff,0xe2224000-0xe2224fff irq 20
at device 25.0 on pci0
em0: Ethernet address: 00:16:76:ce:18:34
em0: [FILTER]
uhci0: <UHCI (generic) USB controller> port 0x30a0-0x30bf irq 16 at
device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x0f10
usb0: <UHCI (generic) USB controller> on uhci0
uhci1: <UHCI (generic) USB controller> port 0x3080-0x309f irq 21 at
device 26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0f10
usb1: <UHCI (generic) USB controller> on uhci1
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe2225400-0xe22257ff
irq 18 at device 26.7 on pci0
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
pci0: <multimedia> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib3
atapci0: <Marvell 88SX6101 UDMA133 controller> port
0x2018-0x201f,0x2024-0x2027,0x2010-0x2017,0x2020-0x2023,0x2000-0x200f
mem 0xe2100000-0xe21001ff irq 17 at device 0.0 on pci3
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
pcib4: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci6: <ACPI PCI bus> on pcib6
uhci2: <UHCI (generic) USB controller> port 0x3060-0x307f irq 23 at
device 29.0 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0f10
usb3: <UHCI (generic) USB controller> on uhci2
uhci3: <UHCI (generic) USB controller> port 0x3040-0x305f irq 19 at
device 29.1 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x0f10
usb4: <UHCI (generic) USB controller> on uhci3
uhci4: <UHCI (generic) USB controller> port 0x3020-0x303f irq 18 at
device 29.2 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x0f10
usb5: <UHCI (generic) USB controller> on uhci4
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xe2225000-0xe22253ff
irq 23 at device 29.7 on pci0
ehci1: [ITHREAD]
usb6: EHCI version 1.0
usb6: <EHCI (generic) USB 2.0 controller> on ehci1
pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci7: <ACPI PCI bus> on pcib7
emu10kx0: <Creative SBLive! 5.1 Digital [SB0220]> port 0x1000-0x101f
irq 21 at device 0.0 on pci7
emu10kx0: [ITHREAD]
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
midi0: <EMU10Kx MIDI Interface> on emu10kx0
emu10kx0: SB Live! IR MIDI events enabled.
pci7: <input device> at device 0.1 (no driver attached)
fwohci0: <Texas Instruments TSB43AB22/A> mem
0xe2004000-0xe20047ff,0xe2000000-0xe2003fff irq 19 at device 3.0 on
pci7
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:90:27:00:01:d5:11:f8
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:90:27:d5:11:f8
fwe0: Ethernet address: 02:90:27:d5:11:f8
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH8 SATA300 controller> port
0x3138-0x313f,0x314c-0x314f,0x3130-0x3137,0x3148-0x314b,0x3110-0x311f,0x3100-0x310f
irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
ata3: <ATA channel 0> on atapci1
ata3: [ITHREAD]
ata4: <ATA channel 1> on atapci1
ata4: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atapci2: <Intel ICH8 SATA300 controller> port
0x3128-0x312f,0x3144-0x3147,0x3120-0x3127,0x3140-0x3143,0x30f0-0x30ff,0x30e0-0x30ef
irq 19 at device 31.5 on pci0
atapci2: [ITHREAD]
ata5: <ATA channel 0> on atapci2
ata5: [ITHREAD]
ata6: <ATA channel 1> on atapci2
ata6: [ITHREAD]
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f0 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
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]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcefff,0xcf000-0xcffff,0xd0000-0xd0fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
Timecounters tick every 1.000 msec
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub0: 2 ports with 2 removable, self powered
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub1: 2 ports with 2 removable, self powered
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 127
uhub2: 4 ports with 4 removable, self powered
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub3: 2 ports with 2 removable, self powered
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub4: 2 ports with 2 removable, self powered
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub5: 2 ports with 2 removable, self powered
usb6: USB revision 2.0
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 127
uhub6: 6 ports with 6 removable, self powered
uhub7: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 126
uhub7: 4 ports with 4 removable, self powered
ulpt0: <Hewlett-Packard HP LaserJet 1022nw, class 0/0, rev 2.00/1.00, addr 125>
ulpt0: using bi-directional mode
umass0: <Sony Silicon Media R/W, class 0/0, rev 2.00/3.95, addr 124>
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:1:0:-1: Attached to scbus1
(probe0:umass-sim0:0:0:0): Uninitialized Transport 5:ffffffff?
acd0: DVDR <TSSTcorpCD/DVDW TS-H552B/TS04> at ata2-master UDMA33
acd1: CDROM <SONY CD-ROM CDU5212/5YS1> at ata2-slave UDMA33
acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
ad6: 239372MB <WDC WD2500YS-01SHB0 20.06C03> at ata3-master SATA150
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
(probe1:umass-sim0:0:0:1): Uninitialized Transport 5:7?
(probe0:umass-sim0:0:0:2): Uninitialized Transport 5:49534353?
(probe1:umass-sim0:0:0:3): Uninitialized Transport 5:49534353?
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <TSSTcorp CD/DVDW TS-H552B TS04> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
cd1 at ata0 bus 0 target 1 lun 0
cd1: <SONY CD-ROM CDU5212 5YS1> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Sony USB   HS-CF Card 3.95> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Sony USB   HS-xD/SM 3.95> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim0 bus 0 target 0 lun 2
da2: <Sony USB   HS-MS Card 3.95> Removable Direct Access SCSI-0 device
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
da3 at umass-sim0 bus 0 target 0 lun 3
da3: <Sony USB   HS-SD Card 3.95> Removable Direct Access SCSI-0 device
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad6s2a


If you need any other info I will supply it. Thanks in advance for your help.

Best regards,
Rick Mullis


More information about the freebsd-current mailing list