Page 1 of 1
FreeBSD 6.0 Still Not Working Dev Wake Up
Posted: Mon Nov 28, 2005 12:22 am
by Chicken
I dont know whats going on but its been awhile since i have been able to run oss drivers on 6.0 and be happy. I had to move to the bsd emu driver cause of all these issues. So i give it a try today
/usr/lib/oss/bin/soundon
This copy of OSS is licensed to ***
Open Sound System started OK.
ln: /dev/dsp: File exists
ln: /dev/mixer: File exists
ln: /dev/audio: File exists
ln: /dev/midi: File exists
I have no sound again.... So what is one supposed to do?
Re: FreeBSD 6.0 Still Not Working Dev Wake Up
Posted: Mon Nov 28, 2005 5:49 pm
by dev
Chicken wrote:I dont know whats going on but its been awhile since i have been able to run oss drivers on 6.0 and be happy. I had to move to the bsd emu driver cause of all these issues. So i give it a try today
/usr/lib/oss/bin/soundon
This copy of OSS is licensed to ***
Open Sound System started OK.
ln: /dev/dsp: File exists
ln: /dev/mixer: File exists
ln: /dev/audio: File exists
ln: /dev/midi: File exists
I have no sound again.... So what is one supposed to do?
Type cat /dev/sndstat and then run osstest to see if audio works - perhaps it's a permissions issue so try as root.
Posted: Wed Nov 30, 2005 3:34 am
by Chicken
Osstest Plays Audio But i cant play any file or sound.
ran mplayer
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Permission denied
/dev/dsp: Permission denied
[AO ESD] esd_open_sound failed: Permission denied
lrwxr-xr-x 1 root wheel 9 Nov 29 22:29 /dev/dsp -> /dev/dsp0
Permissions seem okay? 761
i did a chmod 777 /dev/dsp that didnt change the permission weird but now sound works?
dracula# chmod 777 /dev/dsp
dracula# ls -la /dev/dsp
lrwxr-xr-x 1 root wheel 9 Nov 29 22:29 /dev/dsp -> /dev/dsp0
Posted: Wed Nov 30, 2005 3:36 am
by Chicken
mixer
mixer: /dev/mixer: Permission denied
I guess all permissions are wrong, but why? Its cumbersome using devfs.conf for this when a simple chmod can be added to soundon.
Posted: Thu Dec 01, 2005 5:03 pm
by BSDKaffee
Just make a wrapper script to run soundon and change the permissions at the same time. Here's the one I use:
http://www.4front-tech.com/forum/viewtopic.php?t=710