* udev or hotplug
@ 2006-05-08 22:27 Danny Budik
2006-05-08 23:24 ` Ken Brush
0 siblings, 1 reply; 2+ messages in thread
From: Danny Budik @ 2006-05-08 22:27 UTC (permalink / raw)
To: linux-hotplug
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: udev or hotplug
2006-05-08 22:27 udev or hotplug Danny Budik
@ 2006-05-08 23:24 ` Ken Brush
0 siblings, 0 replies; 2+ messages in thread
From: Ken Brush @ 2006-05-08 23:24 UTC (permalink / raw)
To: linux-hotplug
On 5/8/06, Danny Budik <dbudik@ist-traffic.com> wrote:
> 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.
>
This looks like an evdo card setup. In the usb/serial directory, you
will see a file called airprime.c. You can put your setup there as a
USB device in there, possibly...
Though, is it this one? off of line 19:
{ USB_DEVICE(0xf3d, 0x0112) }, /* AirPrime CDMA Wireless PC Card */
If so, you may just need to 'modprobe airprime'
-Ken
-------------------------------------------------------
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_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-08 23:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-08 22:27 udev or hotplug Danny Budik
2006-05-08 23:24 ` Ken Brush
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).