linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Udev rule for HSDPA modem
Date: Fri, 28 Nov 2008 18:51:06 +0000	[thread overview]
Message-ID: <20081128185106.GA24328@kroah.com> (raw)
In-Reply-To: <bed87e0b812045212a08a0c9ef4a06b2.squirrel@kone.netland.fin>

On Fri, Nov 28, 2008 at 07:56:53PM +0200, Jar wrote:
> Hello
> 
> I hope this is the correct list to ask this. I am not subscribed, so add
> me to cc.
> 
> HSDPA modem (usb_serial+option modules) creates three ttyUSB devices.
> The first one is the modem interface used for ppp connection. How to
> write udev rule which will match to the first ttyUSB device? E.g. if the
> devices are ttyUSB1, ttyUSB2 and ttyUSB3, how to create e.g. symlinks
> modem0, modem1 and modem2, then it would be guaranteed that the modem0
> device would be the first one.

HAL contains a list of these modems and a mapping of each port to what
it does based on the specific device.

Try using that instead of udev specific rules for your accessed to the
modem, it will work much better.

good luck,

greg k-h

  reply	other threads:[~2008-11-28 18:51 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-28 17:56 Udev rule for HSDPA modem Jar
2008-11-28 18:51 ` Greg KH [this message]
2008-11-29  8:00 ` Jar
2008-11-29 17:37 ` Greg KH
2008-11-30  5:21 ` Kay Sievers
2008-12-03  6:45 ` Greg KH
2008-12-03  9:27 ` Kay Sievers
2008-12-03 12:12 ` Kay Sievers
2008-12-03 15:11 ` Kay Sievers
2008-12-03 17:06 ` Karl O. Pinc
2008-12-03 17:37 ` Kay Sievers
2008-12-03 18:49 ` Karl O. Pinc
2008-12-03 23:10 ` Greg KH
2008-12-03 23:54 ` Kay Sievers
2008-12-04  0:04 ` Greg KH
2008-12-04  0:12 ` Kay Sievers
2008-12-04  0:40 ` Greg KH
2008-12-04  1:14 ` Kay Sievers
2008-12-04  6:28 ` Jar
2008-12-04  7:23 ` Kay Sievers
2008-12-04 14:22 ` Jar
2008-12-04 15:27 ` Karl O. Pinc
2008-12-04 18:56 ` Greg KH
2008-12-04 19:11 ` Greg KH
2008-12-05  2:53 ` Kay Sievers
2008-12-05  4:54 ` Karl O. Pinc

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=20081128185106.GA24328@kroah.com \
    --to=greg@kroah.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).