Modem Firmware Upgrade - Modem Busy - USB Issues - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Modem Firmware Upgrade - Modem Busy - USB Issues (/showthread.php?tid=17186) Pages:
1
2
|
Modem Firmware Upgrade - Modem Busy - USB Issues - biketool - 08-21-2022 (edit)***Following the thread below I got the problem solved, turns out sudo su is needed and sudo is not enough permissions to flash the modem*** https://github.com/the-modem-distro/pinephone_modem_sdk/releases It has been suggested that upgrading the firmware on the modem can help Bookworm users get GPS working. There is no mention in the troubleshooting if I cant even pass the AT commands as it shows the port busy. I am running a 3/32gb upgrade board PP. Code: mobian@mobian:~$ echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 No AT commands means no fastboot possible, no fastboot means no upgrade. Code: mobian@mobian:~$ fastboot flash modem NON-HLOS.ubi && fastboot reboot I am concerned as I understand the GPS device should be on USB1 modem on USB2 but we see.(anyone can post their lsusb to see if there is a difference) Code: mobian@mobian:~$ lsusb RE: Modem Firmware Upgrade - Modem Busy - USB Issues - jsch - 08-21-2022 I'm nut sure if lsusb lists the (sub-)functions of the USB device. The modem knows the following tty: Code: mmcli -m any --output-keyvalue | grep -F modem.generic.ports.value Code: tree /dev/serial/by-id/ RE: Modem Firmware Upgrade - Modem Busy - USB Issues - biketool - 08-21-2022 (08-21-2022, 03:25 AM)jsch Wrote: I'm nut sure if lsusb lists the (sub-)functions of the USB device. got it; I also show same from mmcli -m any --output-keyvalue | grep -F modem.generic.ports.value I still don't know why AT commands get refused Code: mobian@mobian:~$ mmcli -m any --output-keyvalue | grep -F modem.generic.ports.value RE: Modem Firmware Upgrade - Modem Busy - USB Issues - dcinoz - 08-21-2022 (08-21-2022, 02:22 AM)biketool Wrote: https://github.com/the-modem-distro/pinephone_modem_sdk/releases If I recall correctly and from https://github.com/the-modem-distro/pinephone_modem_sdk/issues/135 you need to run this from a root shell, so run 'sudo su' to enter root shell and then it should work. RE: Modem Firmware Upgrade - Modem Busy - USB Issues - biketool - 08-21-2022 (08-21-2022, 05:00 AM)dcinoz Wrote:(08-21-2022, 02:22 AM)biketool Wrote: https://github.com/the-modem-distro/pinephone_modem_sdk/releases tried that now too, I am not a master of the functional differences between sudoing and running as su but it has almost never been important to my work Code: mobian@mobian:~$ sudo su I also tried ADB as below from https://github.com/the-modem-distro/pinephone_modem_sdk/blob/hardknott/docs/FLASHING.md Code: mobian@mobian:~$ sudo adb reboot bootloader RE: Modem Firmware Upgrade - Modem Busy - USB Issues - dcinoz - 08-21-2022 I just tried it and it worked for me (tried with sudo echo in root and that doesn't work, already sudo as root@mobian). Code: mobian@mobian:~/Downloads$ sudo su To see firmware version: Code: root@mobian:/home/mobian/Downloads# mmcli -m any --command='AT+GMR' RE: Modem Firmware Upgrade - Modem Busy - USB Issues - biketool - 08-21-2022 (08-21-2022, 05:36 AM)dcinoz Wrote: I just tried it and it worked for me (tried with sudo echo in root and that doesn't work, already sudo as root@mobian). Voodoo electronics, I cut/pasted from your post and it worked, is it different than mine?? Anyways it flashed, lets go GPS? (edit) Getting useful results from the GPS now, (sudo watch -n 5 mmcli -m any --location-get) still waiting for it to update almanac as I dont like to use wireless nodes to speed up a fix, not locked yet, but receiving satellite signals. still relevant there are four firmware versions, how to choose which, the git page https://github.com/the-modem-distro/pinephone_modem_sdk/releases is pretty vague about choosing the one "which works best for you" (edit2) Can anyone explain why I can run gnome maps for 30 min and never get a GPS lock but maybe 30sec of running the puremaps and it finally gets a location in sudo journalctl -u geoclue.service -n 20 as well as all apps. I reject the stupid voodoo aspect we are not Adeptus Mechanicus, but I do not see a good causal connection. RE: Modem Firmware Upgrade - Modem Busy - USB Issues - dcinoz - 08-21-2022 (08-21-2022, 06:07 AM)biketool Wrote: Voodoo electronics, I cut/pasted from your post and it worked, is it different than mine?? Anyways it flashed, lets go GPS? Excellent news, glad it worked! You had 'sudo echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2' as root and that doesn't work (not a sudo / su expert) whereas 'echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2' does... Hope GPS works better. RE: Modem Firmware Upgrade - Modem Busy - USB Issues - biketool - 08-21-2022 More news... I don't know if this is modem firmware or the OS upgrades; I cant do data or phonecalls now, they drop without ringing out. I did try all four firmware versions though, but any option I choose in the mobile network crashes the settings GUI. (edit) I just received a call, now calling works in and out; but still cant go data. WHere is the .conf file for the dialer and other mobile network settings? (edit) ***IT WAS THE MOBIAN AUGUST 2022 OS UPDATES PROBLEM, AFTER A ROLLBACK REINSTALL MOBILE DATA IS FINE AFTER CHOOSING AN APN*** RE: Modem Firmware Upgrade - Modem Busy - USB Issues - biketool - 09-05-2022 I am not sure this was such an issue with the factory firmware but now I am having an issue where after 12-24 hours I show 4g and full bars but cant receive calls or SMSs, a quick phone reboot(vs going into terminal and rebooting just the modem) as I needed to make a call and I get a huge backlog of SMSs and modem is OK. I have done this a few times now and it seems to be an issue. Maybe I should make a startup script daemon to reboot the modem every few hours. Anyone have a better idea? (edit) for a baseline I re-flashed to ADSP Version 01.002.01.002 |