LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 03-08-2005, 02:16 PM   #1
hobz
Member
 
Registered: May 2004
Location: Cairo - Egypt
Distribution: FC28
Posts: 140

Rep: Reputation: 15
load module at startup


Finally after days of trial I was able to operate my scsi scanner acer prisa 310s after eabling scsi support in kernel
then typing the following command
modprobe g_NCR5380 ncr_addr=0x280 dtc_3181e=1

the question is where can I add this command to load the module at startup instead of invoking it manually each time???
 
Old 03-08-2005, 02:43 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
You'll want to do a man -k modules and look at modinfo, modprobe, modules.conf and modules.dep.

I don't remember exactly what it is for RH 9, but it's /etc/modules.conf I think. Anyway, you'll want to put an entry in there for your scanner and it should load up everytime you reboot.

Short of that, you could always cheat, and depending on which init level you boot in to, you could create an init script and put it in rc3.d or rc5.d ... but that's cheating.
 
Old 03-08-2005, 06:36 PM   #3
hobz
Member
 
Registered: May 2004
Location: Cairo - Egypt
Distribution: FC28
Posts: 140

Original Poster
Rep: Reputation: 15
I created a shell scipt in /etc/rc5 and have written the modeprobe command and rebooted but the module did not load any other suggestions????
 
Old 03-08-2005, 07:44 PM   #4
hobz
Member
 
Registered: May 2004
Location: Cairo - Egypt
Distribution: FC28
Posts: 140

Original Poster
Rep: Reputation: 15
I just added /sbin/modprobe g_NCR5380 ncr_addr=0x280 dtc_3181e=1 to /etc/rc.d/rc.local.
and it loaded at startup if there is any better soloutio just please let me know

Last edited by hobz; 03-08-2005 at 07:50 PM.
 
  


Reply


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 load Nvidia module at startup? Jedyte Linux - Hardware 1 03-12-2005 02:34 PM
load joystick module at startup agentr Linux - General 2 09-01-2004 05:54 PM
load module at startup alaios Linux - General 1 03-31-2004 11:40 AM
load visor module at startup derddera Linux - Laptop and Netbook 1 03-17-2004 07:27 PM
A broken module trying to load at startup BongFish Linux - General 2 10-23-2003 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:13 PM.

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