#9phone — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #9phone, aggregated by home.social.
-
I put an sd card image publicly at http://driusan.net/2026.06.23.pinephone.img.gz since I had to create a new one after screwing something up on my old one anyways. (might take it down later)
For some reason writing u-boot to the eMMC isn't working for me, but booting from the sdcard lets you inst/start to the eMMC and you can mount it as the root fs.
#9phone #9front #plan9 -
zomgs. I just booted with the eMMC as the root filesystem. Only 1 step away from booting without an sdcard! #9phone -
Now that it's reading the port I don't know how long I should wait for my #9phone to get a gps fix. It's been probably half an hour to 45 minutes so far?
-
Finally got around to trying adventurein9's fix for my i2c driver.. it works, so now the i2c bus is done. Also tried an idea I had for the audio. It does not work. Still no progress there. F'ing audio. Why do phones need audio anyways?
#9phone -
Now that I can access the modem on my #9phone, what should I prioritize next?
-
Accelerometer/gyroscope ✅
Light/proximity sensor ✅
Going to try and get the compass reading data tonight before I turn them all into filesystems and put them online somewhere. Then I'll have all the i2c sensors working.
#9phone -
Woo, got the accelerometer/gyroscope to work on my #9phone. Now I need to convert it from something that just prints to stdout to a fs.
Should probably try and figure out if there's prior art for how the fs should be structured.. -
CW: 9phone
Finally got a chance to play with it after getting ehci working. Even though the devices are getting enumerated from the modem, nusb doesn't seem to be creating the serial devices for the at command interface or gps or usb ethernet in /dev that I expect. Not sure if I want to debug this so I can use the gps and send sms messages or start on trying to get the audio working.
Fixed up my userspace mouse emulator so that the volume keys work as button 2 and 3 and the touchscreen works as button 1. Can go back to launching rio with a bitsy/keyboard on boot.
#9phone -
CW: 9phone update, March 6
I fixed the keyadc_event (volume keys) which means between keyadc_event and devi2c I should be able to emulate a 3 button mouse.
My vacation is almost over so I'm running out of time to dedicate to this, but there are 2 big blockers that I can't figure out.
1. The usb port isn't charging. It charges in Linux, but refuses to charge when plugged in under #9front.
2. The usb isn't working in general. The root endpoints are there and ehci does.. stuff.. on initialization but it never raises any interrupts and never does anything after the init.
I think these are beyond my skill level. I don't even know where to start. Nothing I've done or looked into has helped.
#9phone #plan9 -
CW: 9phone
Did some cleanup on the pio code. Added a very crude approximation of /dev/battery which is enough to confirm that the battery doesn't charge when booted into Plan9.. will have to look into that.. but at least I can monitor how fast it's dying now.
#9phone -
I've decided (without evidence) that my problem is that the usb otg port is defaulting to peripheral mode and the way to turn it to host mode isn't documented. So I'm going to try getting the modem to work which is on a non-otg usb bus. Which may be problematic if my problem is, in fact, my usb driver.
#9phone -
CW: 9phone
Finally got around to doing some much needed cleanup on my #9phone. Separated the lcd initialization code from the allwinner display engine code. Moved the display engine clock stuff to the ccu. Separated the pinephone specific backlight code from the display engine. Made the default brightness a conf. The lcd needs the same type of cleanup that the display got, but first I'm going to try getting the usb working (which should get me the gps for free and may or may not get me phone calls. Not sure if I'll need an audio/microphone driver or if the modem is wired directly to the hardware..)
Should probably set up git properly on my laptop and stop committing as "glenda".. -
I'm starting to think that my problem is that the backlight turns off here: https://github.com/driusan/9front-A64/blob/main/display.c#L945-L950 for unknown reasons and won't turn back on.
#9phone