[CentOS] 3g usb dongle - Huawei E1552

Ljubomir Ljubojevic centos at plnet.rs
Sun Jan 26 19:59:48 UTC 2014


On 01/26/2014 08:36 PM, Christo Larsen wrote:
> Hi
>
> Please could someone assist me?
>
> Iǘe got a 3g usb dongle - Huawei E1552.
>
> [root@]# lsusb
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 002: ID 03f0:8407 Hewlett-Packard
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> 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 002: ID 413c:8140 Dell Computer Corp. Wireless 360 Bluetooth
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 005: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552
> (HSPA modem)
> Bus 002 Device 003: ID 0408:20f5 Quanta Computer, Inc.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> So I ran...
>
> [root@]# usb_modeswitch -v 12d1 -p 1446 -W -R -s 60 -c
> /etc/usb_modeswitch.d/12d1\:1446
>
> Reading config file: /etc/usb_modeswitch.d/12d1:1446
>
> * usb_modeswitch: handle USB devices with multiple modes
> * Version 1.2.3 (C) Josua Dietze 2012
> * 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,1412,141b,1433,1436,14ac,1506"
>
> 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 enabled (default)
> Success check enabled, max. wait time 60 seconds
> System integration mode disabled
>
>
> usb_set_debug: Setting debugging level to 15 (on)
> usb_os_find_busses: Found 008
> usb_os_find_busses: Found 007
> usb_os_find_busses: Found 006
> usb_os_find_busses: Found 005
> usb_os_find_busses: Found 004
> usb_os_find_busses: Found 003
> usb_os_find_busses: Found 002
> usb_os_find_busses: Found 001
> usb_os_find_devices: Found 001 on 008
> usb_os_find_devices: Found 002 on 007
> skipped 1 class/vendor specific interface descriptors
> usb_os_find_devices: Found 001 on 007
> error obtaining child information: Inappropriate ioctl for device
> usb_os_find_devices: Found 001 on 006
> usb_os_find_devices: Found 001 on 005
> usb_os_find_devices: Found 001 on 004
> usb_os_find_devices: Found 002 on 003
> skipped 1 class/vendor specific interface descriptors
> usb_os_find_devices: Found 001 on 003
> error obtaining child information: Inappropriate ioctl for device
> usb_os_find_devices: Found 005 on 002
> usb_os_find_devices: Found 003 on 002
> skipping descriptor 0xFF
> skipping descriptor 0xB
> skipped 2 class/vendor specific endpoint descriptors
> skipped 6 class/vendor specific interface descriptors
> skipping descriptor 0x25
> skipped 1 class/vendor specific endpoint descriptors
> skipped 22 class/vendor specific interface descriptors
> usb_os_find_devices: Found 001 on 002
> error obtaining child information: Inappropriate ioctl for device
> error obtaining child information: Inappropriate ioctl for device
> usb_os_find_devices: Found 001 on 001
> Looking for target devices ...
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 03f0:8407
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 413c:8140
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 12d1:1446
> found matching vendor ID
> searching devices, found USB ID 0408:20f5
> searching devices, found USB ID 1d6b:0002
> searching devices, found USB ID 1d6b:0002
> No devices in target mode or class found
> Looking for default devices ...
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 03f0:8407
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 413c:8140
> searching devices, found USB ID 1d6b:0001
> searching devices, found USB ID 12d1:1446
> found matching vendor ID
> found matching product ID
> adding device
> searching devices, found USB ID 0408:20f5
> searching devices, found USB ID 1d6b:0002
> searching devices, found USB ID 1d6b:0002
> Found device in default mode, class or configuration (1)
> Accessing device 005 on bus 002 ...
> Getting the current device configuration ...
> OK, got current device configuration (1)
> Using first interface: 0x00
> Using endpoints 0x01 (out) and 0x81 (in)
> Inquiring device details; driver will be detached ...
> Looking for active driver ...
> USB error: could not get bound driver: No data available
> No driver found. Either detached before or never attached
>
> I keep on getting the ¨No driver found" error...
>
> [root@]# rpm -qa | grep usb_modeswitch
> usb_modeswitch-data-20120120-1.el6.rf.noarch
> usb_modeswitch-1.2.3-1.el6.rf.i686
>
> Running Centos 6.4
>
>
> Any Idea´s?

That is RepoForge package, you have ask the help from them.


I used Huawei E-1550 and had this in my config (usb_modeswitch.conf.e1550):

# Huawei E1550
#
# Contributor: Anders Blomdell, Ahmed Soliman

DefaultVendor=  0x12d1
DefaultProduct= 0x1446

TargetVendor=   0x12d1
TargetProduct=  0x1001

# only for reference and 0.x versions
# MessageEndpoint=0x01

MessageContent="55534243123456780000000000000011060000000000000000000000000000"

and in 55-e1550.rules:

SUBSYSTEM=="usb", ATTRS{idProduct}=="1446", ATTRS{idVendor}=="12d1", \
   RUN+="/usr/bin/usb_modeswitch -c /etc/usb_modeswitch.conf"



Also try solution from here: 
https://www.centos.org/forums/viewtopic.php?t=26350


-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant



More information about the CentOS mailing list