Hi Marcel, On 12/19/2011 06:49 AM, Marcel Holtmann wrote: > Hi Philippe, > >> plugins/ofono.rules | 9 +++++++++ >> 1 files changed, 9 insertions(+), 0 deletions(-) >> >> diff --git a/plugins/ofono.rules b/plugins/ofono.rules >> index 30a1b7e..c7fac57 100644 >> --- a/plugins/ofono.rules >> +++ b/plugins/ofono.rules >> @@ -15,6 +15,15 @@ KERNEL=="shrm0", ENV{OFONO_DRIVER}="u8500" >> >> LABEL="ofono_isi_end" >> >> +SUBSYSTEM!="tty", GOTO="ofono_tty_end" >> +KERNEL!="ttyUSB[0-9]*", GOTO="ofono_tty_end" >> + >> +# ZTE >> +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", ENV{ID_USB_INTERFACE_NUM}=="02", ENV{OFONO_LABEL}="modem" >> +ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", ENV{ID_USB_INTERFACE_NUM}=="01", ENV{OFONO_LABEL}="aux" >> + >> +LABEL="ofono_tty_end" >> + > > what are we trying to fix here. Please include /proc/bus/usb/devices or > usb-devices and some oFono debug lines that show that without this we > are doing a wrong assignment. > We are trying to fix the BUG#23683. In the attached oFono AT log, you can notice that the modem port is not responsive. No answer to the command: Modem: > ATZ E0 +CMEE=1\r usb-devices gives: T: Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 11 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=19d2 ProdID=0017 Rev=00.00 S: Manufacturer=ZTE,Incorporated S: Product=ZTE HSPA Technologies MSM S: SerialNumber=P680A1ZTED010000 C: #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option I: If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage In practice, the modem port should be assigned to /dev/ttyUSB2 and not to the latest interface as done by udevng. Regards, Philippe. > Regards > > Marcel > > > _______________________________________________ > ofono mailing list > ofono(a)ofono.org > http://lists.ofono.org/listinfo/ofono >