From 87c41a665520e530dec6017e017e6b9c500d734c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 27 Mar 2017 18:16:19 +0200 Subject: Modem is hopeless --- hel.nix | 62 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/hel.nix b/hel.nix index 829f3cc7..1bc07b54 100644 --- a/hel.nix +++ b/hel.nix @@ -249,37 +249,37 @@ ''; }; - udev.extraRules = '' - ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" - SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end" - - # load qmi_wwan module - SUBSYSTEM=="usb", \ - ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ - RUN+="/sbin/modprobe -b qmi_wwan" - - # force Sierra Wireless EM7455 to configuration #1 - SUBSYSTEM=="usb", \ - ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ - ATTR{bConfigurationValue}="1" - - # add the new id in the qmi_wwan driver - SUBSYSTEM=="drivers", \ - ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \ - ATTR{new_id}="1199 9079" - - # load qcserial module - SUBSYSTEM=="usb", \ - ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ - RUN+="/sbin/modprobe -b qcserial" - - # add the new id in the qcserial driver - SUBSYSTEM=="drivers", \ - ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \ - ATTR{new_id}="1199 9079" - - LABEL="mbim_to_qmi_rules_end" - ''; + # udev.extraRules = '' + # ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" + # SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end" + + # # load qmi_wwan module + # SUBSYSTEM=="usb", \ + # ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ + # RUN+="/sbin/modprobe -b qmi_wwan" + + # # force Sierra Wireless EM7455 to configuration #1 + # SUBSYSTEM=="usb", \ + # ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ + # ATTR{bConfigurationValue}="1" + + # # add the new id in the qmi_wwan driver + # SUBSYSTEM=="drivers", \ + # ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \ + # ATTR{new_id}="1199 9079" + + # # load qcserial module + # SUBSYSTEM=="usb", \ + # ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ + # RUN+="/sbin/modprobe -b qcserial" + + # # add the new id in the qcserial driver + # SUBSYSTEM=="drivers", \ + # ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \ + # ATTR{new_id}="1199 9079" + + # LABEL="mbim_to_qmi_rules_end" + # ''; printing = { enable = true; -- cgit v1.2.3