modem_scan: add cdc_acm and usbserial_generic to serial driver filter
This commit is contained in:
parent
ec6f9e3cdb
commit
b5b25f474f
@ -173,6 +173,8 @@ scan_pcie_slot_interfaces()
|
|||||||
[ -z "$interface_driver" ] && continue
|
[ -z "$interface_driver" ] && continue
|
||||||
case $interface_driver in
|
case $interface_driver in
|
||||||
option|\
|
option|\
|
||||||
|
cdc_acm|\
|
||||||
|
usbserial_generic|\
|
||||||
usbserial)
|
usbserial)
|
||||||
ttyUSB_device=$(ls "$assoc_usb_path/$interface/" | grep ttyUSB)
|
ttyUSB_device=$(ls "$assoc_usb_path/$interface/" | grep ttyUSB)
|
||||||
ttyACM_device=$(ls "$assoc_usb_path/$interface/" | grep ttyACM)
|
ttyACM_device=$(ls "$assoc_usb_path/$interface/" | grep ttyACM)
|
||||||
@ -207,6 +209,8 @@ scan_usb_slot_interfaces()
|
|||||||
[ -z "$interface_driver" ] && continue
|
[ -z "$interface_driver" ] && continue
|
||||||
case $interface_driver in
|
case $interface_driver in
|
||||||
option|\
|
option|\
|
||||||
|
cdc_acm|\
|
||||||
|
usbserial_generic|\
|
||||||
usbserial)
|
usbserial)
|
||||||
ttyUSB_device=$(ls "$slot_path/$interface/" | grep ttyUSB)
|
ttyUSB_device=$(ls "$slot_path/$interface/" | grep ttyUSB)
|
||||||
ttyACM_device=$(ls "$slot_path/$interface/" | grep ttyACM)
|
ttyACM_device=$(ls "$slot_path/$interface/" | grep ttyACM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user