Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362027 - <=sys-apps/lomoco-1.0-r6: udev helper script not being run
Summary: <=sys-apps/lomoco-1.0-r6: udev helper script not being run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
: 362821 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-05 08:57 UTC by Hans Nieser
Modified: 2012-08-14 09:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Nieser 2011-04-05 08:57:49 UTC
The lomoco-1.0-r5 package includes a udev rules file and a helper script (/usr/libexec/lomoco-helper) that calls the lomoco executable to set options defined in /etc/lomoco.conf. However this now seems to be broken as the lomoco-helper script is never being called by udev. I found out it does get called when I change to udev rules file (/lib64/udev/rules.d/40-lomoco.rules) to include the full path for the command (i.e. change it from "lomoco-helper" to "/usr/libexec/lomoco-helper"). I'm not sure why this is needed and what the correct solution is, but it's the only way I could make it work

Reproducible: Always




emerge --info
Portage 2.1.9.45 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_5050e-with-gentoo-2.0.2
Timestamp of tree: Mon, 04 Apr 2011 09:00:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/sunrise /usr/local/aphax-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 automount avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dirac divx djvu dri dts dv dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gtk2 iconv ieee1394 ipv6 jpeg jpeg2k lcms ldap libnotify mad matroska mikmod mmx mmxext mng modules mono moonlight mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nntp nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline samba sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vcd vdpau vim-syntax vorbis wmf wmp wxwindows x264 xcb xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-05 11:29:08 UTC
That was me being stupid and forgetting to use the full path (which is indeed the right fix).

Thanks, I've committed this in -r6!
Comment 2 Hans Nieser 2011-04-05 15:19:43 UTC
Thanks!
Comment 3 Anton Bolshakov 2011-04-10 05:47:04 UTC
Guys, the -r6 does not work for me. I'm not sure what exactly wrong with the udev rules, but the script does not get executed. I tried to replace it with "/usr/bin/lomoco -8", it does not work either. The -r4 works fine.

My mouse is:
Bus 004 Device 009: ID 046d:c01d Logitech, Inc. MX510 Optical Mouse

Please reopen the bug.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-10 09:38:29 UTC
Please don't reopen random bugs.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-08-14 09:20:19 UTC
(In reply to comment #4)
> Please don't reopen random bugs.

Well, the user was correct this time as the resolution of this bug caused the regression in the first place

Bug 362821 was filed which is really a duplicate of this bug because of it
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-08-14 09:20:53 UTC
*** Bug 362821 has been marked as a duplicate of this bug. ***