All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matteo Sgalaberni <sgala@sgala.com>
To: linux-hotplug@vger.kernel.org
Subject: udev rules for devices that do not have serial
Date: Mon, 11 Oct 2010 14:40:30 +0000	[thread overview]
Message-ID: <20101011144030.GA17881@sgala.com> (raw)

Hi,

I'm searching a way to write a udev rule for a device that do not expose
any unique value.

I need to attach multiple mobile phones and give to them the same device
name as in every phone I have different numbers... So I need to be sure
that when I receive a call or SMS from /dev/myphone1 is connected the
myphone1 and not myphone2 until reboots or attach-reattach.

The real problem is that the devices that I'm using are not exposing any
unique value from the usbinfo like iSerial or other unique serial
numbers...

I'm tring to do this with some Alcatel Ot-800 but is the same with other
phones...

Any suggestion?

Thanks!

Matteo


             reply	other threads:[~2010-10-11 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11 14:40 Matteo Sgalaberni [this message]
2010-10-11 15:34 ` udev rules for devices that do not have serial Kay Sievers

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=20101011144030.GA17881@sgala.com \
    --to=sgala@sgala.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.