Author Message

<  Device Information  ~  Huawei E3276 in HiLink-Mode (12d1:1f01)

PostPosted: Sat May 06, 2017 12:21 pm Reply with quote
Posts: 2Joined: Sat May 06, 2017 12:09 pm
I am using a Huawei E3276s-150 (HiLink) on a Raspberry 2 and need access to the AT-commands. usb_modeswitch switch from 12d1:1f01 to "12d1:14db Huawei Technologies Co., Ltd.", but no /etc/ttyUSBn, or others, are applied. Instead there ist only the eth1 applied.

Is there a solution available to switch to modem-mode, e.g. 12di:1506, or a workaround w/o downgrade the modem-firmware to 21.nnn?

When I use 21.nnn firmware, I got /dev/ttyUSB0, /dev/ttyUSB1 and wwan0.

Code:
Modem Huawei E3276, HiLink:
Firmware: 22.470.13.00.00 (last available revision(?))
WebGUI  : 17.100.03.01.03_Hilink_V7R1_V3R2
lsusb   : 12d1:1f01 Huawei Technologies Co., Ltd.


Code:
usb_modeswitch -e
Version 2.5.0 (C) Josua Dietze 2017


Code:
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian


Offline Profile
PostPosted: Sat May 06, 2017 2:49 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
You can try with the switch message used by Android to switch some Huawei HiLink devices to 12d1:1001.

55534243123456780000000000000011063000000100010000000000000000

is the msg but I wouldn't be surprised if it doesn't work on E3276.


Offline Profile
PostPosted: Sun May 07, 2017 5:07 pm Reply with quote
Posts: 2Joined: Sat May 06, 2017 12:09 pm
LOM wrote:
55534243123456780000000000000011063000000100010000000000000000


Thats it!

You save my day, month and also the year. This is a combination i've never tried. And I tried a lot.

This will not fix all of the problems with this dongle but I am set. As conclusion what I have done after the device switch to "12d1:158e Huawei Technologies Co., Ltd.":
Quote:
cat /usr/share/usb_modeswitch/12d1:1f01
# Huawei E3276, E353 (3.se) and others
# HuaweiNewMode=1 won't work!

TargetVendor=0x12d1
TargetProductList="158e,14db,14dc"
# HuaweiNewMode=1
MessageContent="55534243123456780000000000000011063000000100010000000000000000"


This creates /dev/ttyUSB0, /dev/ttyUSB1 und wwan0. If they are working as expected is kind of extra testing.

Is this a kind of new configuration I should report?


BTW: SniffUSB is not available any more.


Offline Profile
PostPosted: Sun May 07, 2017 6:41 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
bor wrote:
# HuaweiNewMode=1 won't work!


Eh, HuaweiNewMode works and gives the result that Huawei intended for linux.
There is a built-in webserver in this mode and you can do everything from it, you
don't need any serial interfaces for that.

bor wrote:
Is this a kind of new configuration I should report?


You have reported it by posting here but it is nothing that can be generally used in usb_modeswitch for linux.
The result of the cmd is highly dependent on the dongles firmware and will for some firmwares not
create an interface layout that is usable.
This switch msg was a fallback msg intended to make a smart modem become a dumb modem (ppp dialup only) for Android devices without wwan drivers.
What we have learned from your test is that there are now dongle firmwares which does not fall back to dumb modem but instead falls back to an intelligent mode.


Offline Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 1
4 posts
Users browsing this forum: No registered users and 4 guests
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum