Bug 22705

Summary: libwacom: invalid key/value pair
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: JMiahMan, marja11, thierry.vignaud
Version: CauldronKeywords: PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libwacom-0.28-1.mga7.src.rpm CVE:
Status comment:
Attachments: Patch for spec file

Description Bit Twister 2018-03-05 02:46:51 CET
Description of problem: mga7 dev0

invalid key/value pair in file /usr/lib/udev/rules.d/65-libwacom.rules on line 1, starting at character 1 ('f')

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. journalctl | grep invalid

$ head -2 /usr/lib/udev/rules.d/65-libwacom.rules
failed to match '056a:037e' for product/vendor IDs. Ignoring.
# udev rules for libwacom supported devices

I would think the code should dump a Warning into the system log with enough information for someone to find the device

      $ lspci  | grep 056a
      $ lspci  | grep 037e

and not log it in the configuration file.
Bit Twister 2018-03-05 02:48:00 CET

Summary: invalid key/value pair => libwacom: invalid key/value pair

Comment 1 Bit Twister 2018-03-05 11:28:43 CET
And nothing here for 056a or 037e
#  lsusb 
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Comment 2 Jeremiah Summers 2018-03-05 19:55:20 CET
Looks like the command (in spec)
./generate-udev-rules > %{buildroot}/%{_udevrulesdir}/65-libwacom.rules

is adding:

"failed to match '056a:037e' for product/vendor IDs. Ignoring.

to the first line of the 65-libwacom.rules, causing an issue

CC: (none) => JMiahMan

Comment 3 Marja Van Waes 2018-03-05 20:01:26 CET
Assigning to all packagers collectively, since there is no registered maintainer for this package.

Assignee: bugsquad => pkg-bugs
CC: (none) => marja11, thierry.vignaud

Comment 4 Jeremiah Summers 2018-03-05 20:51:02 CET
Created attachment 10026 [details]
Patch for spec file

Here's a patch for the spec file
Marja Van Waes 2018-03-05 21:07:26 CET

Keywords: (none) => PATCH

Comment 5 Bit Twister 2018-09-03 08:32:52 CEST
closing bug

Status: NEW => RESOLVED
Resolution: (none) => FIXED