-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path99-dell5811e.rules
More file actions
33 lines (26 loc) · 1.01 KB
/
Copy path99-dell5811e.rules
File metadata and controls
33 lines (26 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
ACTION!="add|change", GOTO="mbim_to_qmi_rules_end"
SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end"
# ignore any device with only one configuration
SUBSYSTEM=="usb", \
ATTR{bNumConfigurations}=="1", GOTO="mbim_to_qmi_rules_end"
# load qcserial module
SUBSYSTEM=="usb", \
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b6", \
RUN+="/sbin/modprobe -b qcserial"
# force Dell WWAN 5809e to configuration #1
SUBSYSTEM=="usb", \
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b6", \
ATTR{bConfigurationValue}="1"
# add the new id in the qcserial driver
SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \
ATTR{new_id}="413c 81b6"
# load qmi_wwan module
SUBSYSTEM=="usb", \
ATTR{idVendor}=="413c", ATTR{idProduct}=="81b6", \
RUN+="/sbin/modprobe -b qmi_wwan"
# add the new id in the qmi_wwan driver
SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \
ATTR{new_id}="413c 81b6"
LABEL="mbim_to_qmi_rules_end"