Re-add 40-modeswitch.rules
This commit is contained in:
parent
0d534e7940
commit
20d56ea1da
1 changed files with 17 additions and 0 deletions
17
projects/Rockchip/packages/linux/udev.d/40-modeswitch.rules
Normal file
17
projects/Rockchip/packages/linux/udev.d/40-modeswitch.rules
Normal file
|
@ -0,0 +1,17 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
|
||||
ACTION!="add|change", GOTO="end_modeswitch"
|
||||
KERNEL!="sr[0-9]*", GOTO="end_modeswitch"
|
||||
SUBSYSTEM!="block", GOTO="end_modeswitch"
|
||||
|
||||
# Atheros Wireless / Netgear WNDA3200
|
||||
ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="20ff", RUN+="/usr/bin/eject '/dev/%k'"
|
||||
|
||||
# Realtek RTL8821CU chipset 802.11ac NIC
|
||||
# initial cdrom mode 0bda:1a2b, wlan mode 0bda:c811
|
||||
# Odroid WiFi Module 5B
|
||||
# initial cdrom mode 0bda:1a2b, wlan mode 0bda:c820
|
||||
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="1a2b", RUN+="/usr/bin/eject '/dev/%k'"
|
||||
|
||||
LABEL="end_modeswitch"
|
Loading…
Reference in a new issue