Package: usbprog
Version: 0.2.0-2.1
Severity: important

Dear Maintainer,

usbprog is causing the following error:

Jul 23 16:02:44 t440s systemd-udevd[248]: invalid key/value pair in file 
/lib/udev/rules.d/60-usbprog.rules on line 1,starting at character 32 (' ')

this shows up on a system with usbprog installed when a USB devices
is inserted (such as a USB disk).

The problem is resolved by editing 60-usbprog.rules as follows:

  --- 60-usbprog.rules~ 2014-07-23 16:15:19.729301227 -0700
  +++ 60-usbprog.rules  2014-07-23 16:09:32.629132387 -0700
  @@ -1,4 +1,4 @@
  -SUBSYSTEM!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", 
GOTO="usbprog_rules_end"
  +SUBSYSTEM!="usb", ACTION!="add", SUBSYSTEM!="usb_device", 
GOTO="usbprog_rules_end"
   
   # USBprog, in programmable state (or with simpleport firmware)
   ATTR{idVendor}=="1781", ATTR{idProduct}=="0c62", MODE="664", GROUP="plugdev"

The following patch seems likely to resolve the issue if applied to the
usbprog repo:

Author: Andy Isaacson <a...@onbeep.com>
Date:   Wed Jul 23 16:12:35 2014 -0700

    replace !== with correct !=

diff --git a/debian/usbprog.udev b/debian/usbprog.udev
index cf75eb6..f01fa1f 100644
--- a/debian/usbprog.udev
+++ b/debian/usbprog.udev
@@ -1,4 +1,4 @@
-SUBSYSTEM!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", 
GOTO="usbprog_rules_end"
+SUBSYSTEM!="usb", ACTION!="add", SUBSYSTEM!="usb_device", 
GOTO="usbprog_rules_end"
 
 # USBprog, in programmable state (or with simpleport firmware)
 ATTR{idVendor}=="1781", ATTR{idProduct}=="0c62", MODE="664", GROUP="plugdev"
diff --git a/usbprog.rules.in b/usbprog.rules.in
index f01b44e..6b373d9 100644
--- a/usbprog.rules.in
+++ b/usbprog.rules.in
@@ -4,7 +4,7 @@
 # Users that want to use USBprog should be added to the group 
'@@USBPROG_GROUP@@'.
 #
 
-BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="usbprog_rules_end"
+BUS!="usb", ACTION!="add", SUBSYSTEM!="usb_device", GOTO="usbprog_rules_end"
 
 # USBprog, in programmable state (or with simpleport firmware)
 SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c62", MODE="664", 
GROUP="@@USBPROG_GROUP@@"

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.15.5 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbprog depends on:
ii  libc6         2.19-7
ii  libgcc1       1:4.9.1-1
ii  libreadline6  6.3-6
ii  libstdc++6    4.9.1-1
ii  libusbprog0   0.2.0-2.1

usbprog recommends no packages.

usbprog suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to