Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55566 - [libsigrok] Invalid udev rules filename

Attached to Project: Community Packages
Opened by Gilbert Hansen (ghansen) - Saturday, 09 September 2017, 16:23 GMT
Last edited by Anatol Pomozov (anatolik) - Sunday, 29 October 2017, 16:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

the libsigrok package provides /usr/lib/udev/rules/z60_libsigrok.rules (notice the unusual filename). As such it does not get loaded by udev, and hence devices are not recognized. Renaming it in consistence with the rest of the rules files, eg 60-libsigrok.rules fixes the problem.
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Sunday, 29 October 2017, 16:11 GMT
Reason for closing:  Fixed
Comment by Eli Schwartz (eschwartz) - Sunday, 10 September 2017, 02:20 GMT
According to udev(7) "All rules files are collectively sorted and processed in lexical order", so this should work fine. Granted that a filename like that seems a bit odd, and violates the spirit of naming it with a 60.

See: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=68fefbd75c6fd7a27b96c7a979870547fb7ad5ff
Note that lexical order has z coming long after 7...

I think upstream should fix their incredibly confusing filename, which combined with their strong warning in the file contents comes across as slightly schizophrenic. :(
But of course we can and should rename it anyway.
Comment by JK (Bike) - Sunday, 29 October 2017, 13:13 GMT
Hi, just wanted to say that I ran into this problem. Rather, the problem where this rule is sorted after the seat rules, and so you can't actually use sigrok as a normal user unless you rename the file yourself.

Since the rules seem to vary by distro anyway (e.g. the "plugdev" thing) it would be nice if Arch at least renamed the file so that it works with the rest of the system.
Comment by Anatol Pomozov (anatolik) - Sunday, 29 October 2017, 14:42 GMT
Just released 0.5.0-3 with the fix. Please verify that it works as expected.
Comment by JK (Bike) - Sunday, 29 October 2017, 15:43 GMT
Indeed it does. Thank you kindly for the quick fix.

Loading...