by megous · 6y ago · 0 comments
If anyone is interested in original info from the author of the USB-C/HDMI work, I also put useful information/observations from my work on the kernel and PinePhone here:
https://xnux.eu/devices/pine64-pinephone.html
The current thing on my radar is writing a power manager for the modem. :) That will improve the standby from 24h with the modem active to ~90h.
EDIT: All is well, btw. There's just a lot of pressure on pine64's small team, and it's hard to keep up with everything.
As a late-but-early adopter of other phone projects the thankless work that you do is what allows adopters like me to even get started. Thank you.
Booting to my custom init process, initializing the system and running my UI app in ~1 second
Try that with any other smartphone...
I've also experimented with booting to electron and having the whole phone UI written in it...
https://megous.com/dl/tmp/a1017dd38ca6ce10.png
Batter gains in standby are something else. Main CPU is off, and no processes are thus running, so it doesn't matter what SW you have, for those gains.
But yeah, this category of smartphones definitely is something special :)
Librem 5 has a slightly faster CPU, more than twice as fast RAM and pretty much the same eMMC speed as the PinePhone. Boot times should generally be similar, with Librem 5 slightly winning, and that matches my observations so far with similar distros running on both devices.
No videos yet though, I may record some in the future :)
It's a pity this requires tricky surface mount rework.
Thankfully, just removing the switches will fix CC pins and PP will be able to work with many USB-C peripherals after that.
I have two pinephones that work nicely with two different USB-C docks and an USB-C 4x USB-A adapter just with this fix.
There are probably not that many interesting peripherals/cables that would benefit from supplying power over CC pins. (which just removing the switches makes impossible) A lot of peripherals will make do with VBUS power.
Is it possible to manually configure the port to work with HDMI or as a host (in sysfs), or is the hardware change required (on preorder/braveheart phone)?
Is there a single place with the most up-to-date kernel sources with usb hardware drivers, audio support for modem, etc.?
I'm aware of three maintained kernel trees specifically for PinePhone:
Samuel's: https://github.com/smaeul/linux Mine: https://github.com/megous/linux/ Pine64: https://gitlab.com/pine64-org/linux/commits/pine64-kernel-5....
I think at the moment all of those are pretty much equivalent feature-wise, except for some mild differences.
It's not possible to workaround (in software) anything that requires CC pins to work properly, that includes setting up display port alternate mode.
You can also set up RTC to wake up the phone periodically and perform whatever polling you need and put it back to sleep afterwards, all automatically.