On Fri, May 16, 2014 at 3:31 PM, Łukasz Ratajski <[email protected]> wrote: > Am 16.05.2014 13:10, schrieb David Coppa: >> On Fri, May 16, 2014 at 1:02 PM, Łukasz Ratajski >> <[email protected]> wrote: >>> Attached is a diff for umsm+man page which enables support for the >>> Alcatel OneTouch L100V USB 2G/3G/LTE modem, known in Germany as Telekom >>> SpeedStick LTE II. >>> >>> The storage part has to be ejected first. Connectivity tested with >>> userland ppp on amd64. Patch is against 5.5-STABLE. >> >> Is it ejecting automatically? >> I mean, is this using "{{ USB_VENDOR_TCTMOBILE, >> USB_PRODUCT_TCTMOBILE_UMASS }, DEV_UMASS3}" ? >> >> If so, then it's ok with me. > > I had to eject the umass part manually in order to access the modem. > Now, after some inspection, I am certain that I found the solution. > After manual ejection the usbdevs output changed as following: > > - port 5 addr 3: high speed, power 500 mA, config 1, Mobile Broad > Band(0xf017), USBModem(0x1bbb), rev 0.00 > + port 5 addr 3: high speed, power 500 mA, config 1, Mobile Broad > Band(0x011e), USBModem(0x1bbb), rev 0.00 > > Apparently the umass device uses a different product ID, so I decided to > add it to usbdevs, and change umsm.c accordingly. Plugged in, and dmesg > shows this (without any manual interaction): > > umsm0 at uhub0 port 5 configuration 1 interface 0 "USBModem Mobile Broad > Band" rev 2.00/0.00 addr 3 > umsm1 at uhub0 port 5 configuration 1 interface 1 "USBModem Mobile Broad > Band" rev 2.00/0.00 addr 3 > umsm0 detached > umsm1 detached > umsm0 at uhub0 port 5 configuration 1 interface 0 "USBModem Mobile Broad > Band" rev 2.00/0.00 addr 3 > ucom0 at umsm0 > umsm1 at uhub0 port 5 configuration 1 interface 1 "USBModem Mobile Broad > Band" rev 2.00/0.00 addr 3 > ucom1 at umsm1 > umass1 at uhub0 port 5 configuration 1 interface 2 "USBModem Mobile > Broad Band" rev 2.00/0.00 addr 3 > umass1: using SCSI over Bulk-Only > scsibus3 at umass1: 2 targets, initiator 0 > sd2 at scsibus3 targ 1 lun 0: <USBModem, MMC Storage, 2.31> SCSI2 > 0/direct removable > umsm2 at uhub0 port 5 configuration 1 interface 3 "USBModem Mobile Broad > Band" rev 2.00/0.00 addr 3 > ucom2 at umsm2 > umsm3 at uhub0 port 5 configuration 1 interface 4 "USBModem Mobile Broad > Band" rev 2.00/0.00 addr 3 > ucom3 at umsm3 > > Firing up ppp confirmed that it's working. Here is the revised patch:
It's committed. Thanks && ciao! David
