And yes that USB gadget thing. I had to use it recently to turn a RPi Zero into a parallel -> USB converter. It's impossible to debug and sometimes makes you question your own sanity. Here's my script that does it: https://github.com/grishka/miscellaneous/blob/master/AVDecod...
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...