Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555190 - Upgrade from sys-fs/eudev-1.10-r2 to sys-fs/eudev-3.1.2 broke multimedia keys
Summary: Upgrade from sys-fs/eudev-1.10-r2 to sys-fs/eudev-3.1.2 broke multimedia keys
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: eudev team
URL:
Whiteboard:
Keywords:
Depends on: 555210
Blocks:
  Show dependency tree
 
Reported: 2015-07-17 12:43 UTC by Marko Hänninen
Modified: 2016-05-05 10:57 UTC (History)
1 user (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 Marko Hänninen 2015-07-17 12:43:02 UTC
Upgrade from sys-fs/eudev-1.10-r2 to sys-fs/eudev-3.1.2 broke (most of) multimedia keys in my laptop. The laptop is HP Probook 4730s. Brightness up/down, screen lock and battery keys doesn't work anymore. The "showkey" command (sys-apps/kbd) on console doesn't show any key codes with eudev-3.1.2, while it shows with eudev-1.10-r2. Audio volume buttons work still with the newer version.

Reproducible: Always

Steps to Reproduce:
1. Emerge sys-fs/eudev-3.1.2
2. Reboot
3. Run "showkey" command (sys-apps/kbd) in console and press brightness up/down or screenlock keys.
Actual Results:  
The "showkey" command doesn't show any keys pressed.

Expected Results:  
The "showkey" should show keycodes of pressed multimedia keys.

Downgrade to sys-fs/eudev-1.10-r2 fixes the problem for me.
Comment 1 Marko Hänninen 2015-07-17 12:54:57 UTC
bugi ~ # emerge --info   
Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.4, glibc-2.20-r2, 4.1.2 x86_64)
=================================================================
System uname: Linux-4.1.2-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     8110208 total,   6074220 free
KiB Swap:    4000148 total,   4000148 free
Timestamp of repository gentoo: Fri, 17 Jul 2015 04:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld-versio (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /var/portage
    sync-type: rsync
    sync-uri: rsync://rsync.fi.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /opt/portage_local_overlay
    masters: gentoo
    priority: 0

finnish
    location: /var/lib/layman/finnish/trunk
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK=" /usr/lib/systemd"
LANG="C"
LC_ALL="fi_FI.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl alsa amd64 berkdb bluetooth bzip2 caps cdda cdparanoia cli cracklib crypt css cxx dbus dga dri dts encode exif ffmpeg flac gdbm gmp gpm handbook iconv icu idn ipv6 jpeg jpeg2k kde mmx mmxext mng modules mp3 musicbrainz ncurses nls nptl ogg opengl openmp pam pch pcre plasma png qt4 qt5 readline semantic-desktop session spell sse sse2 ssl subversion svg symlink syslog theora threads tiff truetype udev unicode usb v4l vdpau vorbis x264 xattr xinerama xmp xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authz_host autoindex dir log_config mime vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow plan sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="r600 i965 radeon intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



bugi ~ # emerge -vp eudev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-fs/eudev-3.1.2::gentoo [3.0::gentoo] USE="gudev hwdb kmod -doc -introspection (-selinux) -static-libs {-test}" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB
bugi ~ #
Comment 2 Marko Hänninen 2015-07-17 12:58:56 UTC
I tried different ebuild versions (which were already removed from the portage tree), and it seems that eudev-3.0 was the last working version. eudev-3.1 was the first broken one.
Comment 3 Anthony Basile gentoo-dev 2015-07-17 14:21:16 UTC
(In reply to Marko Hänninen from comment #2)
> I tried different ebuild versions (which were already removed from the
> portage tree), and it seems that eudev-3.0 was the last working version.
> eudev-3.1 was the first broken one.

The problem is that 60-keyboard.hwdb from sys-apps/hwids-20150129 is the current stable and still uses keyboard while 20150417 and above switched to the newer evdev.

@Marko: can you try to install =sys-apps/hwids-20150417 and see if it fixes your problem.

This does put us in a bad situation with respect to sys-fs/udev and systemd in that we will break their stable version if we upgrade hwids.  Since I have an hwdb switch on eudev's configure script, I'm going to drop our dependencs on sys-apps/hwids and just install our own version.  I have no idea why udev/systemd was engineered into tiny fragments all through the portage tree like this and this isn't the first time its caused issues.
Comment 4 Marko Hänninen 2015-07-17 15:05:44 UTC
Yes, I can confirm that installing =sys-apps/hwids-20150417 fixed the problem. Thank you very much, you guys really rock! =)
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2015-07-17 18:47:50 UTC
Reopening this due to eudev-3.1.2 being stable and no >=sys-apps/hwids-20150417 being stable.
Comment 6 Pacho Ramos gentoo-dev 2016-05-05 10:57:26 UTC
20150717-r1 is in stable now :)