From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Budik Date: Mon, 08 May 2006 22:27:12 +0000 Subject: udev or hotplug Message-Id: <445FC5C0.3000908@ist-traffic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello all, I would like to automate two steps in Linux when I plug in a wireless modem card into a PCMCIA slot. When I plug it in, I need to run the following 2 commands for the card to be recognized properly before I can run the pppd command to connect: #modprobe usbserial vendor=0x1199 product=0x0112 #mknod /dev/ttyUSB2 c 188 0 Is there a way to automate this by writing a udev rule so that whenever the computer sees the device, it loads the usbserial driver and maps it to /dev/ttyuUSB2? I seem to be getting the feeling that udev is the "new hotness" and hotplug is "old'n'busted" and is being phased out. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel