From 56f3d44809456afa8d8c42d40e3d76560260e1ed Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Fri, 29 Apr 2016 13:00:36 -0700 Subject: [PATCH] The rules were not detecting Lisa/M V2.1 correctly. The string in the Lisa/M V2.1 DFU bootloader is: Lisa/M V2.1 (Upgrade) The wildcard now accepts the V2.1 as part of the string. Previous versions of Lisa/M DFU bootloader did not have the hardware version in them. This is needed so that the Lisa/M DFU is accessible from the userspace in the plugdev group. --- conf/system/udev/rules/50-paparazzi.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/system/udev/rules/50-paparazzi.rules b/conf/system/udev/rules/50-paparazzi.rules index 893b0849e0..2cceaebb84 100644 --- a/conf/system/udev/rules/50-paparazzi.rules +++ b/conf/system/udev/rules/50-paparazzi.rules @@ -38,7 +38,7 @@ LABEL="tty_FTDI232_end" SUBSYSTEM!="usb", GOTO="paparazzi_rules_end" ENV{DEVTYPE}!="usb_device", GOTO="paparazzi_rules_end" -ATTR{product}=="Lisa/M (Upgrade)*", GROUP="plugdev" +ATTR{product}=="Lisa/M *(Upgrade)*", GROUP="plugdev" #SUBSYSTEMS=="usb", ATTRS{serial}=="*_fbw", NAME="test_fbw", SYMLINK+="paparazzi/%s{serial}", MODE="0666"