[Pinephone][Feature Inclusion Request] USB Debugging Interface
Dear Manjaro-ARM developers,
I didn't know in which category this would fit best, but as I'm a Plasma Mobile user I thought to post it here.
In Mobian they make use of some scripts which set-up a usb gadget interface, on which a network is initiated.
I've ported these scripts and adjusted them to be more general for use in different distributions.
The network uses subnet 10.66.0.1/8 to hand out IP-addresses to it's connected USB devices.
Whenever you connect a Laptop/PC to the Pinephone using a USB-C cable the PC/Laptop gets hand out a IP-address in the earlier mentioned subnet.
Whenever the user interface on the Pinephone breaks, which in Plasma still occasionally happens, it can be quite difficult to obtain useful logs for debugging purposes or bug reporting.
This package makes sure that whenever the backend of the OS is still running the device will be easily accessible using a USB connection.
Just connect the USB to a Laptop/PC, issue a ssh (username)@10.66.0.1 and you'll be greeted with the Manjaro ARM SSH shell.
From here it's more easy to get the necessary logs etc.
Let me know what you think of it.
I contributed the package to upstream Arch AUR, so Arch-ARM can make use of it as well.
The package can be found over here: https://aur.archlinux.org/packages/pinephone-dev-tools/
Please test it out and let me know if you encounter any problems or have suggestions to do things differently to make the package even better.
Greetings Jasper