Re: usb hsdpa modem only detected after using it on windows



Hi,

Umarzuki Mochlis <umarzuki@xxxxxxxxx> writes:

the modem is Huawei E1762 which is provided by local ISP when registering for their wireless broadband service.

this modem, weirdly, can only be detected when i used it recently from windows xp, while the device still connected into the usb port, reboot into debian, then it will be
detected and can be used with Vodafone Mobile Connect Card driver for Linux

detected as usb storage
Bus 005 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.

detected as modem
Bus 005 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

This looks like an USB device that carries its Windows drivers on it.
When you first plug it in, it appears as a USB storage device with the
driver in it. After the Windows driver is installed, it pokes the
device to make the modem interface appear.

Now, on Linux, the modem interface, 0x1003, is supported by the option.c
driver. So, the trick is to add a quirk to the USB storage driver to
handle the poking. It appears there already are similar devices, and
there already is code in the kernel to handle the poking of the device,
etc.

You'll probably need to patch the drivers/usb/storage/unusual_devs.h
file in the kernel to add a para that looks like:

UNUSUAL_DEV( 0x12d1, 0x1446, 0x0000, 0x0000,
"HUAWEI MOBILE",
"Mass Storage",
US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
0),

and recompile. Unfortunately, the usbstorage 'quirk=...' option doesn't
appear to be able to handle this kind of quirk.

- Hari


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Cantt copy to DVD
    ... Driver ... DSP Group TrueSpeechSoftware CODEC: ... Ricoh 1394 Controller May Not Work with Windows XP ... Windows XP Does Not Detect Your New USB Device ...
    (microsoft.public.windows.mediacenter)
  • Re: Active home pro stopped working II
    ... It really depends on the version of windows. ... is just plugging the cm15a to a different USB port on your PC. ... I've seen stuff get wacked out, driver wise, under windows. ... I think what he's describing are the sound effects in the AHP software. ...
    (comp.home.automation)
  • RE: Sierra Wireless (MC8780) HSDPA speed issue
    ... I have successfully reached average download speeds above 400KB/s. ... Actually the Windows and Linux models are the same from the modem's point of view, but the PPP client is inside the NDIS driver. ... One problem that I have seen with USB is that the USB modem throughput will be low if there are other devices on the same USB hub of the laptop ...
    (Linux-Kernel)
  • Re: USB midi input device
    ... The case is Windows 2000 doesn't talk USB protocol as XP or Linux do. ... There is a problem with acquiring the correct driver from the manufacturer and installing it. ... default generic "driver" that comes with the operating operating system OR they must SUPPLY the driver that makes their hardware work with the operating system. ...
    (microsoft.public.win2000.hardware)
  • Re: Add Drivers to OS desing
    ... "Michel Verhagen (eMVP)" wrote: ... On the CE device, open a windows explorer. ... if you are sure the driver is in your kernel (so you can see the files ... or you have a problem with your USB host driver. ...
    (microsoft.public.windowsce.platbuilder)

Loading