ma hw/malduino_elite: init
required so modem-manager does not try to use it as modem
This commit is contained in:
parent
551039d95a
commit
229a465039
|
@ -69,6 +69,7 @@
|
|||
# Hardware
|
||||
<stockholm/makefu/2configs/hw/tp-x230.nix>
|
||||
<stockholm/makefu/2configs/hw/mceusb.nix>
|
||||
<stockholm/makefu/2configs/hw/malduino_elite.nix>
|
||||
# <stockholm/makefu/2configs/hw/tpm.nix>
|
||||
# <stockholm/makefu/2configs/hw/rtl8812au.nix>
|
||||
<stockholm/makefu/2configs/hw/network-manager.nix>
|
||||
|
|
15
2configs/hw/malduino_elite.nix
Normal file
15
2configs/hw/malduino_elite.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
services.udev.extraRules = ''
|
||||
ACTION!="add|change", GOTO="mm_usb_device_blacklist_local_end"
|
||||
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_local_end"
|
||||
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_local_end"
|
||||
|
||||
ATTRS{idVendor}=="1b4f" ATTRS{idProduct}=="9204", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="1b4f" ATTRS{idProduct}=="9203", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
LABEL="mm_usb_device_blacklist_local_end"
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue