Fedora Linux Support Community & Resources Center
  #1  
Old 27th November 2010, 02:25 PM
pabloguevara Offline
Registered User
 
Join Date: Apr 2005
Location: Buenos Aires
Posts: 98
linuxfedorafirefox
Mobile Broadband FC13 Huawei E173

Hi,
I've been trying to make my FC13 Dell d620 work with a Huawei 3G usb modem mode E173. I can not switch the device to modem instead of storage with usb_modswitch.

This is what I get on lsusb:
Code:
[pablo:driver]$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 002 Device 004: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 002 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 002 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 017: ID 12d1:1c0b Huawei Technologies Co., Ltd.          ------> the string after ":" changes from this to 1c05 depending if I mount/umount the CD
Bus 001 Device 008: ID 05ac:1292 Apple, Inc. iPhone 3G
Bus 001 Device 006: ID 0566:3002 Monterey International Corp. 
Bus 001 Device 005: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 001 Device 004: ID 413c:0058 Dell Computer Corp. Port Replicator
Bus 001 Device 003: ID 0480:a003 Toshiba America Info. Systems, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
And this is how I try to usb_modswitch (i'm not sure about the values on this file, since I edited one that came by default for e173 but did not work):

Code:
[pablo:driver]$ cat /etc/usb_modeswitch.d/12d1:1c0b
########################################################
# Huawei E173

DefaultVendor= 0x12d1
DefaultProduct=0x1c0b

TargetVendor=  0x12d1
TargetProduct= 0x1c0b

CheckSuccess=5

MessageContent="55534243123456780000000000000011060000000000000000000000000000"
Code:
[pablo:driver]$ sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1c0b

Looking for target devices ...
 Found devices in target mode or class (1)
Looking for default devices ...
 Found devices in default mode or class (1)
Accessing device 010 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
 Error resetting endpoint: -71
Resetting message endpoint 0x0f
 Error resetting endpoint: -19
 Device is gone, skipping any further commands

Checking for mode switch (max. 5 times, once per second) ...
 Original device is gone already, not checking
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 No new devices in target mode or class found

Mode switch has failed. Bye.
Does anybody know why it fails to switch?

Last edited by pabloguevara; 27th November 2010 at 02:29 PM.
Reply With Quote
  #2  
Old 28th November 2010, 10:52 PM
satyaveerarya Offline
Registered User
 
Join Date: Nov 2010
Location: Dehradun, Uttarakhand, India
Posts: 40
windows_98_nt_2000chrome
Re: Mobile Broadband FC13 Huawei E173

Please anyone help me to fix Huawei EC1261 on Fedora 13 so that I can run internet on Fedora 13. Please anyone tell me how to configure the file or whatever we have to do to run the device on fedora 13..... Please........
Reply With Quote
  #3  
Old 29th November 2010, 10:17 PM
pabloguevara Offline
Registered User
 
Join Date: Apr 2005
Location: Buenos Aires
Posts: 98
linuxfedorafirefox
Re: Mobile Broadband FC13 Huawei E173

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...
Reply With Quote
  #4  
Old 19th January 2011, 12:20 PM
felipefz Offline
Registered User
 
Join Date: Jan 2011
Posts: 1
linuxchrome
Smile Re: Mobile Broadband FC13 Huawei E173

Only for register ...

This tip, works with me, in FC14

I did the same step
Reply With Quote
  #5  
Old 20th May 2011, 06:07 PM
ppearse Offline
Registered User
 
Join Date: May 2011
Posts: 1
windows_xp_2003ie
Smile Re: Mobile Broadband FC13 Huawei E173

Works for me too - Lenovo T410 running Ubuntu Natty

Thanx
Reply With Quote
  #6  
Old 20th May 2011, 10:44 PM
pabloguevara Offline
Registered User
 
Join Date: Apr 2005
Location: Buenos Aires
Posts: 98
linuxfedorafirefox
Re: Mobile Broadband FC13 Huawei E173

good to know it works in F14 since I have upgraded, I still need to test my 3G modem
Reply With Quote
Reply

Tags
dell, e173, fc13, huawei, mobile broadband

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
O2 Mobile Broadband (Huawei E169 HSDPA) Really sluggish. warlordluke Servers & Networking 2 26th December 2009 09:04 PM
Mobile broadband slow on linux (huawei e230) lenzi Servers & Networking 4 1st December 2009 12:58 AM
F12 mobile connection with Huawei E220 + ZTE MF626 with MOVISTAR robledo Servers & Networking 2 1st December 2009 12:21 AM
Fedora 9 - How to Setup and Use a T-Mobile Web'n'Walk Stick/Huawei E170 3G USB Modem jaygeefed Guides & Solutions (No Questions) 0 2nd November 2008 10:30 AM
Huawei Mobile Connect - 3G Modem Problem jaygeefed Hardware & Laptops 1 30th October 2008 01:51 PM


Current GMT-time: 04:38 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat