I think I got it to switch after searching here:
http://www.draisberghof.de/bb/
But still my network manager won't detect the device... is there anything else I need to do?
Code:
[pablo:usb_modeswitch.d]$ cat 12d1:1c0b
########################################################
# Huawei E173s
DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"
[pablo:usb_modeswitch.d]$ lsusb | grep Huawei
Bus 001 Device 005: ID 12d1:1c0b Huawei Technologies Co., Ltd.
[pablo:usb_modeswitch.d]$ sudo usb_modeswitch -c 12d1:1c0b
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 001 ...
Using endpoints 0x0f (out) and 0x8f (in)
Using endpoints 0x0f (out) and 0x8f (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 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
Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Original device can't be accessed anymore. Good.
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Searching for target devices ...
Error: could not get description string "manufacturer"
Error: could not get description string "product"
Found correct target device
Mode switch succeeded. Bye.
[pablo:usb_modeswitch.d]$ lsusb | grep Huawei
Bus 001 Device 006: ID 12d1:1c05 Huawei Technologies Co., Ltd.
Can anyone help here?
---------- Post added at 06:44 PM GMT ---------- Previous post was at 06:26 PM GMT ----------
satyaveerarya, if you do "lsusb" on console what do you get?
---------- Post added at 07:14 PM GMT ---------- Previous post was at 06:44 PM GMT ----------
Getting closer.... now my FC13 is able to detect the MODEM automatically:
1) create file /etc/usb_modeswitch.d/12d1:1c0b:
Code:
########################################################
# Huawei E173s
DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"
--------------------------------------------------------
2) add corresponding lines to /lib/udev/rules.d/40-usb_modeswitch.rules
Code:
Huawei E173s
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
After I did this, I just unplugged and plugged the MODEM and my NM detected it right away!
I won't be able to test it until I return home in 3 or 4 days. Will confirm then!
---------- Post added at 07:17 PM GMT ---------- Previous post was at 07:14 PM GMT ----------
BTW: researching on usb_modswitch page, I learned that mine it's E173s, although on the rare side it reads E173 only...