[Solved] usb_modeswitch gets stuck switching a 3G modem

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[Solved] usb_modeswitch gets stuck switching a 3G modem

Postby dipogon » Sun Feb 09, 2014 9:32 pm

Hi, I try to make a 3G USB modem to work in Raspberry Pi with latest usb_modeswitch (2.1.0-1). But it always gets stuck before switching the device:

$this->bbcode_second_pass_code('', '
$ sudo usb_modeswitch -W -I --default-vendor 12d1 --default-product 14fe -c /usr/share/usb_modeswitch/12d1\:14fe
Read config file: /usr/share/usb_modeswitch/12d1:14fe

* usb_modeswitch: handle USB devices with multiple modes
* Version 2.1.0 (C) Josua Dietze 2013
* Based on libusb1/libusbx

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x12d1
DefaultProduct= 0x14fe
TargetVendor= 0x12d1
TargetProductList="1506,150f,151d"
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0

InquireDevice=1

Look for target devices ...
found USB ID 12d1:14fe
vendor ID matched
found USB ID 2101:8501
found USB ID 2101:8500
found USB ID 0424:ec00
found USB ID 0424:9512
found USB ID 1d6b:0002
No devices in target mode or class found
Look for default devices ...
found USB ID 12d1:14fe
vendor ID matched
product ID matched
found USB ID 2101:8501
found USB ID 2101:8500
found USB ID 0424:ec00
found USB ID 0424:9512
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 007 on bus 001
Get the current device configuration ...
OK, got current device configuration (1)
Use interface number 0
Use endpoints 0x0f (out) and 0x8f (in)
Inquire device details; driver will be detached ...
Looking for active driver ...
OK, driver detached
')

Have tested with modems HUAWEI E353 and ZTE MF636+, and with linux-raspberrypi 3.10.29-1 and linux-raspberrypi-latest 3.13.1-1, the modem directly connected to RaspPi and through powered USB Hub, same result. Switching HUAWEI E353 works in my desktop running Arch with kernel 3.12.9-2-ARCH and usb_modeswitch 2.1.0-1. Any ideas how to fix this?
Last edited by dipogon on Tue Feb 18, 2014 7:39 pm, edited 1 time in total.
dipogon
 
Posts: 14
Joined: Sun Feb 09, 2014 8:57 pm

Re: usb_modeswitch gets stuck during switching a 3G modem

Postby dipogon » Tue Feb 18, 2014 7:37 pm

Now after upgrades (at least libusb and usb_modeswitch have been upgraded) usb_modeswitch seems to be working again at least with Huawei E353. Thanks!
dipogon
 
Posts: 14
Joined: Sun Feb 09, 2014 8:57 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest