irserver: rework udev rule, needs more rework but should fix #405

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-04-29 21:46:00 +02:00
parent 1c32949817
commit 58a9de17ea

View File

@ -17,4 +17,15 @@
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. # the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html # 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"