Jump to content

Inserting modules


william
 Share

Recommended Posts

Whenever I boot the system I have to add manually in terminal the following comands to have some external devices working:

modprobe pcmcia_core

modprobe sd yenta_socket

modprobe audio

modprobe exaudio

 

In order to make the system load these modules during booting time I inserted in /etc/modules all these lines, but unforntunately with no success.

 

Any help will be very much appreciated.

Link to comment
Share on other sites

Deserving my rank here in this forum, what should be considered during any sort of help, I've just inserted the modules with "modprobe" in /etc/modules.conf and the system got damaged. During booting time I receive a bunch of errors, my windows partition, my ethernet card, my internal soundcard, my hub with a bunch of devices attached to the hub (external sound, zip, mouse, etc) is not being recognized.

 

What to do??

 

Reinstall the system???

Link to comment
Share on other sites

hea: unfortunately i didn't worked.

 

put

modprobe audio

and the others in /etc/rc.d/rc.modules or rc.local and see if they load.

 

bvc: I've opened the files you mentioned, but how to edit this files, I mean:

rc.modules is quite complicated to understand, could explain (a "cake recipe") me where and which comand line I have to nsert in these files, via vi or an editor?

 

thanks

Link to comment
Share on other sites

Use any editor that is not using word wrap. Most do not by default....you have to turn it on. If you know how to use vi/vim/gvim, sure! In kde I always used kate or vim. Here's the end of my /etc/rc.d/rc.local for example

 

elif [ $SECURE_LEVEL -ge 4 ]; then

   rm -f /etc/issue /etc/issue.net

fi



touch /var/lock/subsys/local



# I2C adapter drivers

modprobe i2c-viapro

modprobe i2c-isa

# I2C chip drivers

modprobe adm1021

modprobe eeprom

modprobe w83781d



echo 2048 > /proc/sys/dev/rtc/max-user-freq

echo 8190 > /proc/sys/kernel/threads-max

You probably already have;

touch /var/lock/subsys/local

so, basically put the mods at the end. Same goes for rc.modules.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...