Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-28-2005, 10:04 AM   #1
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
How can a command/program be run automatically on boot?

My problem is:
I have to use the commercial oss to drive my soundcard because of the failture of ALSA configuration. Every time, I have to run the "soundon" command to probe the soundcard module manually after logining as root. This is really bothering me. What's more, the oss doesn't work after three months' trial use.
My question is:
How can I get the OS to probe the soundcard module automatically before I login?

Old 11-28-2005, 10:36 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Which soundcard do you have that ALSA doesn't seem to work with?

If the modules are in the kernel, they should load on boot.

If you must issue that command, there should be something in RedHat
similar to /etc/rc.d/rc.local in Slackware, where you can insert commands
to run when you boot your system.


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
How to run a command automatically on start up TKD SUSE / openSUSE 6 11-03-2005 04:41 AM
run program automatically at specific time simon_qwl Programming 2 03-20-2005 10:58 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 09:05 PM
Automatically run root program. Hammett Linux - Software 4 05-16-2004 12:45 PM
How do I automatically run at boot an X program or script cmisip Linux - General 4 01-05-2003 06:30 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:13 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
Open Source Consulting | Domain Registration