commit | f4de078388242fff9b68c04b122e8a095cab9b0e | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Wed Aug 01 18:54:02 2012 -0700 |
committer | Benoit Goby <benoit@android.com> | Thu Aug 02 12:20:25 2012 -0700 |
tree | 8be5068a07968a577b7ca8530e833034f946d2f6 | |
parent | 6cc883ca098f34bd126478a6aa19d5cce48d71a9 [diff] |
libusbhost: Fix USB device discovery on boot On some devices, /dev/bus/usb does not exist on boot, it is only created when the otg port is in host mode. Use inotify to detect when /dev/bus/usb is created and then start watching subdirectories. Change-Id: Ic1472a5ea7a7118cdbb560cc7071ade9bcee753a