Hudiy crashes when Quectel EC25 LTE modem is present via oFono

Post Reply
User avatar
budman1758
Posts: 3
Joined: Tue Oct 21, 2025 2:28 am
Location: Riverside California
Contact:

Hudiy crashes when Quectel EC25 LTE modem is present via oFono

Post by budman1758 »

I'm running Hudiy on a Raspberry Pi 5 with Raspberry Pi OS Trixie and a Sixfab LTE Base HAT using a Quectel EC25 modem.

The EC25 enumerates normally as USB device 2c7c:0125 and creates /dev/ttyUSB0 through /dev/ttyUSB3, /dev/cdc-wdm0, and wwan0.

Reproducible behavior:

Hudiy runs normally with the EC25 USB connection disconnected.
Plugging the EC25 into USB while Hudiy is running causes Hudiy to crash immediately.
Starting Hudiy with the EC25 already connected also causes the problem.
Setting autobox.enumerateUsb to false does not fix it.
Removing all autobox.allowedDevices entries does not fix it.
Stopping oFono with sudo systemctl stop ofono fixes the problem.
With oFono stopped, Hudiy starts normally with the EC25 already connected.

NetworkManager/oFono detects the modem as:

oFono modem appeared: /quectelqmi_6

Hudiy is linked against libqofono.so and contains HandsFreeModemConnector, HandsFreeModemsList, TelephonyManager, etc., so it appears Hudiy may be attempting to handle the EC25 as a hands-free telephony modem and crashing.

I need to retain oFono because I use Hudiy's Bluetooth hands-free phone functionality. The EC25 is intended only for cellular Internet access.

Is there a way to make Hudiy/oFono ignore the EC25 cellular modem while retaining Bluetooth HFP phone support?

These items below may be relevant also.

ID_VENDOR_ID=2c7c
ID_MODEL_ID=0125
ID_MODEL=Android
ID_VENDOR=Android

qmi_wwan ... wwan0: register 'qmi_wwan'
NetworkManager: oFono modem appeared: /quectelqmi_6

I spent about 3 hours with an AI chatbot getting to this point. Most of the above was summarized by the chatbot. I would have put this bug report on the Github but that option seems to not be available. Any possibility to fix this?

My goal is to use the cellular modem to give connected clients and the Pi internet access using the hotspot either created by Hudiy or outside of it. This is the same setup I had running on a Pi 4 running Openauto Pro.
"The glass is twice as big as it needs to be".
hudiy
Site Admin
Posts: 659
Joined: Mon Jul 14, 2025 7:42 pm

Re: Hudiy crashes when Quectel EC25 LTE modem is present via oFono

Post by hudiy »

Please provide us logs located in $HOME/.hudiy/log. You can zip the entire directory and upload it to this thread. Also, please check if the problem happens on the latest version of Hudiy.
Hudiy Team
User avatar
budman1758
Posts: 3
Joined: Tue Oct 21, 2025 2:28 am
Location: Riverside California
Contact:

Re: Hudiy crashes when Quectel EC25 LTE modem is present via oFono

Post by budman1758 »

Update: After further testing, the EC25 and Hudiy are now working together normally with oFono running. The original crashes may have been related to USB/power instability rather than a direct Hudiy/oFono incompatibility. I figured out the Pi 5 was being bench-tested with only a 3A supply and was also producing USB overcurrent/reset symptoms. After addressing the USB/power situation and rebooting, Hudiy now starts normally with the EC25 attached. LTE, hotspot sharing, GPS, Android Auto, and HFP calling are all working.

I think its also possible that these crashes may have happened because the hat was not configured when I first started having this issue. Hudiy was installed and operational then the hat was installed and before I could even start configuring it the crashes were going on. Ofono may have been thinking the hat was a phone and crashing when trying to configure it. Thats one of the roads the AI agent and I were following. The actual USB current issues really did not become apparent until I added a USB hat to connect a sound card.

So issue seems resolved for now. This is the latest version of Hudiy. v2.20
You do not have the required permissions to view the files attached to this post.
"The glass is twice as big as it needs to be".
Post Reply