Brightness control keys not working on Gigabyte P57 laptop

Bug #1665530 reported by Prasanna Kannappan
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I have a gigabyte P57 laptop running Ubuntu 16.04 kernel 4.8.x. My brightness control keys (fn+F3, fn+F4) are not getting detected. After reading about how keypresses are handled by the Linux kernel, I used showkey to check the scancodes of these keys. I did not get any output. Similarly no output from xev, evtest and acpi_listen.

Just for your reference, other keys like volume up (fn+F9) are working alright.
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2016-12-14 (65 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Package: linux (not installed)
Tags: xenial
Uname: Linux 4.8.0-040800-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1665530

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Prasanna Kannappan (prarobo) wrote : JournalErrors.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Prasanna Kannappan (prarobo) wrote : ProcEnviron.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10-rc8

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
jamso (jdsherratt3) wrote :

I have a gigabyte P57X v6-CF3, with the latest bios installed. I can confirm this bug is present in ubuntu 16.10 with kernel 4.10.1-041001-generic.

Fn keys which work:
    -F1 (sleep)
    -F7 (mute)
    -F8 (lower volume)
    -F9 (increase volume)
    -down arrow (play/pause media)
    -up arrow (stop media)
    -left arrow (previous track)
    -right arrow (next track)
Fn keys which don't work:
    -Esc (not sure what this is, possibly open dvd drive)
    -F2 (don't know)
    -F3 (decrease screen brightness)
    -F4 (increase screen brightness)
    -F5 might not work (looks like change display => cannot test)
    -F6 (lock trackpad)
    -F10 (don't know)
    -F11 (disable/ enable wifi and bluetooth)
    -F12 (camera, but haven't properly tested because no cam software installed)
    -Prt Scr (sysRq)
    -Delete (insert)
    -Num LK (Scr LK, so can't really test)
    -space (screen brightness, but it seems impossible to configure the keyboard brightness at all on ubuntu)

Revision history for this message
jamso (jdsherratt3) wrote :

quick edit:

F2 is toggle wifi
F11 is toggle bluetooth
Esc is eject dvd drive

Also, the keys that don't work also did not work on windows 10 until all the gigabyte utility software was installed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
gp (gpat)
Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please provide dmesg and acpidump.

Revision history for this message
Prasanna Kannappan (prarobo) wrote :
Revision history for this message
Prasanna Kannappan (prarobo) wrote :

There is nothing logged in dmesg log. So I have attached kern log

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please attach output of `lsmod`, thanks!

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Install and boot [1], press the hotkeys, then attach dmesg.

[1] http://people.canonical.com/~khfeng/linux-image-4.13.0-rc5-gbwmi_4.13.0-rc5-gbwmi-1_amd64.deb

Revision history for this message
gp (gpat) wrote :

I seem to have lost my wireless and the use of the few fn buttons that were
working after the upgrading to this kernel but here is what you asked for.
I don't think pressing the buttons gives any dmesg output. Another thing I
noticed is that fn+print screen (SysRq) acts as if just print screen was
pressed (the others just do nothing).

Revision history for this message
gp (gpat) wrote :
  • acpidump Edit (865.6 KiB, application/octet-stream; name=acpidump)
  • dmesg Edit (63.8 KiB, application/octet-stream; name=dmesg)
  • lsmod Edit (4.1 KiB, application/octet-stream; name=lsmod)
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you remove apci_osi=Linux?

Revision history for this message
gp (gpat) wrote :

It was never set in the first place

Revision history for this message
gp (gpat) wrote :

Also, now that I am back to kernel 4.10, wireless is back but the volume keys still do not work. Some other updates were performed as well so that might be a coincidence.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I wrote a simple WMI driver for the laptop - but maybe GIGABYTE hotkey doesn't use WMI at all?
You probably need to ask Gigabyte to share more information.

Revision history for this message
Vinicius Tafuri (tafuri) wrote :

Any news regarding this bug? I'm facing the same problems. The most troublesome for is the Fn+ F12 to enable camera. My web cam is not working.

Revision history for this message
gp (gpat) wrote : Re: [Bug 1665530] Re: Brightness control keys not working on Gigabyte P57 laptop

I too am facing the same issue with my camera not working (not appearing
to be physically connected to the laptop) and I think that a solution
lies in the fn+F12 functionality. I have not looked into it due to time
constraints but I am not aware of any fix.

On 22. mars 2018 16:12, Vinicius Tafuri wrote:
> Any news regarding this bug? I'm facing the same problems. The most
> troublesome for is the Fn+ F12 to enable camera. My web cam is not
> working.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.