Hi, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes: >> The only other files I find in sysfs are the ones referring to the >> module being loaded, but those do not change with eject. >> >> What should I look for? > > Somewhere under /sys/devices will be a directory for the system's USB > device controller. Beneath that will be the gadget directory for you can start from /sys/class/udc/ -- balbi