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#17966 - [lomoco] udev rules are broken

Attached to Project: Community Packages
Opened by Xavier (shining) - Friday, 22 January 2010, 22:57 GMT
Last edited by Dan Griffiths (Ghost1227) - Friday, 29 January 2010, 00:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ionut Biru (wonder)
Dan Griffiths (Ghost1227)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

1) /etc/udev/rules.d/80-lomoco.rules no longer works for me because SUBSYSTEM no longer matches usb_device, only usb
This change was actually made by the patch, so I just dropped it, and moved the SYSFS->ATTRS as a sed line inside the PKGBUILD since we already sed the rules there.

2) /lib/udev/lomoco.sh did not work because DEVPATH does not have the expected form. I found a way to simplify this script greatly by using BUSNUM and DEVNUM so I just rewrote it completely.
Also /bin/logger does not exist on Arch, it is /usr/bin/logger

3) I changed lomoco_mouse.conf slightly in my way : settings commented out by default so that lomoco won't be run, but can be easily uncommented to get good settings.

Just build and test if it works for you :)
Otherwise, udevadm info/test/trigger helped me a lot to debug.
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Friday, 29 January 2010, 00:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in testing, thanks shining
Comment by Xavier (shining) - Sunday, 24 January 2010, 13:06 GMT
I just noticed the tar file is empty, not sure why.
But the patch is fine, I just applied it cleanly on another box. And my fixed udev rules also worked better there.
Just a note that made me lose times : udevadm trigger needs to be run as root, otherwise it does nothing

Loading...