mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
irserver: rework udev rule, needs more rework but should fix #405
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1c32949817
commit
58a9de17ea
@ -17,4 +17,15 @@
|
||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
BUS=="usb", ATTRS{interface}=="IRTrans USB", NAME="irtrans%n"
|
||||
|
||||
ACTION=="remove", GOTO="irtrans_end"
|
||||
SUBSYSTEM!="tty", GOTO="irtrans_end"
|
||||
KERNEL!="ttyUSB[0-9]*", GOTO="irtrans_end"
|
||||
|
||||
#IMPORT{builtin}="usb_id"
|
||||
|
||||
ATTRS{product}=="IRTrans*USB", SYMLINK+="irtrans%n"
|
||||
|
||||
LABEL="irtrans_end"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user