From: Tim vor der Brück on
Hi,

I have some trouble with the Surfstick Huawei E1762. I cannot get it to
work on my notebook.
I tried the following:

> ls usb

Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.
Bus 007 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0a5c:4503 Broadcom Corp.
Bus 001 Device 005: ID 0a5c:4502 Broadcom Corp.
Bus 001 Device 004: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I found a hint using usb_modeswith to switch to the UMTS state of the
stick:
> usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x140c -M
"55534243000000000000000000000011060000000000000000000000000000" -s 5

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode or class (1)
Accessing device 005 on bus 007 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Error resetting endpoint: -71
Resetting message endpoint 0x01
Error resetting endpoint: -19
Device is gone, skipping any further commands

Checking for mode switch (max. 5 times, once per second) ...
Original device is gone already, not checking
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Found correct target device

Mode switch succeeded. Bye.

Vendor, product id was actually switched:

< ls usb
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 006: ID 12d1:140c Huawei Technologies Co., Ltd.
Bus 007 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0a5c:4503 Broadcom Corp.
Bus 001 Device 005: ID 0a5c:4502 Broadcom Corp.
Bus 001 Device 004: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

But no UMTS devices created
< ls /dev/ttyU*

ls: Zugriff auf /dev/ttyU* nicht m�glich: Datei oder Verzeichnis nicht
gefunden
(access on /dev/ttyU* not possible. File or Directory not found)

<dmesg

[ 1117.768065] usb 7-1: new high speed USB device using ehci_hcd and
address 10
[ 1117.903187] usb 7-1: configuration #1 chosen from 1 choice
[ 1117.908836] scsi13 : SCSI emulation for USB Mass Storage devices
[ 1117.908836] scsi14 : SCSI emulation for USB Mass Storage devices
[ 1117.908836] usb 7-1: New USB device found, idVendor=12d1, idProduct=140c
[ 1117.908836] usb 7-1: New USB device strings: Mfr=3, Product=2,
SerialNumber=0
[ 1117.908836] usb 7-1: Product: HUAWEI Mobile
[ 1117.908836] usb 7-1: Manufacturer: HUAWEI Technology
[ 1117.908836] usb-storage: device found at 10
[ 1117.908836] usb-storage: waiting for device to settle before scanning
[ 1117.913014] usb-storage: device found at 10
[ 1117.913014] usb-storage: waiting for device to settle before scanning
[ 1122.923959] usb-storage: device scan complete
[ 1122.923959] scsi 14:0:0:0: Direct-Access HUAWEI SD Storage
2.31 PQ: 0 ANSI: 2
[ 1122.932116] sd 14:0:0:0: [sdb] Attached SCSI removable disk
[ 1122.932116] sd 14:0:0:0: Attached scsi generic sg1 type 0
[ 1122.937145] usb-storage: device scan complete
[ 1122.941130] scsi 13:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 2
[ 1122.979504] sr0: scsi-1 drive
[ 1122.983457] sr 13:0:0:0: Attached scsi CD-ROM sr0
[ 1122.983457] sr 13:0:0:0: Attached scsi generic sg2 type 5

Linux mordor 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux

Debian GNU/Linux

Surfstick: HUAWEI E1762
I use the newest version of modeswith:


Has anyone an idea what the problem cound by.

Thanks for any help.

Best regards,

Tim
From: Tim vor der Brück on
Tim vor der Br�ck wrote:
> Hi,
>
> I have some trouble with the Surfstick Huawei E1762. I cannot get it to
> work on my notebook.
> I tried the following:
>
> > ls usb
>
> Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 007 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd.
> Bus 007 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
> Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 006: ID 0a5c:4503 Broadcom Corp.
> Bus 001 Device 005: ID 0a5c:4502 Broadcom Corp.
> Bus 001 Device 004: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
> Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp.
> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> I found a hint using usb_modeswith to switch to the UMTS state of the
> stick:
> > usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x140c -M
> "55534243000000000000000000000011060000000000000000000000000000" -s 5
>
> Looking for target devices ...
> No devices in target mode or class found
> Looking for default devices ...
> Found devices in default mode or class (1)
> Accessing device 005 on bus 007 ...
> Using endpoints 0x01 (out) and 0x81 (in)
> Inquiring device details; driver will be detached ...
> Looking for active driver ...
> OK, driver found ("usb-storage")
> OK, driver "usb-storage" detached
>
> SCSI inquiry data (for identification)
> -------------------------
> Vendor String: HUAWEI
> Model String: Mass Storage
> Revision String: 2.31
> -------------------------
>
> USB description data (for identification)
> -------------------------
> Manufacturer: HUAWEI Technology
> Product: HUAWEI Mobile
> Serial No.: not provided
> -------------------------
> Setting up communication with interface 0 ...
> Using endpoint 0x01 for message sending ...
> Trying to send message 1 to endpoint 0x01 ...
> OK, message successfully sent
> Resetting response endpoint 0x81
> Error resetting endpoint: -71
> Resetting message endpoint 0x01
> Error resetting endpoint: -19
> Device is gone, skipping any further commands
>
> Checking for mode switch (max. 5 times, once per second) ...
> Original device is gone already, not checking
> Searching for target devices ...
> Searching for target devices ...
> Searching for target devices ...
> Searching for target devices ...
> Searching for target devices ...
> Found correct target device
>
> Mode switch succeeded. Bye.
>
> Vendor, product id was actually switched:
>
> < ls usb
> Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 007 Device 006: ID 12d1:140c Huawei Technologies Co., Ltd.
> Bus 007 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
> Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 006: ID 0a5c:4503 Broadcom Corp.
> Bus 001 Device 005: ID 0a5c:4502 Broadcom Corp.
> Bus 001 Device 004: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
> Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp.
> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> But no UMTS devices created
> < ls /dev/ttyU*
>
> ls: Zugriff auf /dev/ttyU* nicht m�glich: Datei oder Verzeichnis nicht
> gefunden
> (access on /dev/ttyU* not possible. File or Directory not found)
>
> <dmesg
>
> [ 1117.768065] usb 7-1: new high speed USB device using ehci_hcd and
> address 10
> [ 1117.903187] usb 7-1: configuration #1 chosen from 1 choice
> [ 1117.908836] scsi13 : SCSI emulation for USB Mass Storage devices
> [ 1117.908836] scsi14 : SCSI emulation for USB Mass Storage devices
> [ 1117.908836] usb 7-1: New USB device found, idVendor=12d1, idProduct=140c
> [ 1117.908836] usb 7-1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=0
> [ 1117.908836] usb 7-1: Product: HUAWEI Mobile
> [ 1117.908836] usb 7-1: Manufacturer: HUAWEI Technology
> [ 1117.908836] usb-storage: device found at 10
> [ 1117.908836] usb-storage: waiting for device to settle before scanning
> [ 1117.913014] usb-storage: device found at 10
> [ 1117.913014] usb-storage: waiting for device to settle before scanning
> [ 1122.923959] usb-storage: device scan complete
> [ 1122.923959] scsi 14:0:0:0: Direct-Access HUAWEI SD Storage
> 2.31 PQ: 0 ANSI: 2
> [ 1122.932116] sd 14:0:0:0: [sdb] Attached SCSI removable disk
> [ 1122.932116] sd 14:0:0:0: Attached scsi generic sg1 type 0
> [ 1122.937145] usb-storage: device scan complete
> [ 1122.941130] scsi 13:0:0:0: CD-ROM HUAWEI Mass Storage
> 2.31 PQ: 0 ANSI: 2
> [ 1122.979504] sr0: scsi-1 drive
> [ 1122.983457] sr 13:0:0:0: Attached scsi CD-ROM sr0
> [ 1122.983457] sr 13:0:0:0: Attached scsi generic sg2 type 5
>
> Linux mordor 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
>
> Debian GNU/Linux
>
> Surfstick: HUAWEI E1762
> I use the newest version of modeswith:
>
>
> Has anyone an idea what the problem cound by.
>
> Thanks for any help.
>
> Best regards,
>
> Tim
Hi,

I am one step further now.

If I type

modprobe usbserial vendor=0x12d1 product=0x140c

then I see the UMTS devices.

Best regards,

Tim