linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Danny Budik <dbudik@ist-traffic.com>
To: linux-hotplug@vger.kernel.org
Subject: udev or hotplug
Date: Mon, 08 May 2006 22:27:12 +0000	[thread overview]
Message-ID: <445FC5C0.3000908@ist-traffic.com> (raw)

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

             reply	other threads:[~2006-05-08 22:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-08 22:27 Danny Budik [this message]
2006-05-08 23:24 ` udev or hotplug Ken Brush

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445FC5C0.3000908@ist-traffic.com \
    --to=dbudik@ist-traffic.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).