The sound card is a Creative Labs Sound Blaster emu10k1x. It seems that the FreeBSD drivers do not support this card and I have, therefore, installed OSS (from ports audio/oss).
This allows me to load the module emu10k1x.ko and now the kde "welcome" sound can be heard during bootup (whereas before it was just silence).
So, this is a promising start to getting sound working in FBSD but, alas, that's as far as it goes.
So, if I try to start the streaming radio app last.fm I get this message shortly after last.fm starts up:
Your soundcard is either busy or not present. Try restarting the application
If I try to play a CD in the cd drive using
Code: Select all
cdcontrol -f /dev/acd0 play 1
the CD starts normally and appears to play (flickering light) but no sound is heard.
Clearly, I need to configure oss to send the sound to an appropriate output device but have no clue how to do this.
Can someone please advise?
Here is some further info that might just shed some light on this:
1. Output from "# kldstat"
Code: Select all
Id Refs Address Size Name
1 14 0xc0400000 906518 kernel
2 1 0xc0d07000 4e1168 nvidia.ko
3 2 0xc11e9000 28658 linux.ko
4 1 0xc1212000 6a32c acpi.ko
5 3 0xc4810000 7d000 osscore.ko
6 1 0xc4896000 6000 emu10k1x.ko
7 1 0xc48a7000 2000 vmix.ko
2. Output from "# cat /dev/sndstat"
Code: Select all
OSS 4.0 (b1014/200803282359) BSD (C) 4Front Technologies 1996-2007
Kernel: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Audio devices:
0: Sound Blaster Live (P16X) (front) (DUPLEX)
1: Sound Blaster Live (P16X) (surround) (OUTPUT)
2: Sound Blaster Live (P16X) (center/LFE) (OUTPUT)
3: Sound Blaster Live (P16X) 5.1 output (OUTPUT)
4: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
5: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
6: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
7: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
8: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
9: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
10: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
11: Sound Blaster Live (P16X) (front) (VMIX0) (DUPLEX)
Mixers:
0: Sound Blaster Live (P16X) (STAC9708)
History:
/dev/oss/emu10k1x0/pcm0.00: pid 1366 cmd 'last.fm.app' IN OUT
/dev/oss/emu10k1x0/pcm0.00: pid 1366 cmd 'last.fm.app' OUT
/dev/oss/emu10k1x0/pcm0.00: pid 1366 cmd 'last.fm.app' OUT
/dev/oss/emu10k1x0/pcm0.00: pid 1366 cmd 'last.fm.app' OUT
/dev/oss/emu10k1x0/pcm0.00: pid 1009 cmd 'artsd' OUT
Typing "~ ossinfo" gives me
Code: Select all
# ossinfo
Version info: OSS 4.0 (b1014/200803282359) (0x00040003) BSD
Platform: FreeBSD/i386 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC (freebsd.unix)
Number of audio devices: 12
Number of audio engines: 12
Number of mixer devices: 1
Device objects
0: emu10k1x0 Sound Blaster Live (P16X)
1: vmix0 OSS transparent virtual support
Mixer devices
0: Sound Blaster Live (P16X) (STAC9M (Mixer 0 of device object 0)
Audio devices
Sound Blaster Live (P16X) (front) /dev/oss/emu10k1x0/pcm0 (device index 0)
Sound Blaster Live (P16X) (surround) /dev/oss/emu10k1x0/pcm1 (device index 1)
Sound Blaster Live (P16X) (center/LFE) /dev/oss/emu10k1x0/pcm2 (device index 2)
Sound Blaster Live (P16X) 5.1 output /dev/oss/emu10k1x0/pcm3 (device index 3)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm0 (device index 4)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm1 (device index 5)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm2 (device index 6)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm3 (device index 7)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm4 (device index 8)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm5 (device index 9)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm6 (device index 10)
Sound Blaster Live (P16X) (front) (VMIX0) /dev/oss/vmix0/pcm7 (device index 11)
Thanks in advance for any assistance received and please bear in mind that my experience with FBSD is no more than a few weeks.
Paul
[edit by cesium: remove spurious empty lines at end of message]