Author Message

<  Device Information  ~  Does my HUAWEI E173 switch properly?

PostPosted: Wed Jan 18, 2012 4:30 pm Reply with quote
Posts: 1 Joined: Wed Jan 18, 2012 4:10 pm
Welcome!

I have some problem in connecting to Polish T-Mobile provider using Huawei E173.

I'va done some verbose switching and got
Code:
USB_ModeSwitch log from Wed Jan  18 14:44:15 CET 2012

Raw args from udev: /2-1.2:1.0

Using global config file: /etc/usb_modeswitch.conf
Using top device dir /sys/bus/usb/devices/2-1.2
Warning: USB attribute "serial" not found.
----------------
USB values from sysfs:
  manufacturer  HUAWEI
  product       HUAWEI Mobile
  serial
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
SCSI attributes not needed, moving on
checking config: pack/12d1:1c0b
! matched. Reading config data
Extracting config 12d1:1c0b from collection /usr/share/usb_modeswitch/configPack.tar.gz
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1

Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 2 -g 4 -v 12d1 -p 1c0b -f $configBuffer

Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------

Reading long config from command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.1 (C) Josua Dietze 2011
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor=  0x12d1
DefaultProduct= 0x1c0b
TargetVendor=   0x12d1
TargetProduct=  not set
TargetClass=    not set
TargetProductList="1c05,1c08"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

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


Use given bus/device number: 002/004 ...
Looking for default devices ...
 bus/device number matched
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)
USB description data (for identification)
-------------------------
Manufacturer:
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
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
 Could not reset endpoint (probably harmless): -9
Resetting message endpoint 0x0f
 Could not reset endpoint (probably harmless): -9
 Device is gone, skipping any further commands
Bus/dev search active, referring success check to wrapper. Bye.

ok:busdev
--------------------------------
(end of usb_modeswitch output)

Checking success of mode switch for max. 20 seconds ...
 Waiting for device file system (1 sec.) ...
 Waiting for device file system (2 sec.) ...
 Waiting for device file system (3 sec.) ...
 Waiting for device file system (4 sec.) ...
 Waiting for device file system (5 sec.) ...
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
 Device file system is up, reading attributes ...
Warning: USB attribute "serial" not found.
Mode switching may have failed. Exiting

finnaly i did get
Code:
crw-rw---T 1 root dialout 188, 1 Jan 18 14:45 /dev/ttyUSB1
crw-rw---T 1 root dialout 188, 2 Jan 18 14:49 /dev/ttyUSB2
crw-rw---T 1 root dialout 188, 0 Jan 18 14:49 /dev/ttyUSB0

Gnome network manager shows operator and a signal strength, but does not create a ppp connection.

So i suppose that something goes wrong, But don't know where to look for.


Offline
PostPosted: Thu Jan 19, 2012 9:29 pm Reply with quote
Site Admin Posts: 6438 Joined: Sat Nov 03, 2007 12:30 am
First, I'd like to see what the command "lsusb" will print on your system, after the mode was switched. The failure notice at the end means just that the target mode was not recognized. The mode switch itself seems to have been achieved.

If we add the ID of the device after mode-switching to the TargetProductList, we may get a success report in the end.

Regarding your connection problems: unfortunately you can't rely on Network Manager. Try other helpers for building a wireless connection like comgt, wvdial or umtsmon.



Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
2 posts
Users browsing this forum: No registered users and 2 guests
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum