fm801 based sound card and FreeBSD5.2

Ruslan N. Gogunsci grint at
Mon Feb 23 02:20:10 PST 2004


I have fm801 based sound card(Genius SoundMaker),and my FreeBSD5.2 
doesn't recognised it. On FreeBSD5.1 i simple install fm801.c from
FreeBSD4.6, and it work. But on 5.2 i have kernel compilation errors
with fm801.c from 4.6
My dmesg:

Copyright (c) 1992-2004 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 5.2.1-RC2 #1: Sun Feb 22 18:13:51 MSK 2004
    root at
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0974000.
Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc09741f4.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc09742a8.
Preloaded elf module "/boot/kernel/agp.ko" at 0xc0974354.
Preloaded elf module "/boot/modules/nvidia.ko" at 0xc09743fc.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc09744a8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0974554.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) processor (805.40-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 251043840 (239 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdf00
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 7 INTC is routed to irq 3
pcib0: slot 9 INTA is routed to irq 9
pcib0: slot 11 INTA is routed to irq 10
pcib0: slot 11 INTA is routed to irq 10
pcib0: slot 12 INTA is routed to irq 11
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 11
pcib1: slot 0 INTA is routed to irq 11
nvidia0: <GeForce2 MX/MX 400> mem 0xe0000000-0xe7ffffff,0xec000000-0xecffffff irq 11 at device 0.0 on pci1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xc000-0xc00f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 10 at device 7.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
viapropm0: SMBus I/O base at 0x5000
viapropm0: <VIA VT82C686A Power Management Unit> port 0x5000-0x500f at device 7.4 on pci0
viapropm0: SMBus revision code 0x40
smbus0: <System Management Bus> on viapropm0
smb0: <SMBus generic I/O> on smbus0
pcm0: <VIA VT82C686A> port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 3 at device 7.5 on pci0
pcm0: <ICEnsemble ICE1232 AC97 Codec>
pci0: <multimedia, audio> at device 9.0 (no driver attached)
pci0: <input device> at device 9.1 (no driver attached)
bktr0: <BrookTree 878> mem 0xee000000-0xee000fff irq 10 at device 11.0 on pci0
bktr0: FlyVideo, Philips NTSC tuner.
pci0: <multimedia> at device 11.1 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xe000-0xe0ff mem 0xee002000-0xee0020ff irq 11 at device 12.0 on pci0
rl0: Ethernet address: 00:02:44:6b:b3:c2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 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
ppbus0: IEEE1284 device found /PS2
Probing for PnP devices on ppbus0:
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0
orm0: <Option ROMs> at iomem 0xd0000-0xd7fff,0xc0000-0xcc7ff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 805403777 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
GEOM: create disk ad0 dp=0xc2deec60
ad0: 76351MB <SAMSUNG SP0802N> [155127/16/63] at ata0-master UDMA100
acd0: CDRW <SAMSUNG CDRW/DVD SM-332B> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s3a
Warning: pid 719 used static ldt allocation.
See the i386_set_ldt man page for more info
netsmb_dev: loaded

My pciconf -lv:

agp0 at pci0:0:0:	class=0x060000 card=0x00000000 chip=0x03051106 rev=0x03 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8363/5 KT133/KM133 System Controller'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0:	class=0x060400 card=0x00000080 chip=0x83051106 rev=0x00 hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8363/5 Apollo KT133/KM133 PCI to AGP Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:7:0:	class=0x060100 card=0x00001106 chip=0x06861106 rev=0x40 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686/A/B "Super South" PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0 at pci0:7:1:	class=0x01018a card=0x00000000 chip=0x05711106 rev=0x06 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
uhci0 at pci0:7:2:	class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1a hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
viapropm0 at pci0:7:4:	class=0x068000 card=0x30571106 chip=0x30571106 rev=0x40 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686A/B ACPI Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
pcm0 at pci0:7:5:	class=0x040100 card=0x45111106 chip=0x30581106 rev=0x50 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686/A/B AC'97 Audio Codec'
    class    = multimedia
    subclass = audio
none0 at pci0:9:0:	class=0x040100 card=0x13191319 chip=0x08011319 rev=0xb2 hdr=0x00
    vendor   = 'Forte Media, Inc.'
    device   = 'FM801 Xwave PCI audio controller'
    class    = multimedia
    subclass = audio
none1 at pci0:9:1:	class=0x098000 card=0x13191319 chip=0x08021319 rev=0xb2 hdr=0x00
    vendor   = 'Forte Media, Inc.'
    device   = 'FM801 Xwave PCI Joystick'
    class    = input device
bktr0 at pci0:11:0:	class=0x040000 card=0x18501851 chip=0x036e109e rev=0x11 hdr=0x00
    vendor   = 'Brooktree Corporation'
    device   = 'Bt878 MediaStream Controller'
    class    = multimedia
    subclass = video
none2 at pci0:11:1:	class=0x048000 card=0x18501851 chip=0x0878109e rev=0x11 hdr=0x00
    vendor   = 'Brooktree Corporation'
    device   = 'Bt878/Fusion878A Video Capture (Audio Section)'
    class    = multimedia
rl0 at pci0:12:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/813x/C+) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
nvidia0 at pci1:0:0:	class=0x030000 card=0x12841458 chip=0x011010de rev=0xb2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'NV11 GeForce2 MX / MX 400'
    class    = display
    subclass = VGA

More information about the freebsd-stable mailing list