Rename to udev rule and add more comments
This commit is contained in:
parent
364103851b
commit
bce3f27545
|
@ -4,15 +4,17 @@ ACTION!="add|change", GOTO="mbim_to_qmi_rules_end"
|
||||||
SUBSYSTEM=="usb", \
|
SUBSYSTEM=="usb", \
|
||||||
ATTR{bNumConfigurations}=="1", GOTO="mbim_to_qmi_rules_end"
|
ATTR{bNumConfigurations}=="1", GOTO="mbim_to_qmi_rules_end"
|
||||||
|
|
||||||
# force Dell WWAN 5809e to configuration #1
|
# load qcserial module
|
||||||
SUBSYSTEM=="usb", \
|
SUBSYSTEM=="usb", \
|
||||||
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \
|
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \
|
||||||
RUN+="/sbin/modprobe -b qcserial"
|
RUN+="/sbin/modprobe -b qcserial"
|
||||||
|
|
||||||
|
# force Dell WWAN 5809e to configuration #1
|
||||||
SUBSYSTEM=="usb", \
|
SUBSYSTEM=="usb", \
|
||||||
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \
|
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \
|
||||||
ATTR{bConfigurationValue}="1"
|
ATTR{bConfigurationValue}="1"
|
||||||
|
|
||||||
|
# add the new id in the qcserial driver
|
||||||
SUBSYSTEM=="drivers", \
|
SUBSYSTEM=="drivers", \
|
||||||
ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \
|
ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \
|
||||||
ATTR{new_id}="413c 81b1"
|
ATTR{new_id}="413c 81b1"
|
Loading…
Reference in New Issue
Block a user