You are not logged in.

#1 2009-06-30 14:52:22

Intruder89
Member
From: Belgrade, Serbia
Registered: 2009-02-20
Posts: 28

Problem after every reboot

I suppose it`s a stupid question but I have to ask smile 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

#2 2009-06-30 14:56:05

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Problem after every reboot

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

#3 2009-06-30 15:01:30

Intruder89
Member
From: Belgrade, Serbia
Registered: 2009-02-20
Posts: 28

Re: Problem after every reboot

Ye I know for that I was just wondering is there some "proper way" to do it smile))

Offline

#4 2009-06-30 16:20:14

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Problem after every reboot

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

#5 2009-06-30 17:14:43

Cilyan
Member
From: Toulouse (FR)
Registered: 2006-08-27
Posts: 97
Website

Re: Problem after every reboot

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

#6 2009-06-30 17:36:10

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Problem after every reboot

Intruder89 wrote:

I suppose it`s a stupid question but I have to ask smile 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 wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#7 2009-06-30 18:56:56

Intruder89
Member
From: Belgrade, Serbia
Registered: 2009-02-20
Posts: 28

Re: Problem after every reboot

I tried ... I think this what`s Cilyan said should help - I`ll try now. smile 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

Board footer

Powered by FluxBB