SB Audigy won't attach.

Jamie Bowden ragnar at sysabend.org
Thu Mar 27 12:35:44 PST 2003


I recently upgraded my old SB Live! to an SB Audigy.

Looking at /usr/src/sys/dev/sound/pci/emu10k1.c it looks like it should be
supported:

#define EMU10K1_PCI_ID  0x00021102
#define EMU10K2_PCI_ID  0x00041102

%pciconf -l
agp0 at pci0:0:0:  class=0x060000 card=0x80231043 chip=0x06911106 rev=0x02
hdr=0x00
pcib2 at pci0:1:0: class=0x060400 card=0x00000080 chip=0x85981106 rev=0x00
hdr=0x01
isab0 at pci0:4:0: class=0x060100 card=0x80231043 chip=0x06861106 rev=0x22
hdr=0x00
atapci0 at pci0:4:1:       class=0x01018a card=0x00000000 chip=0x05711106
rev=0x10 hdr=0x00
uhci0 at pci0:4:2: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x10
hdr=0x00
uhci1 at pci0:4:3: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x10
hdr=0x00
none0 at pci0:4:4: class=0x060000 card=0x00000000 chip=0x30571106 rev=0x30
hdr=0x00
bktr0 at pci0:9:0: class=0x040000 card=0x1200bd11 chip=0x036e109e rev=0x11
hdr=0x00
none1 at pci0:9:1: class=0x048000 card=0x1200bd11 chip=0x0878109e rev=0x11
hdr=0x00
ahc0 at pci0:11:0: class=0x010000 card=0x78819004 chip=0x81789004 rev=0x01
hdr=0x00
none2 at pci0:12:0:        class=0x040100 card=0x00511102 chip=0x00041102
rev=0x03 hdr=0x00
emujoy0 at pci0:12:1:      class=0x098000 card=0x00401102 chip=0x70031102
rev=0x03 hdr=0x00
fwohci0 at pci0:12:2:      class=0x0c0010 card=0x00101102 chip=0x40011102
rev=0x00 hdr=0x00
fxp0 at pci0:13:0: class=0x020000 card=0x00098086 chip=0x12298086 rev=0x05
hdr=0x00
nvidia0 at pci1:0:0:       class=0x030000 card=0x10471102 chip=0x015010de
rev=0xa3 hdr=0x00

Looks like the chip ID is correct, and the kernel is attaching to the 1394
and joystick ports on this card just fine.  It fails both preloading the
module and just letting the kernel try and detect it.  Does anyone have a
clue they can toss me?  Kernel config and dmesg follow.

-------------------------------------------------

%cat yakko

machine         i386
ident           yakko
maxusers        0

options         INCLUDE_CONFIG_FILE     # Include this file in kernel

cpu             I686_CPU                # aka Pentium Pro(tm)

options         NO_F00F_HACK

options         COMPAT_43

options         USER_LDT                #allow user-level control of i386
ldt

# System V shared memory and tunable parameters
options         SYSVSHM         # include support for shared memory

# System V semaphores and tunable parameters
options         SYSVSEM         # include support for semaphores

# System V message queues and tunable parameters
options         SYSVMSG         # include support for message queues

# Allow ordinary users to take the console - this is useful for X.
options         UCONSOLE

options         INET                    #Internet communications protocols

pseudo-device   ether                   #Generic Ethernet
pseudo-device   loop                    #Network loopback device
pseudo-device   ppp     1               #Point-to-point protocol
pseudo-device   tun                     #Tunnel driver (ppp(8),
nos-tun(8))
options         PPP_BSDCOMP             #PPP BSD-compress support
options         PPP_DEFLATE             #PPP zlib/deflate/gzip support

options         MROUTING                # Multicast routing

options         ICMP_BANDLIM

# One of these is mandatory:
options         FFS                     #Fast filesystem

# The rest are optional:
options         PROCFS                  #Process filesystem

# Soft updates is technique for improving file system speed and
# making abrupt shutdown less risky.
options         SOFTUPDATES

device          scbus                   #base SCSI code
device          da                      #SCSI direct access devices (aka
disks)
device          sa                      #SCSI tapes
device          cd                      #SCSI CD-ROMs
device          pass                    #SCSI passthrough driver
device          pt                      #SCSI processor type

options         SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device

pseudo-device   pty             #Pseudo ttys
pseudo-device   speaker         #Play IBM BASIC-style noises out your
speaker
pseudo-device   gzip            #Exec gzipped a.out's


# Mandatory ISA devices: isa, npx
device          isa

# The keyboard controller; it controls the keyboard and the PS/2 mouse.
device          atkbdc0 at isa? port IO_KBD

# The AT keyboard
device          atkbd0  at atkbdc? irq 1

# PS/2 mouse
device          psm0    at atkbdc? irq 12

# The video card driver.
device          vga0    at isa?
device          agp

# To include support for VESA video modes
options         VESA

# Splash screen at start up!  Screen savers require this too.
pseudo-device   splash

# The syscons console driver (sco color console compatible).
device          sc0     at isa?
options         MAXCONS=8               # number of virtual consoles

device          npx0    at nexus? port IO_NPX irq 13

device          ata
device          atadisk         # ATA disk drives
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
device          atapist         # ATAPI tape drives

#options        ATA_ENABLE_ATAPI_DMA

options         IDE_DELAY=8000  # Be optimistic about Joe IDE device

device          sio0    at isa? port IO_COM1 irq 4
device          sio1    at isa? port IO_COM2 irq 3


# For PnP/PCI sound cards
device          pcm

device          apm0

device          joy0    at isa? port IO_GAME

device          pci
device          ahc     # AHA2940 and onboard AIC7xxx devices
options         AHC_ALLOW_MEMIO
device          fxp     # Intel EtherExpress PRO/100B (82557, 82558)
device          miibus
device          smbus   # Bus support, required for smb below.
device          iicbus  # Bus support, required for ic/iic/iicsmb below.
device          iicbb
device          bktr
options         OVERRIDE_TUNER=1
options         BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
device          ppc0    at isa? irq 7
device          ppbus
device          lpt

# Firewire support
device          firewire        # Firewire bus code
device          sbp             # SCSI over Firewire (Requires scbus and
da)
device          fwe             # Ethernet over Firewire (non-standard!)

# USB support
# UHCI controller
device          uhci
# OHCI controller
device          ohci
# General USB code (mandatory for USB)
device          usb
#
# Generic USB device driver
device          ugen
# Human Interface Device (anything with buttons and dials)
device          uhid
# USB keyboard
device          ukbd
# USB printer
device          ulpt
# USB Iomega Zip 100 Drive
device          umass
# USB modem support
device          umodem
# USB mouse
device          ums
# USB scanners
device          uscanner

--------------------------------------------------

%dmesg
Copyright (c) 1992-2003 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 4.8-RC #0: Thu Mar 27 12:43:54 EST 2003
    jamie at yakko:/usr/obj/usr/src/sys/yakko
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (850.04-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x621  Stepping = 1

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536788992 (524208K bytes)
avail memory = 517070848 (504952K bytes)
Preloaded elf kernel "kernel" at 0xc051a000.
Preloaded elf module "linux.ko" at 0xc051a09c.
Preloaded elf module "nvidia.ko" at 0xc051a13c.
Preloaded elf module "snd_emu10k1.ko" at 0xc051a1dc.
Preloaded elf module "snd_pcm.ko" at 0xc051a280.
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc03265a2 (1000022)
VESA: NVidia
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00f15e0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem
0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib2
nvidia0: <GeForce2 GTS> mem 0xd8000000-0xdfffffff,0xd4000000-0xd4ffffff
irq 11 at device 0.0 on pci1
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 4.2
on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 5 at device 4.3
on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhid0: Microsoft SideWinder Force Feedback 2 Joystick, rev 1.10/a.00, addr
2, iclass 3/0
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4
bktr0: <BrookTree 878> mem 0xd7000000-0xd7000fff irq 5 at device 9.0 on
pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus1: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
bktr0: Detected a MSP3451G-A2 at 0x80
bktr0: Pinnacle/Miro TV, Temic NTSC tuner, msp3400c stereo.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 9.1 irq 5
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xa400-0xa4ff mem
0xd3800000-0xd3800fff irq 10 at device 11.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
pci0: <unknown card> (vendor=0x1102, dev=0x0004) at 12.0 irq 11
fwohci0: vendor=1102, dev=4001
fwohci0: <1394 Open Host Controller Interface> mem
0xd2800000-0xd2803fff,0xd3000000-0xd30007ff irq 10 at device 12.2 on pci0
fwohci0: PCI bus latency is 32.
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:02:3c:00:21:04:db:0a
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3c:04:db:0a
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id = 0xc800ffc1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9400-0x941f mem
0xd2000000-0xd20fffff,0xd5800000-0xd5800fff irq 5 at device 13.0 on pci0
fxp0: Ethernet address 00:a0:c9:e1:6d:b0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem
0xc0000-0xcafff,0xcc000-0xcffff,0xd0000-0xd47ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <8 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
joy0 at port 0x201 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 19092MB <WDC WD200BB-00AUA1> [38792/16/63] at ata0-master UDMA66
ad1: 28629MB <WDC WD300BB-00AUA1> [58168/16/63] at ata0-slave UDMA66
afd0: 120MB <LS-120 VER5 00 UHD Floppy> [963/8/32] at ata1-master PIO3
Waiting 8 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da2s1a
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST34572N 0876> Fixed Direct Access SCSI-2 device
da2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da2: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST34371N 0484> Fixed Direct Access SCSI-2 device
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 4148MB (8496884 512 byte sectors: 255H 63S/T 528C)
cd1 at ahc0 bus 0 target 6 lun 0
cd1: <PLEXTOR CD-R   PX-R820T 1.08> Removable CD-ROM SCSI-2 device
cd1: 10.000MB/s transfers (10.000MHz, offset 8)
cd1: Attempt to query device size failed: NOT READY, Medium not present -
tray closed
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S71D> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <PLEXTOR CD-ROM PX-40TS 1.13> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: cd present [296141 x 2048 byte records]

-------------------------------------------------

This is the floppy controller (which worked in the past, not that it
matters as I don't have a floppy drive on this machine):

pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 4.4

This is the audio chip on the bt878:

pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 9.1 irq 5

The sound card is this line:

pci0: <unknown card> (vendor=0x1102, dev=0x0004) at 12.0 irq 11

Motherboard is an Asus K7V, bios rev 1007 (which was the last released for
this MB by Asus back in Aug. 2000).

Jamie Bowden

-- 
"It was half way to Rivendell when the drugs began to take hold"
Hunter S Tolkien "Fear and Loathing in Barad Dur"
Iain Bowen <alaric at alaric.org.uk>




More information about the freebsd-multimedia mailing list