4 ms·
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.
by fragmede 3y 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.
- goncalomb 3y agoAuthor 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.