LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   hot plugging a wireless USB adapter (http://www.linuxquestions.org/questions/slackware-14/hot-plugging-a-wireless-usb-adapter-778950/)

wufo 12-30-2009 04:24 PM

hot plugging a wireless USB adapter
 
I finally got my linksys WUSB54G wireless adapter working by putting the configuration commands in rc.local. However, I want to make it hot pluggage. How does the hot plug USB work on Slackware 13? Where are the scripts put are executed when plugging/unplugging a USB device?

wufo

DonnieP 12-30-2009 05:33 PM

You put a rules file into /etc/udev/rules.d

Didier Spaier 12-30-2009 05:41 PM

Slackware uses udev for hotplug as well as for populating /dev.

Standard rules live in /lib/udev/rules.d, local (or custom) ones in /etc/udev/rules.d

For instance as I don't use HAL, I did put in the latter some rules to auto mount and unmount the USB HDD I use for backups whilst plugging/unplugging it.


All times are GMT -5. The time now is 08:41 AM.