I am new here, but I saw this form is not dead, so I want to ask for help.
I've got my E3372 modem and tested it with Ubuntu 16.04.02 LTS. Everything works nice. Then I have tried it with Raspberry PI 3 Model B with Rasbian Jessie and it shows up as CD-ROM. It does not modeswitch to network adapter.
Although it works by manual switch:
Code: Select all
pi@raspberrypi:~ $ lsusb
Bus 001 Device 025: ID 12d1:157d Huawei Technologies Co., Ltd.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ sudo usb_modeswitch -J -v 12d1 -p 157d
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 025 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI_MOBILE
Product: HUAWEI_MOBILE
Serial No.: 0123456789ABCDEF
-------------------------
Using standard Huawei switching message
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
EDIT:
Also:
Code: Select all
sudo systemctl list-units | grep usb_mod
system-usb_modeswitch.slice loaded active active system-usb_modeswitch.slice
Code: Select all
pi@raspberrypi:~ $ sudo systemctl start usb_modeswitch@1-1.4/1-1.4:1.0.service
pi@raspberrypi:~ $ sudo systemctl status usb_modeswitch@1-1.4/1-1.4:1.0.service
● usb_modeswitch@1-1.4-1-1.4:1.0.service - USB_ModeSwitch
Loaded: loaded (/lib/systemd/system/usb_modeswitch@.service; static)
Active: inactive (dead)
Jul 18 14:27:59 raspberrypi systemd[1]: Started USB_ModeSwitch.
Jul 18 14:43:43 raspberrypi systemd[1]: Starting USB_ModeSwitch...
Jul 18 14:43:43 raspberrypi systemd[1]: Started USB_ModeSwitch.
Jul 18 15:16:45 raspberrypi systemd[1]: Starting USB_ModeSwitch...
Jul 18 15:16:45 raspberrypi systemd[1]: Started USB_ModeSwitch.
Jul 18 15:27:08 raspberrypi systemd[1]: Starting USB_ModeSwitch...
Jul 18 15:27:08 raspberrypi systemd[1]: Started USB_ModeSwitch.
Jul 18 15:27:13 raspberrypi systemd[1]: Stopped USB_ModeSwitch.
Jul 18 15:27:16 raspberrypi systemd[1]: Starting USB_ModeSwitch...
Jul 18 15:27:16 raspberrypi systemd[1]: Started USB_ModeSwitch.
P. S. usb-modeswitch version: 2.2.0+repack0-2