Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
rebser
Posts: 3
Joined: 23 Dec 2014, 13:43

Need help with E3131 variant 12d1:15ca

Post by rebser » 23 Dec 2014, 14:06

Hello everyone,

I'm trying to equip some raspberries with Huawei E3131 sticks.
Therefore I ordered some E3131's from Amazon and expected to get 12d1:1f01 devices like the ones that I got before.
But the new ones that I got are a new 12d1:15ca variant.

So the command

Code: Select all

/usr/bin/sg_raw /dev/sr0 11 06 20 00 00 00 00 00 01 00
fails with "do_scsi_pt: Bad address"
I understand that sg_raw just sends raw binary commands to a given device, but don't actually understand how to find out which message to send. All i know is I got this message from this discussion of the raspberry forums: http://www.raspberrypi.org/forums/viewtopic.php?t=18996

Please note: What I'm trying to do is set the device into HiLink mode, not modem mode. I want to access the device as a router through eth1, not via sakis3g or wvdial.
Can any of you guys help me with any of the following questions?

1. Does this device even have a HiLink mode like advertised and like the 12d1:1f01 has? On my mac, it installs "Mobile Partner" software and seems to run in modem mode.
2. How can I even find out the target id that I need to switch it to?
3. Can I switch to that mode using usb-modeswitch or do I need sg_raw?
4. How do you guys find out which message you have to send?

Thanks for helping out a very confused guy. :?

Oh, and Merry Christmas!
Last edited by rebser on 05 Jan 2015, 11:12, edited 2 times in total.

rebser
Posts: 3
Joined: 23 Dec 2014, 13:43

Re: Need help with E3131 variant 12d1:15ca

Post by rebser » 05 Jan 2015, 10:57

Happy New Year everybody!
Can anyone give me a hint on this issue?

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

Re: Need help with E3131 variant 12d1:15ca

Post by LOM » 15 Jan 2015, 12:54

12d1:15ca switches to 12d1:1506 when using the switchmsg
55534243123456780000000000000011062000000101000100000000000000

,I'm sure you can find out yourself how much of the msg you need for sg_raw.

This version of E3131 does not create a linux eth device, you will get ppp serial dialup interface(s) and a qmi_wwan /cdc_wdm interface pair.

rebser
Posts: 3
Joined: 23 Dec 2014, 13:43

Re: Need help with E3131 variant 12d1:15ca

Post by rebser » 26 Jan 2015, 16:45

Thank you very much for your reply, even if it is bad news for me. :-(
Does Huawei generally not support their HiLink technology anymore? Why do they still advertise it?

kenvernaillen
Posts: 1
Joined: 15 Dec 2016, 21:58

Re: Need help with E3131 variant 12d1:15ca

Post by kenvernaillen » 15 Dec 2016, 22:05

LOM wrote:12d1:15ca switches to 12d1:1506 when using the switchmsg
55534243123456780000000000000011062000000101000100000000000000

,I'm sure you can find out yourself how much of the msg you need for sg_raw.

This version of E3131 does not create a linux eth device, you will get ppp serial dialup interface(s) and a qmi_wwan /cdc_wdm interface pair.
Does this mean that I can't let them connect anymore?
Or how can I do this?

My previous device (12d1:1f01) just connected automatically when I let usb_modeswitch change it to 12d1:14dc.
Now I have the 12d1:15ca, which switches to 12d1:1506. But I can't connect to the internet.
I really don't know what to do..

Please help :(

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

Re: Need help with E3131 variant 12d1:15ca

Post by Josh » 15 Dec 2016, 22:54

You need to give more information.

What system are you using? Hardware, Linux distribution?

Post Reply