symbolic link to /dev/dsp2 on startup

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

symbolic link to /dev/dsp2 on startup

Postby rednikov » Sun Sep 17, 2006 3:44 am

Hi/
Help my please

on startup OSS driver make symbolic link to /dev/dsp0...
How to force OSS to do at loading the reference on/dev/dsp->/dev/dsp2??

Excuse for my clumsy English..:))
rednikov
New Member
 
Posts: 1
Joined: Sun Sep 17, 2006 3:35 am

Re: symbolic link to /dev/dsp2 on startup

Postby dev » Mon Sep 18, 2006 5:13 pm

rednikov wrote:Hi/
Help my please

on startup OSS driver make symbolic link to /dev/dsp0...
How to force OSS to do at loading the reference on/dev/dsp->/dev/dsp2??

Excuse for my clumsy English..:))


Edit /usr/lib/oss/soundon.user and add:

rm -f /dev/dsp
ln -s /dev/dsp2 /dev/dsp


should do it. Next time you run soundon, soundon.user wlll be executed after all soundon.



regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA


Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest