Open Source Telephony
 help / color / mirror / Atom feed
From: =?unknown-8bit?q?Beno=C3=AEt?= Monin <benoit.monin@gmx.fr>
To: ofono@ofono.org
Subject: Re: [PATCH] hso: Set modem name based on udev network interface name
Date: Sun, 07 Nov 2010 21:32:33 +0100	[thread overview]
Message-ID: <201011072132.33440.benoit.monin@gmx.fr> (raw)
In-Reply-To: <1288008955.9729.28.camel@aeonflux>

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

Hi Marcel,
[Sorry for the delay]

Le lundi 25 octobre 2010 14:15:55 Marcel Holtmann, vous avez écrit :
> actually do you get the serial number from the USB descriptors?
> 
No, the serial number comes from an AT command, I guess.

> oFono does not have the concept of physical devices actually. We moved
> away from dealing with specific modem hardware for a reason. oFono is
> based around a SIM card.
> 
> However we did allow the object path of the modem to be unique, but for
> that, the udev plugin needs to know it. And in your case the modem needs
> to have proper USB descriptors for that.
> 
I checked with udevadm info, ID_SERIAL_SHORT is not set and ID_SERIAL
is "Option_N.V._Globetrotter_HSUPA_Modem" for both modem. So I simply set
ID_SERIAL_SHORT to what I wanted with an udev rule. 

Thank you for pointing me to udev and please discard my patch.

--
Cordially,
Benoît.



  reply	other threads:[~2010-11-07 20:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 11:35 [PATCH] hso: Set modem name based on udev network interface name =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-10-25 12:15 ` Marcel Holtmann
2010-11-07 20:32   ` =?unknown-8bit?q?Beno=C3=AEt?= Monin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-25  9:13 =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-10-25 11:17 ` Marcel Holtmann
2010-10-21  8:26 =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-10-22 15:39 ` Denis Kenzior

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=201011072132.33440.benoit.monin@gmx.fr \
    --to=benoit.monin@gmx.fr \
    --cc=ofono@ofono.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