On Fri, May 16, 2014 at 03:31:41PM +0200, ??ukasz Ratajski 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

It's not unusual - I've seen Huaweii devices that behave similarly.  They
have a bitmap register that enables and disabled various aspects of the
hardware, for example the micro-sd card slot and the built in flash
storage.  With an AT command that I've long since forgotten, you can
clobber it and make it a 'dumb' device that only acts as a modem, (yay!
exactly what I want), and at that point it changes it's usb device ID,
(to one that is already supported by OpenBSD).

But this isn't the strangest USB thing I've seen - that was a usb HUB
that typed things at the boot prompt, behaving like a keyboard.

Actually, this worries me a bit, because how do we know that any innocent
USB device, a mouse or a keyboard for example, doesn't have firmware that
tells it to emulate a disk for 10 seconds after power is applied if it
sees that a BIOS is initialising it, and then change to an innocent device
afterwards?

-- 
Creamy! <3

Reply via email to