FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2005
    Location
    Buenos Aires
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 03:29 PM.

  2. #2
    Join Date
    Nov 2010
    Location
    Dehradun, Uttarakhand, India
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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........

  3. #3
    Join Date
    Apr 2005
    Location
    Buenos Aires
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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...

  4. #4
    Join Date
    Jan 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Re: Mobile Broadband FC13 Huawei E173

    Only for register ...

    This tip, works with me, in FC14

    I did the same step

  5. #5
    Join Date
    May 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Re: Mobile Broadband FC13 Huawei E173

    Works for me too - Lenovo T410 running Ubuntu Natty

    Thanx

  6. #6
    Join Date
    Apr 2005
    Location
    Buenos Aires
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  7. #7
    Join Date
    Aug 2016
    Location
    Indoensia
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mobile Broadband FC13 Huawei E173

    Quote Originally Posted by pabloguevara
    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...
    This steps, work for me to...

    Thank you guys

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •