lomoco comes with udev rules and a helper script, which allows for an easy way of making the configuration permanent. However, the ebuild neither installs this, nor even informs user of this possibility. I've update the ebuild to fix this, please consult the attachements.
Created attachment 103026 [details] sys-apps/lomoco/lomoco-1.0-r1.ebuild
Created attachment 103027 [details, diff] sys-apps/lomoco/files/lomoco-1.0-updated-udev.patch
Created attachment 103028 [details] sys-apps/lomoco/files/lomoco-1.0-settings
Looks good, only changes required: change SYSFS to ATTR oder ATTRS where ATTRS is better if you do not know exactly each supported hardware.
This is an upstream patch (from lomoco mailing list AFAIR) , and I am totally lame with udev... [Sorry for the delayed answer, I had no net access for 2 months]
fixed in 1.0-r2, thanks.
lomoco-1.0-r2 isn't working here. I have a Logitech MX310 Optical Mouse (046d:c01b), udev-114, and nothing is happening : resolution is still 400 cpi although I have LOGITECH_MOUSE_RESOLUTION=800 in /etc/lomoco.conf. 1/ I wonder if 'SUBSYSTEM != "usb_device"' is adapted in /etc/udev/rules/40-lomoco.rules. Why is SUBSYSTEM "usb_device", and not "usb" ? 2/ I have /usr/ on a LVM2 volume, so /usr/ isn't available at boot, which makes udev fail because lomoco is installed into /usr/bin/. It would be much better if lomoco was installed into /sbin/. The /lib/udev/lomoco script should then be corrected "/usr/bin/lomoco" -> "/sbin/lomoco". 3/ In the /lib/udev/lomoco script, path to logger is not correct: "/bin/logger" instead of "/usr/bin/logger". Considering some users (like me) might have /usr/ unavailable at boot time, the logger program should be installed into /bin/, not into /usr/bin/. This might be a bug for the base-system herd. 4/ I traced $DEVPATH in the /lib/udev/lomoco script, and it doesn't fit into the "*usbdev*.*" expression. So, even by manually correcting the previous remarks, the script itself does nothing but exiting nicely. As I'm far from being a libusb/udev guru, I wonder how can we get the $bus and $dev variables right. Thoughts?
I suggest to change the rules to do SUBSYSTEM != "usb|usb_device", GOTO="lomoco_end" and do RDEPEND="!<sys-fs/udev-114" as the older version do not support that syntax.
Ping? Lomoko is the only package to control Logitech mouses in the portage. It would be good is somebody could have a look and fix this bug with further package stabilization. I would like to remove it from the keywords file on my stable x86 system (trying to help as suggested in http://planet.gentoo.org/developers/betelgeuse/2008/10/23/challenge_to_all_users)
should be fixed in 1.0-r3, please test, as i no longer have the device