1Android USB devices (eg. /sys/class/android_usb/android0/) 2 3What: /sys/class/android_usb/<android_device>/state 4Date: Feb 2024 5Contact: Neill Kapron <nkapron@google.com> 6Description: 7 The state of the USB connection. This attribute is likely 8 redundant with the /sys/class/UDC/state attribute, and should 9 be deprecated/removed when userspace can be refactored. 10 Change on the state will also generate uevent KOBJ_CHANGE on 11 the port with the new state included in the message as 12 "USB_STATE=<STATE>". Note this is not the correct usage of 13 uevents, but necessary due to the requirement to maintaine 14 userspace API compatibility. 15 16 Valid values: CONNECTED, DISCONNECTED, CONFIGURED 17