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: Thu, 04 Dec 2008 00:04:27 +0000	[thread overview]
Message-ID: <20081204000427.GA30301@kroah.com> (raw)
In-Reply-To: <bed87e0b812045212a08a0c9ef4a06b2.squirrel@kone.netland.fin>

On Thu, Dec 04, 2008 at 12:54:31AM +0100, Kay Sievers wrote:
> Yeah, it looks really strange with your devices. Why put people poetry
> in the device strings? :)
> 
> But it seems to work, which is great. Here is a new version of the
> serial.rules and a /lib/udev/path_id which needs to be replaced.
> 
> Can you try that again on your "collection"? :)

Here you go.  I'm not so sure the "by-path" is that useful, as it has
the ttyUSB number in the name, which can be different from boot-to-boot.

How about putting the usb path in there and not truncate it?

thanks,

greg k-h

$ tree /dev/serial/
/dev/serial/
|-- by-id
|   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port0 -> ../../ttyUSB0
|   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port1 -> ../../ttyUSB1
|   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port2 -> ../../ttyUSB2
|   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port3 -> ../../ttyUSB3
|   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port0 -> ../../ttyUSB8
|   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port1 -> ../../ttyUSB9
|   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port2 -> ../../ttyUSB10
|   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port3 -> ../../ttyUSB11
|   `-- usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 -> ../../ttyUSB7
`-- by-path
    |-- pci-0000:00:1d.2-usb-0:ttyUSB7-port0 -> ../../ttyUSB7
    |-- pci-0000:00:1d.7-usb-0:ttyUSB0-port0 -> ../../ttyUSB0
    |-- pci-0000:00:1d.7-usb-0:ttyUSB1-port1 -> ../../ttyUSB1
    |-- pci-0000:00:1d.7-usb-0:ttyUSB10-port2 -> ../../ttyUSB10
    |-- pci-0000:00:1d.7-usb-0:ttyUSB11-port3 -> ../../ttyUSB11
    |-- pci-0000:00:1d.7-usb-0:ttyUSB2-port2 -> ../../ttyUSB2
    |-- pci-0000:00:1d.7-usb-0:ttyUSB3-port3 -> ../../ttyUSB3
    |-- pci-0000:00:1d.7-usb-0:ttyUSB8-port0 -> ../../ttyUSB8
    `-- pci-0000:00:1d.7-usb-0:ttyUSB9-port1 -> ../../ttyUSB9


  parent reply	other threads:[~2008-12-04  0:04 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
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 [this message]
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=20081204000427.GA30301@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).