← Back to team overview

kernel-packages team mailing list archive

[Bug 1528303] Re: Hotnkey Fn+f5 Fn+f6 won't change brightness on ASUS UX303UB

 

patrez, if you could please address
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1528303/comments/8
first before reporting upstream, it will be most helpful for them to
narrow down the root cause.

** Changed in: linux (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1528303

Title:
  Hotnkey Fn+f5 Fn+f6 won't change brightness on ASUS UX303UB

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  It seems that some function keys are not working on ASUS UX303UB. I've managed to hack some script that will change the brightness of the display
  however you have to allow write to /sys/class/backlight/intel_backlight/brightness for other users than root

  # cat backlight
  _______________
  #!/bin/bash
  value=`cat /sys/class/backlight/intel_backlight/brightness`
  case "$1" in
   plus)
    if [ 921 > $value ]; then
                          value=$((value+15))
                  else
     value=936
                  fi
    echo $value > /sys/class/backlight/intel_backlight/brightness
    ;;
   minus)
    if [ $value > 17 ]; then
     value=$((value-15))
    else
     value=2
    fi
    echo $value > /sys/class/backlight/intel_backlight/brightness
    ;;
   *)
    echo "Usage: backlight {plus|minus}"
    exit 1
    ;;
  esac

  exit 0
  ___________________________

  Using xbindkeys I can change the brightness using custom key shortcuts
  #cat .xbindkeysrc
  _____________________________________
  #brightness - 15
  "/home/patrez/backlight minus"
  control+shift+z
  #brightness + 15
  "/home/patrez/backlight plus"
  control+shift+x

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.3.0-2-generic 4.3.0-2.11 [modified: boot/vmlinuz-4.3.0-2-generic]
  ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0
  Uname: Linux 4.3.0-2-generic x86_64
  ApportVersion: 2.19.2-0ubuntu9
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  patrez     1699 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Mon Dec 21 18:06:26 2015
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=b541ad3f-8e38-403f-b43a-62a4cacac17e
  InstallationDate: Installed on 2015-12-18 (2 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151209)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 0bda:57cb Realtek Semiconductor Corp.
   Bus 001 Device 002: ID 1532:000a Razer USA, Ltd
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: ASUSTeK COMPUTER INC. UX303UB
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.3.0-2-generic.efi.signed root=UUID=dedc82c7-c836-4a7a-8c8e-f79ebe574958 ro splash quiet "acpi_osi=!Windows 2012" vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.3.0-2-generic N/A
   linux-backports-modules-4.3.0-2-generic  N/A
   linux-firmware                           1.154
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/27/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: UX303UB.202
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: UX303UB
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: ATN12345678901234567
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX303UB.202:bd08/27/2015:svnASUSTeKCOMPUTERINC.:pnUX303UB:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX303UB:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: UX303UB
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1528303/+subscriptions


References