Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
luze
Posts: 5
Joined: 09 Feb 2015, 10:36

Huawei e303s -2 Fault with HP computer prodesk 600

Post by luze » 09 Feb 2015, 11:38

Hi,
The problem is detected with prodesk 600 HP computer and modem E303 remains "frozen " when making the switch, HP 6730b with other equipment works properly.

Hp prodesk 600:
Fail:
[root@pc475 ~]# usb_modeswitch -v 12d1 -p 1f01 -M "55534243123456780000000000000011063000000100010000000000000000"

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 013 on bus 003 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
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

crtl+c

one minut before cancel

[root@pc475 ~]# usb_modeswitch -v 12d1 -p 1f01 -M "55534243123456780000000000000011063000000100010000000000000000"

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 013 on bus 003 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached

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

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI HiLink
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
Resetting message endpoint 0x01
-> Run lsusb to note any changes. Bye.

HP 6730b:
[root@localhost ~]# lsusb
Bus 002 Device 005: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)

[root@localhost ~]# usb_modeswitch -v 12d1 -p 1f01 -M "5553424312345678000000000 0000011063000000100010000000000000000"

Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 005 on bus 002 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
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
Product: HUAWEI HiLink
Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
Device seems to have vanished right after sending. Good.
Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

[root@localhost ~]# lsusb
Bus 002 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem

Kernel 2.6.32-504.8.1.el6.x86_64
tcl-8.5.7-6.el6.x86_64
libusb-0.1.12-23.el6.x86_64
usbutils-003-4.el6.x86_64
usb_modeswitch-1.2.3-1.el6.rf.x86_64
usb_modeswitch-data-20120120-1.el6.rf.noarch

Thanks for help! and sorry my english

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Huawei e303s -2 Fault with HP computer prodesk 600

Post by LOM » 10 Feb 2015, 08:48

It may help adding the -I switch to the cmd line when using that obsolete version of usb_modeswitch.

luze
Posts: 5
Joined: 09 Feb 2015, 10:36

Re: Huawei e303s -2 Fault with HP computer prodesk 600

Post by luze » 10 Feb 2015, 13:57

Thank you for your quick response , the problem esque change just stands right after (OK , driver "usb -storage" detached ) but on another computer with the same software works correctly .
I do not think that is the obsoleted version.

luze
Posts: 5
Joined: 09 Feb 2015, 10:36

Re: Huawei e303s -2 Fault with HP computer prodesk 600

Post by luze » 12 Feb 2015, 17:23

I think the problem is the USB 3.0 ports

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Huawei e303s -2 Fault with HP computer prodesk 600

Post by Josh » 13 Feb 2015, 19:38

luze wrote:I do not think that is the obsoleted version.
The current version of usb_modeswitch uses the modern version of 'libusb' which likely will work much better with USB 3.0 ports.

You can easily compile the current version yourself to test it yourself.

luze
Posts: 5
Joined: 09 Feb 2015, 10:36

Re: Huawei e303s -2 Fault with HP computer prodesk 600

Post by luze » 25 Feb 2015, 16:11

solved with minicom, change AT^U2DIAG=0.
Thanks

Post Reply