Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce brightness key stopped working after system update
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 181

PostPosted: Wed Apr 05, 2017 11:28 pm    Post subject: xfce brightness key stopped working after system update Reply with quote

Hi all,

I ran "emerge --ask --changed-use --deep --update @world " yesterday, and now my screen brightness key, which was bound to a script via the xfce keyboard shortcut menu, has stopped working. Screen dimming still works (and is also bound to a second custom script).

The script bound to the key still works fine, but for some reason the keypress no longer triggers the script--I verified this by monitoring the system logs.
The screen dim button produces this output:
Code:

Apr 05 16:22:52 [sudo] drasica : TTY=unknown ; PWD=/home/drasica ; USER=root ; COMMAND=/usr/bin/bl-brightness down
Apr 05 16:22:52 [sudo] pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 05 16:22:52 [sudo] pam_unix(sudo:session): session closed for user root


But the screen brightening button generates no lines in the syslog. Here's what I have looked at so far:

    -xfce wasn't actually updated, just rebuilt, so I didn't bother to try downgrading
    -I tried removing the shortcut and adding it back (no change)
    -I tried rebuilding the xfce-settings app (no change)


Any clue what might be going wrong, and suggested next steps for debugging the issue?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Apr 06, 2017 12:55 am    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

Drasica wrote:
I ran "emerge --ask --changed-use --deep --update @world " yesterday, and now my screen brightness key, which was bound to a script via the xfce keyboard shortcut menu, has stopped working. Screen dimming still works (and is also bound to a second custom script).

Drasica ... more than likely it's the script itself, please show us.

Drasica wrote:
The script bound to the key still works fine, but for some reason the keypress no longer triggers the script--I verified this by monitoring the system logs.

That doesn't tell us that the keypress is in fact sending the code to trigger the script, have you tried with acpi-listen and seen what these respective keys are sending?

Drasica wrote:
The screen dim button produces this output:
Code:
Apr 05 16:22:52 [sudo] drasica : TTY=unknown ; PWD=/home/drasica ; USER=root ; COMMAND=/usr/bin/bl-brightness down
Apr 05 16:22:52 [sudo] pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 05 16:22:52 [sudo] pam_unix(sudo:session): session closed for user root

OK, number of problems there, firstly, you probably don't need to use sudo, this can be triggered via acpi (though, that said, I'm not sure what xfce does regarding kbd, or what your script is doing). Secondly, you're polluting /usr/bin with custom scripts, /usr/bin is for package installed executables, stuff not installed by the package manager should go in /usr/local/bin (or elsewhere). Thirdly, you probably don't need two scripts for essentially the same function (that suggests it's not well written).

If you have sys-power/acpid (which I'm assuming you do because some xfce4 components have an +acpi IUSE) then you can do something like the following:

/etc/acpi/default.sh:
case "$group" in
   button)
      case "$action" in
         power) /etc/acpi/actions/powerbtn.sh ;;
         mute) /usr/bin/amixer -q set Master toggle ;;
         volumeup) /usr/bin/amixer -q set Master 5%+ ;;
         volumedown) /usr/bin/amixer -q set Master 5%- ;;
         *) log_unhandled $* ;;
      esac ;;
   video)
      case "$action" in
         brightnessup) /etc/acpi/actions/backlight.sh up ;;
         brightnessdown) /etc/acpi/actions/backlight.sh down ;;
         *) log_unhandled $* ;;
      esac ;;
esac

... I've included the other sections (for this 'group') so that 'case/esac' is clear, and so that you can see how to similarly map other keys to a command/script.

The following is the 'backlight' script which handles increasing/decreasing the backlight up/down.

/etc/acpi/actions/backlight.sh:
#!/bin/sh
set -e

backlight_sys_dir="/sys/class/backlight/intel_backlight"

read -r max_brightness < "${backlight_sys_dir}/max_brightness"
read -r curr_brightness < "${backlight_sys_dir}/brightness"

case "$1" in
      up) increment="+ 10" ;;
    down) increment="- 10" ;;
       *) exit 1 ;;
esac

new_brightness=$(($curr_brightness $increment))

if $((new_brightness < 1)) || $((new_brightness > $max_brightness)); then
    exit 1
else
    echo "$new_brightness" > ${backlight_sys_dir}/brightness
fi

Note that this is for intel_backlight, no doubt you will have a similar set of files under /sys/class/backlight/ reflecting the backlight driver in use, and so can adjust the above to reflect their location and name.

You would then set acpid to start in the default runlevel ... if it's not already.

Code:
# rc-update add acpid default
# /etc/init.d/acpid start

HTH & best ... khay
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 181

PostPosted: Thu Apr 06, 2017 5:08 am    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

khayyam wrote:
Drasica wrote:
I ran "emerge --ask --changed-use --deep --update @world " yesterday, and now my screen brightness key, which was bound to a script via the xfce keyboard shortcut menu, has stopped working. Screen dimming still works (and is also bound to a second custom script).

Drasica ... more than likely it's the script itself, please show us.


I'm quite sure it works because if I run the script in the shell it works exactly as intended. I misspoke, I actually use the same script for both up and down adjustments (I have a different script for keyboard key backlighting). Anyway, here it is:

Code:
#!/bin/bash
bldb='/sys/class/backlight/mba6x_backlight/brightness'
bldmb='/sys/class/backlight/mba6x_backlight/max_brightness'
step=25
current=`cat $bldb`
max=`cat $bldmb`
new=$current
echo $current
if [ "$1" == "up" ];then
    new=$(($current + $step))
elif [ "$1" == "down" ];then
    new=$(($current - $step))
fi
if [ $new -le 0 ];then
    new=0
fi
if [ $new -gt $max ];then
    new=$max
fi
echo $new > $bldb
current=`cat $bldb`


Thanks for the acpid suggestion, installing, configuring and starting that daemon helped. Working on figuring out how to add the keyboard backlight now
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Apr 06, 2017 3:32 pm    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

Drasica wrote:
khayyam wrote:
[...] more than likely it's the script itself, please show us.

I'm quite sure it works because if I run the script in the shell it works exactly as intended. I misspoke, I actually use the same script for both up and down adjustments (I have a different script for keyboard key backlighting).

Drasica ... yes, but if you run from a shell you have a tty (and so something to 'echo' to, etc), I'm not sure exactly what sudo expects, but in the above log it reports 'TTY=unknown'. Anyhow, you didn't report on what 'acpi_listen' shows as the keypress sent by your keys, I expect the issue is probably there rather than the script.

Some things in your script are either unnecessary (like re-assigning 'current' at the end, and 'echo $current'), don't use the shell builtins (and so resort to 'cat', etc), and don't exit when obviously nothing more can be done (ie, on '[ $new -le 0]'). The following should behave exactly the same, but with some small differences (the primary being that if you are at max, or min, the script exits).

/etc/acpi/actions/backlight.sh:
#!/bin/sh
set -e

backlight_sys_dir="/sys/class/backlight/mba6x_backlight"

read -r max_brightness < "${backlight_sys_dir}/max_brightness"
read -r curr_brightness < "${backlight_sys_dir}/brightness"

case "$1" in
      up) increment="+ 25" ;;
    down) increment="- 25" ;;
       *) exit 1 ;;
esac

new_brightness=$(($curr_brightness $increment))

if $((new_brightness < 1)) || $((new_brightness > $max_brightness)) ; then
    exit 1
else
    echo "$new_brightness" > ${backlight_sys_dir}/brightness
fi

Drasica wrote:
Thanks for the acpid suggestion, installing, configuring and starting that daemon helped. Working on figuring out how to add the keyboard backlight now

You're welcome. If you run 'acpi_listen' and hit the key it should show what key is sent, you can then adjust /etc/acpi/default.sh and have the key activate the keyboard backlight script.

best ... khay
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 181

PostPosted: Thu Apr 06, 2017 5:08 pm    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

khayyam wrote:

You're welcome. If you run 'acpi_listen' and hit the key it should show what key is sent, you can then adjust /etc/acpi/default.sh and have the key activate the keyboard backlight script.


Unfortunately, nothing shows up when I press the keyboard backlight buttosn while listening with acpi_listen
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Apr 06, 2017 8:14 pm    Post subject: Reply with quote

did you update your kernel recently?
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 181

PostPosted: Thu Apr 06, 2017 8:54 pm    Post subject: Reply with quote

Roman_Gruber wrote:
did you update your kernel recently?


No, not yet. I have compiled (but not yet installed) 4.9.16. I'm still running 4.4.6, I wanted to try and fix issues resulting from my recent system update first to reduce the number of variables.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Apr 06, 2017 9:23 pm    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

Drasica wrote:
khayyam wrote:
If you run 'acpi_listen' and hit the key it should show what key is sent, you can then adjust /etc/acpi/default.sh and have the key activate the keyboard backlight script.

Unfortunately, nothing shows up when I press the keyboard backlight buttosn while listening with acpi_listen

Drasica ... only for the keyboard backlight I assume? Does your keyboard have an 'fn' toggle key, and does holding the fn key change the above? As for what might have changed, did you update any component of xfce, because I expect xfce has some kbd control pannel/widget. It might be good to have the entire list of packages that were updates (I expect xf86-*, xorg-*, etc, may be in that list).

best ... khay
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 181

PostPosted: Thu Apr 06, 2017 10:02 pm    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

khayyam wrote:

Drasica ... only for the keyboard backlight I assume? Does your keyboard have an 'fn' toggle key, and does holding the fn key change the above? As for what might have changed, did you update any component of xfce, because I expect xfce has some kbd control pannel/widget. It might be good to have the entire list of packages that were updates (I expect xf86-*, xorg-*, etc, may be in that list).


Yes, only for the keyboard backlight. I do have an fn-toggle, but when I press that it also produces no output. In contrast, the now-operational backlight buttons (without an fn-toggle) produces this:
Code:
video/brightnessup BRTUP 00000086 00000000 K
video/brightnessdown BRTDN 00000087 00000000 K


None of xfce was updated, but xfce-settings was rebuilt:
Code:
Tue Jan 17 14:40:16 2017 >>> xfce-base/xfce4-settings-4.12.1
Tue Apr  4 12:06:06 2017 >>> xfce-base/xfce4-settings-4.12.1


A number of xorg and xf86 packages were updated though:
Code:

Tue Dec 20 11:44:54 2016 >>> x11-base/xorg-drivers-1.18-r1
Tue Dec 20 18:32:24 2016 >>> x11-base/xorg-server-1.18.4
Mon Apr  3 22:45:42 2017 >>> x11-base/xorg-drivers-1.19
Tue Apr  4 10:11:18 2017 >>> x11-base/xorg-server-1.19.2

Tue Dec 20 16:03:45 2016 >>> x11-proto/xf86vidmodeproto-2.3.1-r1
Tue Dec 20 16:07:56 2016 >>> x11-proto/xf86bigfontproto-1.2.0-r1
Tue Dec 20 16:09:24 2016 >>> x11-proto/xf86driproto-2.1.1-r1
Tue Dec 20 17:04:33 2016 >>> x11-libs/libXxf86vm-1.1.4
Tue Dec 20 18:32:39 2016 >>> x11-drivers/xf86-input-keyboard-1.8.1
Tue Dec 20 18:32:55 2016 >>> x11-drivers/xf86-input-mouse-1.9.1
Tue Dec 20 18:33:13 2016 >>> x11-drivers/xf86-input-evdev-2.10.3
Tue Dec 20 22:56:32 2016 >>> x11-drivers/xf86-video-intel-2.99.917_p20160621-r1
Wed Dec 21 01:42:37 2016 >>> x11-drivers/xf86-input-mtrack-0.3.1
Tue Apr  4 00:54:03 2017 >>> x11-drivers/xf86-input-libinput-0.24.0
Tue Apr  4 10:12:03 2017 >>> x11-drivers/xf86-input-libinput-0.24.0
Tue Apr  4 10:12:19 2017 >>> x11-drivers/xf86-input-mouse-1.9.2
Tue Apr  4 10:12:34 2017 >>> x11-drivers/xf86-input-keyboard-1.9.0
Tue Apr  4 10:13:42 2017 >>> x11-drivers/xf86-video-intel-2.99.917_p20170216
Tue Apr  4 10:14:08 2017 >>> x11-drivers/xf86-input-mtrack-0.3.1




Here's the full list of everything that was updated:
Code:

Mon Apr  3 21:19:40 2017 >>> sys-kernel/gentoo-sources-4.9.16
Mon Apr  3 22:40:12 2017 >>> sys-libs/glibc-2.23-r3
Mon Apr  3 22:40:42 2017 >>> app-arch/xz-utils-5.2.3
Mon Apr  3 22:40:51 2017 >>> sys-devel/gnuconfig-20161104
Mon Apr  3 22:41:57 2017 >>> dev-libs/lzo-2.09
Mon Apr  3 22:42:32 2017 >>> dev-libs/kpathsea-6.2.2_p20160523
Mon Apr  3 22:43:21 2017 >>> dev-util/boost-build-1.62.0-r1
Mon Apr  3 22:43:35 2017 >>> sci-libs/suitesparseconfig-4.2.1-r1
Mon Apr  3 22:43:50 2017 >>> dev-libs/npth-1.3
Mon Apr  3 22:43:57 2017 >>> net-wireless/wireless-regdb-20170307
Mon Apr  3 22:44:05 2017 >>> sys-devel/binutils-config-5-r3
Mon Apr  3 22:44:15 2017 >>> sys-libs/timezone-data-2017a
Mon Apr  3 22:44:21 2017 >>> virtual/ttf-fonts-1-r1
Mon Apr  3 22:44:39 2017 >>> dev-libs/libbsd-0.8.3
Mon Apr  3 22:44:47 2017 >>> app-dicts/myspell-en-20170101
Mon Apr  3 22:45:01 2017 >>> sys-libs/efivar-30
Mon Apr  3 22:45:33 2017 >>> dev-lang/python-exec-2.4.4
Mon Apr  3 22:45:42 2017 >>> x11-base/xorg-drivers-1.19
Mon Apr  3 22:45:53 2017 >>> sys-apps/opentmpfiles-0.1.2
Mon Apr  3 22:45:58 2017 >>> virtual/tmpfiles-0
Mon Apr  3 22:46:09 2017 >>> app-misc/pax-utils-1.1.7
Mon Apr  3 22:47:04 2017 >>> sys-apps/sandbox-2.10-r3
Mon Apr  3 22:47:32 2017 >>> app-text/dvipsk-5.995_p20150521
Mon Apr  3 22:47:55 2017 >>> app-text/ps2pkm-1.7_p20150521
Mon Apr  3 22:48:23 2017 >>> dev-tex/bibtexu-3.71_p20150521
Mon Apr  3 22:48:58 2017 >>> dev-libs/libgee-0.18.1
Mon Apr  3 22:49:08 2017 >>> app-admin/eselect-1.4.8
Mon Apr  3 22:49:16 2017 >>> app-eselect/eselect-python-20160516
Mon Apr  3 22:49:22 2017 >>> app-eselect/eselect-mesa-0.0.10-r1
Mon Apr  3 22:49:29 2017 >>> app-eselect/eselect-pinentry-0.7
Mon Apr  3 22:50:13 2017 >>> net-libs/libqmi-1.16.2
Mon Apr  3 22:50:30 2017 >>> sys-apps/less-487
Mon Apr  3 22:50:37 2017 >>> virtual/udev-217
Mon Apr  3 22:50:43 2017 >>> sys-fs/udev-init-scripts-32
Mon Apr  3 22:51:02 2017 >>> sys-apps/openrc-0.23.2
Mon Apr  3 22:51:13 2017 >>> sys-apps/man-pages-4.09
Mon Apr  3 22:51:54 2017 >>> sys-devel/libtool-2.4.6-r3
Mon Apr  3 22:52:27 2017 >>> sys-libs/zlib-1.2.11
Mon Apr  3 22:52:46 2017 >>> x11-proto/xproto-7.0.31
Mon Apr  3 22:53:19 2017 >>> media-libs/libpng-1.6.27
Mon Apr  3 22:54:12 2017 >>> media-libs/freetype-2.7.1-r2
Mon Apr  3 22:55:55 2017 >>> dev-db/sqlite-3.16.2
Mon Apr  3 22:56:13 2017 >>> x11-libs/libICE-1.0.9-r1
Mon Apr  3 22:57:05 2017 >>> x11-libs/libdrm-2.4.75
Mon Apr  3 22:57:43 2017 >>> dev-libs/nspr-4.13.1
Mon Apr  3 22:58:46 2017 >>> dev-lang/tcl-8.6.6
Mon Apr  3 22:59:09 2017 >>> sys-apps/file-5.29
Mon Apr  3 22:59:30 2017 >>> sys-apps/kmod-23
Mon Apr  3 22:59:58 2017 >>> media-libs/lcms-2.8-r1
Mon Apr  3 23:07:46 2017 >>> dev-libs/boost-1.62.0-r1
Mon Apr  3 23:08:21 2017 >>> dev-libs/librevenge-0.0.4
Mon Apr  3 23:08:33 2017 >>> x11-misc/util-macros-1.19.1
Mon Apr  3 23:08:50 2017 >>> x11-proto/presentproto-1.1
Mon Apr  3 23:09:00 2017 >>> dev-util/mdds-1.2.2
Mon Apr  3 23:09:13 2017 >>> x11-misc/xbitmaps-1.1.1-r1
Mon Apr  3 23:09:19 2017 >>> virtual/perl-Time-Local-1.230.0-r5
Mon Apr  3 23:14:09 2017 >>> dev-libs/nss-3.28.1
Mon Apr  3 23:15:54 2017 >>> dev-libs/libixion-0.11.1
Mon Apr  3 23:17:46 2017 >>> dev-libs/liborcus-0.11.2
Mon Apr  3 23:18:10 2017 >>> x11-libs/libXfont2-2.0.1
Mon Apr  3 23:18:39 2017 >>> dev-libs/libuv-1.10.2
Mon Apr  3 23:19:00 2017 >>> media-libs/gd-2.2.4
Mon Apr  3 23:19:29 2017 >>> media-libs/speex-1.2_rc1-r2
Mon Apr  3 23:20:38 2017 >>> dev-qt/linguist-tools-5.6.2
Mon Apr  3 23:21:01 2017 >>> net-libs/libpcap-1.8.1
Mon Apr  3 23:21:16 2017 >>> x11-apps/sessreg-1.1.1
Mon Apr  3 23:21:41 2017 >>> dev-qt/qtconcurrent-5.6.2
Mon Apr  3 23:21:51 2017 >>> sys-apps/ed-1.13
Mon Apr  3 23:22:16 2017 >>> app-text/ttf2pk2-2.0_p20150521
Mon Apr  3 23:22:41 2017 >>> app-crypt/mhash-0.9.9.9-r2
Mon Apr  3 23:22:57 2017 >>> media-libs/jbig2dec-0.13-r1
Mon Apr  3 23:23:23 2017 >>> sys-libs/libcap-ng-0.7.8
Mon Apr  3 23:23:36 2017 >>> app-eselect/eselect-java-0.3.0
Mon Apr  3 23:28:38 2017 >>> dev-libs/openssl-1.0.2k
Mon Apr  3 23:31:36 2017 >>> net-nds/openldap-2.4.44
Mon Apr  3 23:33:43 2017 >>> net-misc/curl-7.53.0
Mon Apr  3 23:34:21 2017 >>> dev-libs/libevent-2.1.8
Mon Apr  3 23:34:40 2017 >>> dev-perl/Net-SSLeay-1.800.0
Mon Apr  3 23:34:48 2017 >>> sys-boot/efibootmgr-14
Mon Apr  3 23:36:10 2017 >>> net-misc/ntp-4.2.8_p9
Mon Apr  3 23:37:04 2017 >>> net-irc/irssi-0.8.21
Mon Apr  3 23:37:19 2017 >>> media-libs/libpng-1.2.57
Mon Apr  3 23:39:15 2017 >>> dev-libs/libxml2-2.9.4-r1
Mon Apr  3 23:43:13 2017 >>> sys-devel/gettext-0.19.8.1
Mon Apr  3 23:44:39 2017 >>> sys-apps/util-linux-2.28.2
Mon Apr  3 23:45:02 2017 >>> sys-devel/make-4.2.1
Mon Apr  3 23:47:16 2017 >>> sys-libs/binutils-libs-2.27
Mon Apr  3 23:49:05 2017 >>> media-libs/gstreamer-1.10.3
Mon Apr  3 23:50:31 2017 >>> dev-libs/libgpg-error-1.27-r1
Mon Apr  3 23:52:24 2017 >>> dev-libs/libgcrypt-1.7.6
Mon Apr  3 23:53:00 2017 >>> dev-libs/libxslt-1.1.29-r1
Mon Apr  3 23:53:27 2017 >>> app-text/docbook-xsl-stylesheets-1.79.1-r1
Mon Apr  3 23:53:42 2017 >>> x11-misc/xkeyboard-config-2.20
Mon Apr  3 23:54:30 2017 >>> media-libs/flac-1.3.2-r1
Mon Apr  3 23:54:59 2017 >>> net-libs/neon-0.30.2
Mon Apr  3 23:55:17 2017 >>> dev-libs/libassuan-2.4.3-r1
Mon Apr  3 23:58:05 2017 >>> dev-cpp/libcmis-0.5.2_pre20160820
Mon Apr  3 23:58:54 2017 >>> app-arch/libarchive-3.2.2-r1
Tue Apr  4 00:02:54 2017 >>> dev-util/cmake-3.7.2
Tue Apr  4 00:03:24 2017 >>> media-libs/audiofile-0.3.6-r3
Tue Apr  4 00:04:21 2017 >>> dev-libs/libtasn1-4.10-r1
Tue Apr  4 00:07:38 2017 >>> net-libs/gnutls-3.3.26
Tue Apr  4 00:09:09 2017 >>> x11-themes/gnome-themes-standard-3.20.2-r1
Tue Apr  4 00:09:24 2017 >>> net-libs/libproxy-0.4.13-r2
Tue Apr  4 00:09:54 2017 >>> app-i18n/enca-1.19-r1
Tue Apr  4 00:10:13 2017 >>> dev-libs/libksba-1.3.5-r1
Tue Apr  4 00:13:53 2017 >>> sys-devel/binutils-2.26.1
Tue Apr  4 00:14:29 2017 >>> sys-apps/shadow-4.4-r2
Tue Apr  4 00:15:53 2017 >>> sys-apps/man-db-2.7.6.1-r2
Tue Apr  4 00:16:51 2017 >>> net-misc/wget-1.19.1-r1
Tue Apr  4 00:17:32 2017 >>> sys-apps/grep-2.27-r1
Tue Apr  4 00:18:18 2017 >>> sys-apps/diffutils-3.5
Tue Apr  4 00:18:35 2017 >>> app-editors/nano-2.6.3
Tue Apr  4 00:20:16 2017 >>> cross-avr/binutils-2.26.1
Tue Apr  4 00:21:12 2017 >>> net-p2p/transmission-2.92-r2
Tue Apr  4 00:27:32 2017 >>> app-text/ghostscript-gpl-9.20-r1
Tue Apr  4 00:28:32 2017 >>> net-wireless/bluez-5.43-r1
Tue Apr  4 00:29:42 2017 >>> dev-qt/qtbluetooth-5.6.2
Tue Apr  4 00:32:58 2017 >>> media-gfx/imagemagick-6.9.7.4
Tue Apr  4 00:33:14 2017 >>> media-libs/libass-0.13.6
Tue Apr  4 00:34:05 2017 >>> sys-fs/udisks-2.1.8
Tue Apr  4 00:35:24 2017 >>> net-misc/modemmanager-1.6.4
Tue Apr  4 00:35:42 2017 >>> gnome-base/dconf-0.26.0-r1
Tue Apr  4 00:36:48 2017 >>> app-crypt/gnupg-2.1.18
Tue Apr  4 00:37:24 2017 >>> x11-libs/libva-intel-driver-1.7.3
Tue Apr  4 00:37:39 2017 >>> x11-misc/xdg-utils-1.1.1-r1
Tue Apr  4 00:50:32 2017 >>> net-analyzer/wireshark-2.2.5
Tue Apr  4 00:50:40 2017 >>> app-text/asciidoc-8.6.9-r2
Tue Apr  4 00:51:43 2017 >>> net-libs/zeromq-4.2.1
Tue Apr  4 00:53:08 2017 >>> sys-block/gparted-0.27.0
Tue Apr  4 00:53:25 2017 >>> app-text/dvipng-1.15
Tue Apr  4 00:53:46 2017 >>> dev-libs/libinput-1.6.2
Tue Apr  4 00:54:03 2017 >>> x11-drivers/xf86-input-libinput-0.24.0
Tue Apr  4 00:56:51 2017 >>> x11-libs/libX11-1.6.5
Tue Apr  4 00:57:32 2017 >>> dev-lang/tk-8.6.6
Tue Apr  4 00:58:06 2017 >>> x11-libs/libXi-1.7.9
Tue Apr  4 00:58:20 2017 >>> x11-apps/xauth-1.0.10
Tue Apr  4 00:58:33 2017 >>> x11-apps/xconsole-1.0.7
Tue Apr  4 00:58:54 2017 >>> dev-libs/libunique-3.0.2-r1
Tue Apr  4 01:00:10 2017 >>> dev-tcltk/blt-2.4z-r13
Tue Apr  4 01:00:28 2017 >>> dev-tcltk/tix-8.4.3-r1
Tue Apr  4 01:00:57 2017 >>> app-text/xdvik-22.87.03
Tue Apr  4 09:23:30 2017 >>> dev-lang/python-3.4.5
Tue Apr  4 09:25:43 2017 >>> dev-lang/python-2.7.12
Tue Apr  4 09:26:00 2017 >>> app-misc/ca-certificates-20161102.3.27.2-r2
Tue Apr  4 09:26:24 2017 >>> dev-python/sip-4.19.1
Tue Apr  4 09:26:34 2017 >>> dev-util/meson-0.38.1
Tue Apr  4 09:26:51 2017 >>> dev-libs/libevdev-1.5.6
Tue Apr  4 09:27:05 2017 >>> dev-python/setuptools-30.4.0
Tue Apr  4 09:27:26 2017 >>> sys-apps/portage-2.3.3
Tue Apr  4 09:27:36 2017 >>> dev-python/configobj-5.0.6
Tue Apr  4 09:28:57 2017 >>> x11-libs/libxcb-1.12-r2
Tue Apr  4 09:29:09 2017 >>> app-text/iso-codes-3.74
Tue Apr  4 09:29:20 2017 >>> dev-python/ply-3.9
Tue Apr  4 09:29:33 2017 >>> dev-python/isodate-0.5.4
Tue Apr  4 09:29:43 2017 >>> dev-python/enum34-1.1.6
Tue Apr  4 09:29:55 2017 >>> app-portage/gentoolkit-0.3.3
Tue Apr  4 09:30:05 2017 >>> dev-python/decorator-4.0.10
Tue Apr  4 10:01:23 2017 >>> media-libs/mesa-13.0.5
Tue Apr  4 10:01:41 2017 >>> dev-python/cffi-1.9.1
Tue Apr  4 10:02:43 2017 >>> dev-python/rdflib-4.2.1
Tue Apr  4 10:05:19 2017 >>> x11-libs/cairo-1.14.8
Tue Apr  4 10:05:55 2017 >>> media-libs/libepoxy-1.4.1
Tue Apr  4 10:06:55 2017 >>> dev-python/cryptography-1.7.1
Tue Apr  4 10:07:24 2017 >>> dev-python/pyzmq-14.4.1
Tue Apr  4 10:11:18 2017 >>> x11-base/xorg-server-1.19.2
Tue Apr  4 10:11:33 2017 >>> dev-python/pycairo-1.10.0-r5
Tue Apr  4 10:11:45 2017 >>> dev-python/pyopenssl-16.2.0
Tue Apr  4 10:12:03 2017 >>> x11-drivers/xf86-input-libinput-0.24.0
Tue Apr  4 10:12:19 2017 >>> x11-drivers/xf86-input-mouse-1.9.2
Tue Apr  4 10:12:34 2017 >>> x11-drivers/xf86-input-keyboard-1.9.0
Tue Apr  4 10:13:42 2017 >>> x11-drivers/xf86-video-intel-2.99.917_p20170216
Tue Apr  4 10:14:08 2017 >>> x11-drivers/xf86-input-mtrack-0.3.1
Tue Apr  4 10:16:03 2017 >>> media-libs/gst-plugins-base-1.10.3
Tue Apr  4 10:16:40 2017 >>> dev-python/pyopengl-3.1.0
Tue Apr  4 10:46:05 2017 >>> app-text/texlive-core-2015-r1
Tue Apr  4 10:47:57 2017 >>> media-libs/gst-plugins-good-1.10.3
Tue Apr  4 10:48:18 2017 >>> dev-python/gst-python-1.10.3
Tue Apr  4 10:48:30 2017 >>> media-plugins/gst-transcoder-1.8.2-r1
Tue Apr  4 10:48:46 2017 >>> media-libs/gnonlin-1.4.0-r1
Tue Apr  4 10:49:09 2017 >>> dev-texlive/texlive-basic-2015
Tue Apr  4 10:49:49 2017 >>> media-libs/gstreamer-editing-services-1.10.3
Tue Apr  4 10:50:08 2017 >>> dev-texlive/texlive-latex-2015
Tue Apr  4 10:50:17 2017 >>> dev-texlive/texlive-genericrecommended-2015
Tue Apr  4 10:50:26 2017 >>> dev-texlive/texlive-fontutils-2015
Tue Apr  4 10:50:42 2017 >>> dev-texlive/texlive-latexrecommended-2015-r1
Tue Apr  4 10:51:48 2017 >>> dev-texlive/texlive-fontsrecommended-2015
Tue Apr  4 10:52:04 2017 >>> dev-texlive/texlive-pstricks-2015
Tue Apr  4 10:52:21 2017 >>> dev-texlive/texlive-pictures-2015-r2
Tue Apr  4 10:53:28 2017 >>> dev-texlive/texlive-latexextra-2015-r1
Tue Apr  4 10:53:44 2017 >>> dev-texlive/texlive-science-2015
Tue Apr  4 11:05:37 2017 >>> media-video/ffmpeg-3.2.4
Tue Apr  4 11:06:45 2017 >>> media-video/mplayer-1.3.0
Tue Apr  4 11:07:06 2017 >>> media-plugins/gst-plugins-libav-1.10.4
Tue Apr  4 11:09:15 2017 >>> media-libs/libopenshot-0.1.2
Tue Apr  4 11:15:46 2017 >>> dev-java/oracle-jre-bin-1.8.0.121
Tue Apr  4 11:18:59 2017 >>> media-libs/gst-plugins-bad-1.10.3
Tue Apr  4 11:19:26 2017 >>> x11-libs/libwnck-3.20.1
Tue Apr  4 11:19:51 2017 >>> app-text/gspell-1.2.2
Tue Apr  4 11:19:58 2017 >>> app-text/texlive-2015
Tue Apr  4 11:45:10 2017 >>> dev-python/PyQt5-5.7.1
Tue Apr  4 11:51:21 2017 >>> x11-libs/gtk+-2.24.31-r1
Tue Apr  4 11:51:33 2017 >>> x11-themes/gtk-engines-adwaita-3.20.2
Tue Apr  4 11:51:55 2017 >>> dev-libs/libunique-1.1.6-r2
Tue Apr  4 11:52:34 2017 >>> app-office/libreoffice-bin-5.2.3.3-r1
Tue Apr  4 11:53:13 2017 >>> x11-libs/vte-0.28.2-r208
Tue Apr  4 12:04:30 2017 >>> dev-python/PyQt4-4.12
Tue Apr  4 12:05:34 2017 >>> gnome-extra/synapse-0.2.99.2
Tue Apr  4 12:06:06 2017 >>> xfce-base/xfce4-settings-4.12.1
Tue Apr  4 12:06:30 2017 >>> media-video/pitivi-0.97.1
Tue Apr  4 12:06:44 2017 >>> app-portage/layman-2.4.2
Tue Apr  4 12:07:15 2017 >>> x11-misc/redshift-1.11-r1
Tue Apr  4 12:08:56 2017 >>> app-editors/gedit-3.20.2
Tue Apr  4 14:50:50 2017 >>> sys-apps/tcp-wrappers-7.6.22-r1
Tue Apr  4 14:52:31 2017 >>> media-libs/webrtc-audio-processing-0.3
Tue Apr  4 14:52:49 2017 >>> net-libs/libasyncns-0.8-r3
Tue Apr  4 14:53:02 2017 >>> media-libs/sbc-1.3
Tue Apr  4 14:56:02 2017 >>> media-sound/pulseaudio-10.0
Tue Apr  4 14:56:28 2017 >>> media-plugins/alsa-plugins-1.1.1
Tue Apr  4 14:57:01 2017 >>> media-sound/pavucontrol-3.0
Tue Apr  4 16:07:21 2017 >>> media-plugins/audacious-plugins-3.4.1
Tue Apr  4 16:25:06 2017 >>> sys-devel/binutils-2.25.1-r1
Tue Apr  4 16:27:11 2017 >>> cross-avr/binutils-2.25.1-r1
Tue Apr  4 23:21:14 2017 >>> dev-libs/keybinder-0.3.1-r200
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Apr 07, 2017 12:29 am    Post subject: Re: xfce brightness key stopped working after system update Reply with quote

Drasica wrote:
Code:
Tue Apr  4 00:53:46 2017 >>> dev-libs/libinput-1.6.2
Tue Apr  4 00:54:03 2017 >>> x11-drivers/xf86-input-libinput-0.24.0

Drasica ... ok, I think you've gone from using evdev for input, to using libinput. Were you in fact setting this in INPUT_DEVICES? It seems not because you also have x11-drivers/xf86-input-keyboard installed.

Your probably want to set INPUT_DEVICES="evdev" (and remove 'keyboard mouse'), anyhow, can you provide your 'emerge --info' and pastebin '/var/log/Xorg.0.log'. Also, are you configuring anything via xorg.conf.d, if you are then please provide anything re input devices. I think this probably explains what happened, though a look at Xorg.0.log should confirm that.

I also noticed you're using x11-drivers/xf86-video-intel which (based on the fact you seem to have a relatively new machine, and so GPU) you should probably switch to using the modesetting driver.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum