Hacker News new | ask | show | jobs
by fragmede 870 days ago
That's awesome. USB Gadget mode has always been a favorite of mine because you can do cool stuff by pretending to be a device like that.
1 comments

Author here. Yes, gadget mode is nice. I was kind of lucky that the serial port "function" worked (not without that small kernel patch). But if they had implemented AOA properly on the head unit, it wouldn't be so easy (they allow a device already in AOA mode, without the "handshake"). I would have to write more kernel code or use Google's "accessory" gadget implementation.