USB Modem setup instructions fail

#1 says to expect this line:

Bus 001 Device 006: ID 12d1:1f01 Huawei Technologies Co., Ltd.

however, I get:

Bus 001 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

If I try the instructions on the above page, obviously I get:

No devices in target mode or class found

If I change the product id to look for, it still fails:

root@ddrucker-pi:/home/pi# usb_modeswitch -v 0x12d1 -p 0x1506 -V 0x12d1 -P 0x1001 -M "555342430000000000000
Look for target devices ...
 No devices in target mode or class found
Look for default devices ...
   product ID matched
 Found devices in default mode (1)
Access device 005 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
Error: can't use storage command in MessageContent with interface 0;
       interface class is 255, expected 8. Abort

What do I do?


Hi, it looks like you’re using a Huawei E398? Our instructions are for the E303. I guess the PID and VID were changed on that model.

I’m not sure what they are for that model. On the E303, there was a feature where on Windows you could plug in the modem and go to and it would flip into serial mode. You could then find out the PID and VID in the Windows device manager. Maybe that’s a way to figure this out?