When starting a RPi 4 with the LTE Huawei dongle (12d1:1f01), the device stays in CDROM mode and is not switched to LTE router mode automatically. /var/log/message shows "usb_modeswitch failed with exit code 1". Manually submitting "usb_modeswitch -v 12d1 -p 1f01 -W -J -R -w 400" in a root session succeeds and performs the switch. usb_modeswitch-2.6.1-11.fc41 worked like a charm and downgrading to it restores proper functioning. Reproducible: Always Steps to Reproduce: 1. Plug a Huawei LTE dongle. 2. Start the computer 3. Login to a root session Actual Results: - The dongle LED stays red - lsusb shows it as a mass storage device (CDROM icon on desktop). Expected Results: - Led blinks red, then turns green, - lsusb shows it with a different product id and as an LTE - Networking starts on device.
which version ?
(In reply to Patrick Monnerat from comment #0) > When starting a RPi 4 with the LTE Huawei dongle (12d1:1f01), the device > stays in CDROM mode and is not switched to LTE router mode automatically. > > /var/log/message shows "usb_modeswitch failed with exit code 1". > > Manually submitting "usb_modeswitch -v 12d1 -p 1f01 -W -J -R -w 400" in a > root session succeeds and performs the switch. > > usb_modeswitch-2.6.1-11.fc41 worked like a charm and downgrading to it > restores proper functioning. ok , you already wrote the version, I will check
> which version ? usb_modeswitch-2.6.2-1.fc41 I set it in the BZ form, but it seems the latter does not show it on final page :-(
please see https://bugzilla.redhat.com/show_bug.cgi?id=1373274 if not a similar issue udev file moved from /usr/lib/udev/ to /usr/lib/udev/rules.d moreover For debugging of the automated system integration, edit (as root or su) /etc/usb_modeswitch.conf in a text editor and change the line EnableLogging=0 to EnableLogging=1 This gives you a verbose output of the hotplug activity to /var/log/usb_modeswitch_<device>.
> udev file moved from /usr/lib/udev/ to /usr/lib/udev/rules.d I'm currently relying on usb_modeswitch-data-20191128-12.fc41 which contains /usr/lib/udev/rules.d/40-usb_modeswitch.rules Updating this file manually (for tests) shows changes are effective (/var/log/messages) but all attempts failed. > EnableLogging=1 Thanks for the info and your investigations.
ah ok , I going revert the move of usb_modeswitch to /usr/lib/udev/rules.d , it was wrong Thank you for your bug report
FEDORA-2025-bae569b1b4 (usb_modeswitch-2.6.2-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-bae569b1b4
FEDORA-2025-c19624531c (usb_modeswitch-2.6.2-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-c19624531c
FEDORA-2025-f8a424b82f (usb_modeswitch-2.6.2-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2025-f8a424b82f
FEDORA-2025-bae569b1b4 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-bae569b1b4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-bae569b1b4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-c19624531c has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c19624531c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c19624531c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-f8a424b82f has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f8a424b82f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f8a424b82f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-c19624531c (usb_modeswitch-2.6.2-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
usb_modeswitch-2.6.2-2.fc41 fixes the problem for me. Many thanks for your action.
thank you for your feedback !
FEDORA-2025-f8a424b82f (usb_modeswitch-2.6.2-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-bae569b1b4 (usb_modeswitch-2.6.2-2.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.