Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
ravikiran
Posts: 3
Joined: Sun Aug 21, 2011 10:16 am

Huawei E173 product 140c configuration

Post by ravikiran » Sun Aug 21, 2011 10:31 am

Hi,

need help for setting up E173 on fedora

Code: Select all


usb_modeswitch.d]# lsusb  | grep Huawei
Bus 001 Device 007: ID 12d1:140c Huawei Technologies Co., Ltd.

Code: Select all



usb_modeswitch.d]# cat 12d1\:1446
########################################################
# Huawei, newer modems

DefaultVendor= 0x12d1
DefaultProduct=0x1446

TargetVendor=  0x12d1
TargetProductList="1001,1406,140b,140c,141b,14ac"

CheckSuccess=20

MessageContent="55534243123456780000000000000011060000000000000000000000000000"

Code: Select all



 usb_modeswitch.d]# usb_modeswitch -c /etc/usb_modeswitch.d/12d1\:1446
Warning: TargetProductList overrides TargetProduct!

Looking for target devices ...
 Found devices in target mode or class (1)
Looking for default devices ...
 No devices in default mode or class found. Nothing to do. Bye.

let me know for any other information
[/list]

Josh
Site Admin
Posts: 6558
Joined: Sat Nov 03, 2007 12:30 am

Post by Josh » Mon Aug 22, 2011 7:52 pm

Your modem has switched O.K..

See if a driver has attached; you should have at least the file "ttyUSB0" in the folder "/dev".

If there is no file with that name, enable the logging of usb_modeswitch (see the main doc page, paragraph "Troubleshooting"). Then plug again and have a look at the log.


ravikiran
Posts: 3
Joined: Sun Aug 21, 2011 10:16 am

Post by ravikiran » Mon Aug 22, 2011 8:13 pm

I am able to see the ttyUSB0.

# ll /dev/ | grep USB
crw-rw----. 1 root dialout 188, 0 Aug 22 23:37 ttyUSB0
crw-rw----. 1 root dialout 188, 1 Aug 22 23:37 ttyUSB1
crw-rw----. 1 root dialout 188, 2 Aug 22 23:37 ttyUSB2
crw-rw----. 1 root dialout 188, 3 Aug 22 23:37 ttyUSB3

I have tried again executing this command ...

# usb_modeswitch -c /etc/usb_modeswitch.d/12d1\:1446
Warning: TargetProductList overrides TargetProduct!

Looking for target devices ...
Found devices in target mode or class (1)
Looking for default devices ...
No devices in default mode or class found. Nothing to do. Bye.

ravikiran
Posts: 3
Joined: Sun Aug 21, 2011 10:16 am

Post by ravikiran » Mon Aug 22, 2011 8:21 pm

on verbose mode

Code: Select all


]# usb_modeswitch -W -c /etc/usb_modeswitch.d/12d1\:1446
Reading config file: /etc/usb_modeswitch.d/12d1:1446
Warning: TargetProductList overrides TargetProduct!
 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.4 (C) Josua Dietze 2010
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1446
TargetVendor=   0x12d1
TargetProduct=  not set
TargetClass=    not set
TargetProductList="1001,1406,140b,140c,141b,14ac"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 004 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device

Looking for target devices ...
  searching devices, found USB ID 80ee:0021
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:140c
   found matching vendor ID
   found matching product ID from list
  searching devices, found USB ID 1d6b:0002
 Found devices in target mode or class (1)
Looking for default devices ...
  searching devices, found USB ID 80ee:0021
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:140c
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
 No devices in default mode or class found. Nothing to do. Bye.

Josh
Site Admin
Posts: 6558
Joined: Sat Nov 03, 2007 12:30 am

Post by Josh » Mon Aug 22, 2011 10:18 pm

Why would you want to switch the device again?

It is in modem mode - ready to use!

Any further action is up to the network tools of your distribution.

Post Reply