Hi
I have tried to enable sound on my DELL Dimension 2400 desktop with my recently installed PC-BSD (FreeBSD v6.1).
I tried to follow the recomendations posted on this and other sites but without I had no success.
With some audio SW I can get the CD player working but no sound can be heard. The following is a listing that might be useful in fixing this problem.
Thx for any hints.
=============
Kaffeine Player (0.8.1 - KDE 3.5.3) message:
Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'cdda'.
PCBSD# kldstat
Id Refs Address Size Name
1 15 0xc0400000 730b2c kernel
3 2 0xc0b3c000 1af50 linux.ko
4 1 0xc0b57000 5ec0 snd_ich.ko
5 2 0xc0b5d000 22ae8 sound.ko
6 1 0xc0b80000 58554 acpi.ko
7 1 0xc29b1000 a000 ntfs.ko
8 1 0xc29e0000 6000 linprocfs.ko
9 1 0xc29ed000 4000 logo_saver.ko
...
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Playing
cdda://1.
Found Audio CD with 10 tracks
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm

cm (Uncompressed PCM)
================================================== ========================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback...
ANS_LENGTH=0
===== PAUSE =====
...
PCBSD# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xfeb7fa00, 0xfeb7f900 irq 17 bufsz 16384 kld snd_ich (1p/1r/4v channels duplex default)
...
PCBSD# less /var/run/dmesg.boot
Copyright (c) 1992-2006 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 6.1-RELEASE-p2 #1: Thu Jul 6 11:31:02 PDT 2006
root@PCBSD.localhost:/usr/obj/usr/src/sys/PCBSDv1.2
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.20GHz (2193.54-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE
36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PB E>
Features2=0x4400<CNTX-ID,<b14>>
real memory = 259473408 (247 MB)
avail memory = 244416512 (233 MB)
ACPI APIC Table: <DELL 2400 >
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <DELL 2400 > on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
drmsub0: <Intel i845G GMCH> mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at devic
e 2.0 on pci0
error: [drm

id0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
device_attach: drmsub0 attach returned 12
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xff80-0xff9f irq 16 at device 29.0
on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xff60-0xff7f irq 19 at device 29.1
on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xff40-0xff5f irq 18 at device 29.2
on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xffa80800-0xffa80bff irq 23 at de
vice 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0xde00-0xdeff mem 0xfe9edf00-0xfe9edfff irq 16 at dev
ice 4.0 on pci1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:e0:7d:fd:81:7e
pci1: <simple comms> at device 5.0 (no driver attached)
pci1: <multimedia, audio> at device 6.0 (no driver attached)
pci1: <input device> at device 6.1 (no driver attached)
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfe9ee000-0xfe9effff irq 17 at device 9.0 on pc
i1
miibus1: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus1
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:0b:db:b9:41:5e
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0x
ffaf mem 0xfeb7fc00-0xfeb7ffff irq 18 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0xee00-0xeeff,0xedc0-0xedff mem 0xfeb7fa00-0xfeb7fbff,0xf
eb7f900-0xfeb7f9ff irq 17 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <ECP parallel printer 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
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcb7ff,0xcb800-0xccfff,0xcd000-0xcffff 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
Timecounter "TSC" frequency 2193535460 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76293MB <Seagate ST380011A 3.16> at ata0-master UDMA100
acd0: DVDROM <SAMSUNG DVD-ROM SD-616T/F310> at ata1-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <SAMSUNG DVD-ROM SD-616T F310> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [177364 x 2048 byte records]
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone: got error 0x6 back
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone: got error 0x6 back
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone: got error 0x6 back
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone: got error 0x6 back
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone: got error 0x6 back
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone: got error 0x6 back
Trying to mount root from ufs:/dev/ad0s1a