On Mon, 4 Oct 2010 16:11:06 +0300, Pekka.Pessi(a)nokia.com wrote:
From: Pekka Pessi <Pekka.Pessi(a)nokia.com>
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.
+# Nokia default (with PC Suite)
+ATTRS{idVendor}=="0421", ENV{OFONO_DRIVER}="isigen",
ENV{OFONO_ISI_ADDRESS}="16"
+
This will match the whole USB gadget. How do you get the Phonet interface
from that?
I would simply match on Ethernet type 820 and kernel name usbpnXXX.
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis