VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: how do i add these lines?(solved)  (Read 1030 times)

danthemannewtolinux

  • Vectorite
  • ***
  • Posts: 107
how do i add these lines?(solved)
« on: March 14, 2012, 12:17:05 pm »

Module use:
-----------

In order to automatically load the sonypi module on use, you can put those
lines in your /etc/modprobe.conf file:

   alias char-major-10-250 sonypi
   options sonypi minor=250

This supposes the use of minor 250 for the sonypi device:

   # mknod /dev/sonypi c 10 250



Could someone tell me where the modprobe.conf file is? i have vl7gold installed
« Last Edit: March 18, 2012, 11:28:44 pm by danthemannewtolinux »
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1872
Re: how do i add these lines?
« Reply #1 on: March 14, 2012, 01:01:26 pm »

modprobe.conf is not being used. What has been
put in place is udev.

Look at /etc/udev/rules.d for the place to put
any rules you may need.

If that does not work you can add a modprobe command
to /etc/rc.d/rc.local to automagically add your module.

Bigpaws
Logged

danthemannewtolinux

  • Vectorite
  • ***
  • Posts: 107
Re: how do i add these lines?
« Reply #2 on: March 14, 2012, 01:10:44 pm »

so, would i put those lines above to my rc.local to load that module?
Logged