Identifying mobile phones as modems
Bastien Nocera
hadess at hadess.net
Mon Mar 10 14:51:45 PDT 2008
Hey Daniel,
On Mon, 2008-03-10 at 12:45 -0700, Daniel Qarras wrote:
> Hi all,
>
> in February it was discussed how modems and mobile broadband cards
> should be identified (1, 2, 3) and the result was a nice patch to solve
> the issue (4). So far, so good.
>
> I'm now wondering how to deal with a mobile phone connected via a
> serial/usb cable being used as a modem with NetworkManager. I need the
> entry below (5) in the file 10-modem.fdi with my Nokia 6021 connected
> to my laptop via a Nokia CA-42 cable. As the CA-42 cable is only for
> Nokia phones it should be safe to add this or what do you think? If
> this is not a good option does anyone have better ideas?
>
> Thanks!
>
> 1) http://lists.freedesktop.org/archives/hal/2008-February/010747.html
> 2) http://lists.freedesktop.org/archives/hal/2008-February/010759.html
> 3) http://lists.freedesktop.org/archives/hal/2008-February/010780.html
> 4)
> http://gitweb.freedesktop.org/?p=hal-info.git;a=commit;h=5f906756030f6dcce6f55f11e29631dba023e984
>
> 5)
>
> <!-- Nokia Mobile Phone via CA-42 -->
> <match key="@info.parent:usb.vendor_id" int="0x0421">
> <match key="@info.parent:usb.product_id" int="0x0802">
> <match key="@info.parent:usb.interface.number" int="0">
Instead of using the interface number, I'd use the interface
class/subclass, no?
I also have a DKU-2 cable for my Nokia phone (0421:0428, interface class
2, interface subclass 2) that'd show up the Serial port.
Pawel, any thoughts?
Cheers
More information about the hal
mailing list