Worked fine on PC-BSD now problems on FreeBSD

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

Worked fine on PC-BSD now problems on FreeBSD

Postby Oko » Fri Aug 03, 2007 10:55 pm

Could anybody give me some help with my Open Sound System.
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 8)


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 8): AudigyLS front (VMIX0)
- 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
Oko
Member
 
Posts: 11
Joined: Fri Aug 03, 2007 10:52 pm
Location: Arizona

Postby Oko » Sat Aug 04, 2007 5:55 am

I made a progress with this sound card. I was plug in my head phones in different outlets (sound card comes with 3 for speakers and one for mike) and one of them was playing beautifully.
However I now cannot get sound out of applications and I get annoying message that sound the device is busy.

This is just indication that something is wrong with my mixing.
Unfortunately I am still getting from Gnome volume control that there is no device available.

Any suggestions?
Oko
Member
 
Posts: 11
Joined: Fri Aug 03, 2007 10:52 pm
Location: Arizona


Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest