From 5fedd057ffb09e081a21dd5ca7b93ac74445f937 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Tue, 12 Jun 2018 11:53:18 -0600 Subject: [PATCH] Update udev comments re: PM342 enumeration and serial numbers Signed-off-by: Stephen Warren --- udev/swarren-lx1/99-ubtest.rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udev/swarren-lx1/99-ubtest.rules b/udev/swarren-lx1/99-ubtest.rules index cebc642..dfcd615 100644 --- a/udev/swarren-lx1/99-ubtest.rules +++ b/udev/swarren-lx1/99-ubtest.rules @@ -50,7 +50,10 @@ ACTION=="add", SUBSYSTEMS=="usb", KERNELS=="3-1", ENV{UBTEST_DEVICE}="1", SYMLIN # which stops the script from looking for further PM342 devices. This will # sometimes prevent the scripts seeing a PM342, even if that specific device # has permissions that allow the serial number to be read. Fix this by opening -# the permissions for all PM342 devices. +# the permissions for all PM342 devices. Also note that all PM342 devices (and +# in fact any FTDI devices at least with the same vid/pid) MUST have a serial +# number defined; an empty serial number in one device also causes failures +# finding other devices:-( ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6011", ENV{UBTEST_DEVICE}="1" # Configure the port with permissions that will allow the test program to run