The existence of the USB driver can be checked from the content of the directory /sys/bus/usb/drivers. For example: carl@carl-OptiPlex-7010:~$ ls /sys/bus/usb/drivers hub option usb usbfs usbhid usbserial usbserial_generic rndis_host cdc_ether If USB serial driver is required, please make sure option exists. If ECM driver is required, please make sure cdc_ether exists. If RNDIS driver is required, please make sure rndis_host exists.
标签:usb,exists,bus,drivers,driver,sys From: https://www.cnblogs.com/hshy/p/16983383.html