I migrated from PC-BSD to pure FreeBSD and sound is the last thing that needs fixing. On PC-BSD I just downloaded OSS and did pkg_add (I think from su mode) and
the card Aydiology SE was flawlessly detected and I had sound in all the medial players.
I am now using FreeBSD 6.2 Stable (Generic Kernel) Xorg 7.2 and Gnome 2.18. I compiled OSS from ports as a supper use.
I add oss_enable="YES" to rc.conf
and I also edited dvifs
own speaker root:operator
perm speaker 0666
and
perm /dev/dsp 0666
own /dev/oss root:operator
perm /dev/oss 0666
own /dev/pci1 root:operator
perm /dev/pci1 0666
perm /dev/mixer 0666
perm /dev/mixer0 0666
my ossinfo reads
[pedja@ /usr/home/Pedja]$ ossinfo
Version info: OSS 4.0 (build 070707/200708012238/C (0x00040002)
Platform: FreeBSD/i386 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Sun Jun 3 14:20:02 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
Number of audio devices: 9
Number of audio engines: 9
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: audigyls0 AudigyLS
1: vmix0 OSS transparent virtual support
MIDI devices (/dev/midi*)
Mixer devices (/dev/mixer*)
0: AudigyLS Mixer (Mixer 0 of device object 0)
Audio devices
/dev/oss/audigyls0/pcm0 AudigyLS front (device index 0)
/dev/oss/audigyls0/pcm1 AudigyLS (shadow) (device index 1)
/dev/oss/audigyls0/pcm2 AudigyLS center/lfe (device index 2)
/dev/oss/audigyls0/pcm3 AudigyLS surround (device index 3)
/dev/oss/audigyls0/pcm4 AudigyLS 5.1 output (device index 4)
/dev/oss/vmix0/pcm0 AudigyLS front (VMIX0) (device index 5)
/dev/oss/vmix0/pcm1 AudigyLS front (VMIX0) (device index 6)
/dev/oss/vmix0/pcm2 AudigyLS front (VMIX0) (device index 7)
/dev/oss/vmix0/pcm3 AudigyLS front (VMIX0) (device index
from both su and normal mode
MY OSS test is different in su - and normal mode
my osstest is from su - mode
[root@ ~]# osstest
Sound subsystem and version: OSS 4.0 (build 070707/200708012238/C (0x00040002)
Platform: FreeBSD/i386 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Sun Jun 3 14:20:02 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
*** Scanning sound adapter #-1 ***
/dev/oss/audigyls0/pcm0 (audio engine 0): AudigyLS front
Note! Device is in use (by PID 0/Front) but will try anyway
- Performing audio playback test... /dev/oss/audigyls0/pcm0: Device busy
The device is busy. There is some other application
using it.
Can't open the device
/dev/oss/audigyls0/pcm1 (audio engine 1): AudigyLS (shadow)
- Skipping device (card already tested)
/dev/oss/audigyls0/pcm2 (audio engine 2): AudigyLS center/lfe
- Performing audio playback test... /dev/oss/audigyls0/pcm2: Device busy
The device is busy. There is some other application
using it.
Can't open the device
/dev/oss/audigyls0/pcm3 (audio engine 3): AudigyLS surround
- Performing audio playback test... /dev/oss/audigyls0/pcm3: Device busy
The device is busy. There is some other application
using it.
Can't open the device
/dev/oss/audigyls0/pcm4 (audio engine 4): AudigyLS 5.1 output
- Skipping multi channel device
*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm0 (audio engine 5): AudigyLS front (VMIX0)
- Performing audio playback test... /dev/oss/vmix0/pcm0: Device busy
The device is busy. There is some other application
using it.
Can't open the device
/dev/oss/vmix0/pcm1 (audio engine 6): AudigyLS front (VMIX0)
- Skipping device (card already tested)
/dev/oss/vmix0/pcm2 (audio engine 7): AudigyLS front (VMIX0)
- Skipping device (card already tested)
/dev/oss/vmix0/pcm3 (audio engine
- Skipping device (card already tested)
*** Some errors were detected during the tests ***
however from normal mode everything is tested OK but I can not hear the sound during the test. Also Gnome volume manager is saying that no device is detected