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="55534243123456780011062001"
> 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