Hi,

2010/10/8 Rémi Denis-Courmont <r...@remlab.net>:
>> Now using the USB vendor and product IDs like the rest of the oFono
>> drivers.
>>
>> For reasons left unclear, the SUBSYSTEMS rule did not work consistently
>> in Ubuntu 10.04.
>
> The network device is not part of the USB subsystem, only its parent
> device.

Yes, the last S in SUBSYSTEMS refer to a SUBSYSTEM of a parent.

>> +# Nokia default (with PC Suite)
>> +ATTRS{idVendor}=="0421", ENV{OFONO_DRIVER}="isigen",
>> ENV{OFONO_ISI_ADDRESS}="16"
>> +
>
> This will match the whole USB gadget.

That is the point. We don't want one modem with at command tty and
another with phonet interface.

> How do you get the Phonet interface
> from that?

> I would simply match on Ethernet type 820 and

isi_add() does the Ethernet type matching. For a reason or another
Lucid udev rules fails to match the type sysattr when enumerating
existing devices.

> kernel name usbpnXXX.

The interface name is ignored as an expert earlier advised. ;)

-- 
Pekka.Pessi mail at nokia.com
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to