This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
6cc883c
commit f4de078
Showing
1 changed file
with
43 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters