Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: ZTE MF79N 4G LTE USB dongle not working with RPI Zero V1.3 or W V1.1.

$
0
0
Hmmm, digging more into it and following the usb_modeswitch part of this blog https://www.thefanclub.co.za/how-to/how ... and-wvdial I found out it has to be a usb_modeswitch issue.
The MessageContent stated there in the /etc/usb_modeswitch.conf didn't work for my dongle. Further digging brought me to device_reference.txt https://www.draisberghof.de/usb_modeswi ... erence.txt in https://www.draisberghof.de/usb_modeswitch/#download section "Known working hardware".
Scrolling through the file I took the one closest to 19d2:1225, to be 19d2:1224, ZTE MF190. Copied the last 3 lines to my /etc/usb_modeswitch.conf and turned DisableSwitching=1 and the thing worked!!! So my /etc/usb_modeswitch.conf looks like this now:

Code:

# Configuration for the usb_modeswitch package, a mode switching tool for# USB devices providing multiple states or modes## Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher## To enable an option, set it to "1", "yes" or "true" (case doesn't matter)# Everything else counts as "disable"# Disable automatic mode switching globally (e.g. to access the original# install storage)DisableSwitching=1# Disable check for MBIM module presence and configuration globally (to aid# special embedded environments). Available as per-device parameter# 'NoMBIMCheck'DisableMBIMGlobal=0# Enable logging (results in a extensive report file in /var/log, named# "usb_modeswitch_<interface-name>" and probably othersEnableLogging=1# Optional increase of "delay_use" for the usb-storage driver; there are hints# that a recent kernel default change to 1 sec. may lead to problems, particu-# larly with USB 3.0 ports. Set this to at least 3 (seconds) in that case.# Does nothing if the current system value is same or higher#SetStorageDelay=4# If the configuration for your Huawei modem uses the standard switching method,# you can globally set an alternative method here which provides a different mode:# either plain serial PPP (for older modems) or NCM which integrates nicely# with recent Linux distributions, possibly avoiding configuration through a# modem built-in web page. All other modems are not affected.# Available as per-device parameter 'AltHuaweiMode'#HuaweiAltModeGlobal=0DefaultVendor=0x19d2DefaultProduct=0x1225TargetVendor=0x19d2TargetProduct=0x1405MessageContent="5553424312345678000000000000061e000000000000000000000000000000"MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"NeedResponse=1

This seems to work once, direct qfter I mqde the changes, but after restart, no switching.

I’m going further with usb…modeswitch [https://www.draisberghof.de/usb_modeswitch/[/url]and se how far I come and come back later…. But if someone have suggestions…….

Greets,
Bart.

Statistics: Posted by katoen58 — Sat Dec 06, 2025 6:32 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles