Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

usb_modeswitch i E173s

92 views
Skip to first unread message

mariusz

unread,
Nov 10, 2011, 7:10:19 AM11/10/11
to
Witam
Mam problem z uruchomieniem połączenia na modemie Huawei E173. Mimo że
jest to model E173 (tak jest na nalepce) to jego ID jakie podaje lsusb
pasuje (to co przeglądałem w 40-usb_switch.rules) raczej do E173s i tak
też go próbowałem uruchomić.

#lsusb
Bus 002 Device 012: ID 12d1:1c0b Huawei Technologies Co., Ltd.

Przeglądałem wiele tematów na forach ale mimo wszystko nie mogę sobie z
tym poradzić. Chodzi mi o komunikat jaki polecenie generuje przy próbie
zmiany trybu pracy dla modemu:

usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1c0b

Looking for target devices ...
Error: entry in product ID list has wrong length: 0x1c05. Ignoring
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 012 on bus 002 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" 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 Mobile
Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x0f for message sending ...
Trying to send message 1 to endpoint 0x0f ...
OK, message successfully sent
Resetting response endpoint 0x8f
Resetting message endpoint 0x0f
Could not reset endpoint (probably harmless): -34
Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
...
Error: entry in product ID list has wrong length: 0x1c05. Ignoring
No new devices in target mode or class found
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mode switch has failed. Bye.

Zmiana z 0x1c0b na 0x1c05 powinien zmienić z trybu domyślnego jakim jest
srotage na tryb modemmu

Z tego co się orientuję to w /etc/usb_modeswitch.d/12d1:1c0b mam standard:

#######################################################
# Huawei E173s

DefaultVendor= 0x12d1
DefaultProduct=0x1c0b

TargetVendor= 0x12d1
TargetProductList=0x1c05

MessageContent="55534243123456780000000000000011062000000100000000000000000000"

CheckSuccess=20

Czy może ktoś miał podobny problem ?

Pozrawiam
m
0 new messages