Please support VectorLinux!

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

danthemannewtolinux

  • Vectorite
  • ***
  • Posts: 107
how do i add these lines?(solved)
« on: March 14, 2012, 11:17:05 am »
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, 10:28:44 pm by danthemannewtolinux »

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: how do i add these lines?
« Reply #1 on: March 14, 2012, 12: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

danthemannewtolinux

  • Vectorite
  • ***
  • Posts: 107
Re: how do i add these lines?
« Reply #2 on: March 14, 2012, 12:10:44 pm »
so, would i put those lines above to my rc.local to load that module?