Wow! Serendipitous, I was just doing the same thing on my duet (trogdor) but I was focused on using Claude to enable the camera (missing in the device tree). I taught it to use depthcharge to reboot into the previous Kernel if a build failed; otherwise boot and start the same Claude chat so I could just let it iterate for days. It took a day to get something usable, pretty amazing.
Then I setup `howdy` to use the camera for auth.
now I’m just trying to figure out if I’m allowed to submit this upstream. Postmarketos explicitly rejects LLM submission, but I can submit it to linux-next. Seems to me a shame, this enables folks who have devices and want to fix things (but lack the time/knowledge) to use these LLM powers for a very good cause.
Plasma mobile has been really great for me, you should try it out!
I tried (and gave up) to do the same on my trogdor with postmarket because it was the only thing really missing for it to be a daily driver. Any chance you could publish what Claude did ? This article and thread tells me there are more people hacking on the duet than I thought. Maybe we'll be a handful to use your patch.