dell: port type hints for the Dell DW5821e
Include port type hints to make probing quicker, and ignore the secondary AT port as it may not be fully functional.
This commit is contained in:
committed by
Dan Williams
parent
d1744c7663
commit
02f9b5b085
@@ -8,5 +8,15 @@ GOTO="mm_dell_port_types_end"
|
||||
LABEL="mm_dell_vendorcheck"
|
||||
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"
|
||||
|
||||
# Dell DW5821e
|
||||
# if 02: primary port
|
||||
# if 03: secondary port (ignore)
|
||||
# if 04: raw NMEA port
|
||||
# if 05: diag/qcdm port
|
||||
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="81d7", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
|
||||
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="81d7", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_IGNORE}="1"
|
||||
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="81d7", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_TYPE_GPS}="1"
|
||||
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="81d7", ENV{.MM_USBIFNUM}=="05", ENV{ID_MM_PORT_TYPE_QCDM}="1"
|
||||
|
||||
GOTO="mm_dell_port_types_end"
|
||||
LABEL="mm_dell_port_types_end"
|
||||
|
||||
Reference in New Issue
Block a user