did you get hid gadget to work using your script? I see stuff being created in /sys/... but I don't get /dev/hidg0 nor does the host see the HID device. Any hints? thanks!