Author Message

<  Setup Discussion  ~  Automatic switch for Huawei E3131 not working

PostPosted: Thu Oct 08, 2015 3:20 pm Reply with quote
Posts: 3Joined: Thu Oct 08, 2015 3:10 pm
Hi,
trying to setup sms notifications for monitoring server, and cant get it work automaticaly.
- GSM modem is Huawei E3131 with idVendor=12d1, idProduct=14fe
- server Debian 8 Jessie with usb_modeswitch v 2.2.0 (latest in debian repo)
- works with usb_modeswitch -v 12d1 -p 14fe -J command

What I tried:

Add device to /lib/udev/rules.d/40-usb_modeswitch.rules
Code:
# Huawei E3131 (Orange SK)
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", RUN+="usb_modeswitch '%b/%k'"


Creat/modify config file /usr/share/usb_modeswitch/12d1:14fe
Code:
# Huawei E3131 (Orange SK variant)
TargetVendor=0x12d1
TargetProductList="1506"
HuaweiNewMode=1


Not sure what to do next - can I ask for some advice? Thanks.


Offline Profile
PostPosted: Thu Oct 08, 2015 3:49 pm Reply with quote
Posts: 1108Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
usb_modeswitch 2.2.5 is the latest version and it will solve your problems.
It is from what I can see available from debian as usb_modeswitch 2.2.5+repack0-1.


Offline Profile
PostPosted: Fri Oct 09, 2015 6:49 am Reply with quote
Posts: 3Joined: Thu Oct 08, 2015 3:10 pm
2.2.0 is latest for stable release:

jessie (stable) (comm):
2.2.0+repack0-2+b1: s390x
2.2.0+repack0-2: amd64 arm64 armel armhf i386 mips mipsel powerpc ppc64el
stretch (testing)
2.2.5+repack0-1: amd64 arm64 armel armhf i386 mips mipsel powerpc ppc64el s390x

But I try install it, did not catch that there was newer version for debian, thanks.


Offline Profile
PostPosted: Fri Oct 09, 2015 7:48 am Reply with quote
Site AdminPosts: 6280Joined: Sat Nov 03, 2007 12:30 am
The deb package of usb-modeswitch has very few dependencies to other packages, as far as I know. If version 2.2.0 runs without complaining or crashing, 2.2.5 will as well.

If you run "usb_modeswitch_dispatcher" and it complains about "libjim", then just update that package too. However, I don't think that will happen. 2.2.5 contains a load of bugfixes against 2.2.0, so it's worth the try.


Offline Profile
PostPosted: Fri Oct 09, 2015 8:06 am Reply with quote
Posts: 3Joined: Thu Oct 08, 2015 3:10 pm
Installed usb-modeswitch 2.2.5 from debian testing repo, seems working. Thanks!


Offline Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 1
5 posts
Users browsing this forum: No registered users and 1 guest
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