Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
peeq
Posts: 1
Joined: 02 Jul 2014, 23:21

Huawei E3131h-2 and usb-modeswitch 1.2.3

Post by peeq » 02 Jul 2014, 23:35

Hi guys

I have problem with switching Huawei E3131h-2 (12d1:15ca) to modem mode. I do not have an idea for a solution to the problem. I start in this article: http://www.draisberghof.de/usb_modeswit ... f=2&t=1951 but modem doesn't switch. I'm trying connect GSM modem to my raspberrypi. In disto i have usb-modeswitch in version 1.2.3+repack0-1. Was this version of the package should handle this modem?

I try to run usb_modeswitch -v 12d1 -p 15ca -V 0x12d1 -P 0x1506 -M "55534243000000000000000000000011060000000000000000000000000000" but:
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 000 on bus 001 ...
Getting the current device configuration ...
Error getting the current configuration (error -1). Assuming configuration 1.
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
Could not claim interface (error -1). Skipping device inquiry
Error: could not get description string "manufacturer"
Error: could not get description string "product"
Error: could not get description string "serial number"

USB description data (for identification)
-------------------------
Manufacturer:
Product:
Serial No.:
-------------------------
Looking for active driver ...
No driver found. Either detached before or never attached
Setting up communication with interface 0
Could not claim interface (error -1). Skipping message sending
-> Run lsusb to note any changes. Bye.
I've found other configuration file in new beta version of usb_modeswitch-data:
cat ./12d1\:15ca
# Huawei E3131
TargetVendor=0x12d1
TargetProduct=0x1506
HuaweiNewMode=1
This means that I can dream of starting a modem to version 1.2.3?

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Huawei E3131h-2 and usb-modeswitch 1.2.3

Post by Josh » 08 Jul 2014, 22:05

The errors you see right at the beginning of your log are unusual; I suspect it's a Raspberry problem. You don't even get any access to the stick.

I believe there are some versions of the USB host driver that are known to be faulty. Maybe Google can help?

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Huawei E3131h-2 and usb-modeswitch 1.2.3

Post by LOM » 09 Jul 2014, 19:23

peeq wrote:
cat ./12d1\:15ca
# Huawei E3131
TargetVendor=0x12d1
TargetProduct=0x1506
HuaweiNewMode=1
This means that I can dream of starting a modem to version 1.2.3?
You can try with a correct modeswitch message:

"55534243123456780000000000000011062000000101000100000000000000"

Post Reply