You are not logged in.
Pages: 1
I suppose it`s a stupid question but I have to ask I installed OSS and configured it properly. One of things I had to change was to relink /dev/dsp to pcm1 on HDAudio :
sudo ln -sf /dev/oss/oss_hdaudio0/pcm1 /dev/dsp
So my problem is that after every reboot I have to link it again ... Can someone tell me how to save this so I don`t have to link it every time? Is there a OSS config file where it`s written what links to what?
Offline
I don't know. You could add it to /etc/rc.local though.
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
Ye I know for that I was just wondering is there some "proper way" to do it ))
Offline
There is nothing 'improper' about that. I do it all the time for some of my 'maybe present' / 'maybe not present' usb-drives.
Rather than making updates into policy kit etc, I just look for the presence of /dev/sdX1 and mount them accordingly ... all in rc.local.
[edit]
The b-i-g advantage with rc.local is that everything is up and running by the time it gets invoked - it makes things ever so much more easy ... especially as the boot-sequence is now running more and more parallel threads
[/edit]
Last edited by perbh (2009-06-30 16:26:03)
Offline
udev is in charge of organising devices and links in /dev.
You could add this to for exemple to '/etc/udev/rules.d/65-osssymlink.rules', but I did not test it !!
KERNEL=="oss/oss_hdaudio0/pcm1" SYMLINK+="dsp"
or something like that.
Offline
I suppose it`s a stupid question but I have to ask I installed OSS and configured it properly. One of things I had to change was to relink /dev/dsp to pcm1 on HDAudio :
sudo ln -sf /dev/oss/oss_hdaudio0/pcm1 /dev/dsp
So my problem is that after every reboot I have to link it again ... Can someone tell me how to save this so I don`t have to link it every time? Is there a OSS config file where it`s written what links to what?
Was you trying to restart OSS becouse i got too HDAudio and when I start it normal it fails when I restart it it's working
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
I tried ... I think this what`s Cilyan said should help - I`ll try now. Hm I don`t even have that file... I tried to create it, restarted computer (becouse oss restart won`t work) and on next boot my network gone mad - no dhcp response ... when I deleted it (that file) and restarted again network works fine.
On the end I`ll add it in local.
Last edited by Intruder89 (2009-06-30 19:51:10)
Offline
Pages: 1