]> git.ipfire.org Git - network.git/blame - src/udev/rules.d/50-serial-whitelist.rules
Use autotools.
[network.git] / src / udev / rules.d / 50-serial-whitelist.rules
CommitLineData
cd8ac7ca
MT
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.
8ACTION!="add|change", GOTO="skip_usb_serial_devices_whitelist"
9
10# Skip everything that is not ttyUSB*.
11KERNEL!="ttyUSB*", GOTO="skip_usb_serial_devices_whitelist"
12
13## Whitelist
14
15# Globalscale Dreamplug JTAG/UART adapter
16ATTRS{idVendor}=="9e88", ATTRS{idProduct}=="9e8f", ENV{NETWORK_USB_SERIAL_DEVICE_IGNORE}="1"
17
18# Prolific Technology, Inc. PL2303 Serial Port
19ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", ENV{NETWORK_USB_SERIAL_DEVICE_IGNORE}="1"
20
21LABEL="skip_usb_serial_devices_whitelist"