Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-09-2003, 12:20 PM   #1
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
Starting OSS sound at Boot in Slack 8.1 or BSD

It is a long story as to why but I basically need to use OSS sound drivers so I don't get a conflict with my ECS laptop's pctel modem. I would like to automate the loading of the sound drivers before starting KDE so the arts sound server will find them. If I use run level 3 I can log in as user and the run "su -c soundon" to start OSS sound and then "startx" to bringup xwindows and kde. The modules can be turned off with "soundoff" or by shutting down. OSS drivers will autoload in a system the uses sysvinit via installation option but this does not work with Slackware's BSD style of init scripts

I would like to use run level 4 and have "soundon" (/usr/lib/oss/soundon) start before kdm

I am not sure were the best place (rc.S vs rc.4 vs rc.sysvinit vs rc.modules) is to try to add a script to do this. I tried to add
# Tell viewer that OSS sound is starting
echo "Starting OSS Sound"

if [ -x /usr/lib/oss/soundon ]; then
exec /usr/lib/oss/soundon

but it hung up ( was I missing an fi and are these nested?)

Any advice appreciated


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting Mysql5 Free-bsd Fredstar *BSD 1 06-04-2005 11:04 PM
how to use OSS instead of ALSA slack 9.1 coffeedemon Slackware 2 11-16-2004 01:30 PM
hydrogen and starting the OSS driver Pwcca Linux - Software 0 07-03-2003 12:18 AM
sysV vs bsd starting scripts sqn Linux From Scratch 3 06-16-2002 01:42 AM
OSS sound in Slack 8? DiscoStoo Linux - Hardware 2 03-13-2002 09:29 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration