2023-12-06 07:32:21 +01:00
|
|
|
|
{ ... }: {
|
|
|
|
|
boot.initrd.services.udev.rules = ''
|
|
|
|
|
# This is used to load the correct kernel module for the Framework USB-C Ethernet Adapter
|
|
|
|
|
|
|
|
|
|
ACTION!="add", GOTO="usb_realtek_net_end"
|
|
|
|
|
SUBSYSTEM!="usb", GOTO="usb_realtek_net_end"
|
|
|
|
|
ENV{DEVTYPE}!="usb_device", GOTO="usb_realtek_net_end"
|
|
|
|
|
|
|
|
|
|
# Modify this to change the default value
|
|
|
|
|
ENV{REALTEK_MODE1}="1"
|
|
|
|
|
|
|
|
|
|
# Realtek
|
|
|
|
|
ATTR{idVendor}=="0bda", ATTR{idProduct}=="815[2,3,5,6]", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
|
|
|
|
|
|
|
|
|
|
LABEL="usb_realtek_net_end"
|
2024-03-17 07:20:50 +01:00
|
|
|
|
|
|
|
|
|
# Steelseries Aerox 3 "rivalcfg" rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Generated by rivalcfg v4.11.0
|
|
|
|
|
# Do not edit this file. It can be regenerated with the following command:
|
|
|
|
|
#
|
|
|
|
|
# rivalcfg --update-udev
|
|
|
|
|
|
|
|
|
|
# SteelSeries Aerox 3
|
|
|
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1836", MODE="0666"
|
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1836", MODE="0666"
|
|
|
|
|
|
|
|
|
|
# SteelSeries Aerox 3 Wireless (wired mode)
|
|
|
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="183a", MODE="0666"
|
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="183a", MODE="0666"
|
|
|
|
|
|
|
|
|
|
# SteelSeries Aerox 3 Wireless (2.4 GHz wireless mode)
|
|
|
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1838", MODE="0666"
|
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1838", MODE="0666"
|
2024-11-29 23:38:46 +01:00
|
|
|
|
|
|
|
|
|
# SteelSeries Aerox 9 Wireless (wired mode)
|
|
|
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="185a", MODE="0666"
|
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="185a", MODE="0666"
|
|
|
|
|
|
|
|
|
|
# SteelSeries Aerox 9 Wireless (2.4 GHz wireless mode)
|
|
|
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1858", MODE="0666"
|
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1858", MODE="0666"
|
|
|
|
|
|
2023-12-06 07:32:21 +01:00
|
|
|
|
'';
|
2024-03-17 07:20:50 +01:00
|
|
|
|
}
|