diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-27 18:16:19 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-27 18:16:19 +0200 |
commit | 87c41a665520e530dec6017e017e6b9c500d734c (patch) | |
tree | 0f96f46ce2d50c78c9f288245a8444fa35f41069 /hel.nix | |
parent | 575a664ee93433b6c3c0d64ea241bf9f6afbeed3 (diff) | |
download | nixos-87c41a665520e530dec6017e017e6b9c500d734c.tar nixos-87c41a665520e530dec6017e017e6b9c500d734c.tar.gz nixos-87c41a665520e530dec6017e017e6b9c500d734c.tar.bz2 nixos-87c41a665520e530dec6017e017e6b9c500d734c.tar.xz nixos-87c41a665520e530dec6017e017e6b9c500d734c.zip |
Modem is hopeless
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 62 |
1 files changed, 31 insertions, 31 deletions
@@ -249,37 +249,37 @@ | |||
249 | ''; | 249 | ''; |
250 | }; | 250 | }; |
251 | 251 | ||
252 | udev.extraRules = '' | 252 | # udev.extraRules = '' |
253 | ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" | 253 | # ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" |
254 | SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end" | 254 | # SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end" |
255 | 255 | ||
256 | # load qmi_wwan module | 256 | # # load qmi_wwan module |
257 | SUBSYSTEM=="usb", \ | 257 | # SUBSYSTEM=="usb", \ |
258 | ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ | 258 | # ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ |
259 | RUN+="/sbin/modprobe -b qmi_wwan" | 259 | # RUN+="/sbin/modprobe -b qmi_wwan" |
260 | 260 | ||
261 | # force Sierra Wireless EM7455 to configuration #1 | 261 | # # force Sierra Wireless EM7455 to configuration #1 |
262 | SUBSYSTEM=="usb", \ | 262 | # SUBSYSTEM=="usb", \ |
263 | ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ | 263 | # ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ |
264 | ATTR{bConfigurationValue}="1" | 264 | # ATTR{bConfigurationValue}="1" |
265 | 265 | ||
266 | # add the new id in the qmi_wwan driver | 266 | # # add the new id in the qmi_wwan driver |
267 | SUBSYSTEM=="drivers", \ | 267 | # SUBSYSTEM=="drivers", \ |
268 | ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \ | 268 | # ENV{DEVPATH}=="/bus/usb/drivers/qmi_wwan", \ |
269 | ATTR{new_id}="1199 9079" | 269 | # ATTR{new_id}="1199 9079" |
270 | 270 | ||
271 | # load qcserial module | 271 | # # load qcserial module |
272 | SUBSYSTEM=="usb", \ | 272 | # SUBSYSTEM=="usb", \ |
273 | ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ | 273 | # ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", \ |
274 | RUN+="/sbin/modprobe -b qcserial" | 274 | # RUN+="/sbin/modprobe -b qcserial" |
275 | 275 | ||
276 | # add the new id in the qcserial driver | 276 | # # add the new id in the qcserial driver |
277 | SUBSYSTEM=="drivers", \ | 277 | # SUBSYSTEM=="drivers", \ |
278 | ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \ | 278 | # ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \ |
279 | ATTR{new_id}="1199 9079" | 279 | # ATTR{new_id}="1199 9079" |
280 | 280 | ||
281 | LABEL="mbim_to_qmi_rules_end" | 281 | # LABEL="mbim_to_qmi_rules_end" |
282 | ''; | 282 | # ''; |
283 | 283 | ||
284 | printing = { | 284 | printing = { |
285 | enable = true; | 285 | enable = true; |