]> git.ipfire.org Git - people/ms/network.git/blob - src/udev/rules.d/50-serial-whitelist.rules
hostapd: Enable WMM by default.
[people/ms/network.git] / src / udev / rules.d / 50-serial-whitelist.rules
1
2 # This file helps us to handle serial (USB) devices, that are not a
3 # modem. We try to detect modems by sending AT commands to them and
4 # wait for a response. Other devices may get confused by that, so
5 # we maintain this whitelist that they won't be tested at all.
6
7 # Skip all other actions except add and change.
8 ACTION!="add|change", GOTO="skip_usb_serial_devices_whitelist"
9
10 # Skip everything that is not ttyUSB*.
11 KERNEL!="ttyUSB*", GOTO="skip_usb_serial_devices_whitelist"
12
13 ## Whitelist
14
15 # Globalscale Dreamplug JTAG/UART adapter
16 ATTRS{idVendor}=="9e88", ATTRS{idProduct}=="9e8f", ENV{NETWORK_USB_SERIAL_DEVICE_IGNORE}="1"
17
18 # Prolific Technology, Inc. PL2303 Serial Port
19 ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", ENV{NETWORK_USB_SERIAL_DEVICE_IGNORE}="1"
20
21 LABEL="skip_usb_serial_devices_whitelist"