mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-16 11:13:33 +08:00
system/adb: using inotify to check usb hotplug event
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
7ab6704920
commit
6116558842
@ -113,13 +113,25 @@ config ADBD_USB_SERVER
|
||||
---help---
|
||||
Run adb daemon on USB bus
|
||||
|
||||
choice
|
||||
prompt "Check usb hotplug"
|
||||
default ADBD_USB_HOTPLUG_BYTIMER
|
||||
|
||||
config ADBD_USB_HOTPLUG_BYTIMER
|
||||
bool "Using 1s timer to check usb hotplug"
|
||||
depends on ADBD_USB_SERVER
|
||||
default n
|
||||
---help---
|
||||
Using 1s timer to check usb hotplug
|
||||
|
||||
config ADBD_USB_HOTPLUG_BYNOTIFY
|
||||
bool "Using fs notify to check usb hotplug"
|
||||
depends on ADBD_USB_SERVER
|
||||
depends on FS_NOTIFY
|
||||
---help---
|
||||
Using fs notify to monitor usb hotplug
|
||||
|
||||
endchoice # Check usb hotplug
|
||||
|
||||
config ADBD_LOGCAT_SERVICE
|
||||
bool "ADB logcat support"
|
||||
select LIBC_PRINT_EXTENSION
|
||||
|
Loading…
x
Reference in New Issue
Block a user