brightness hotkeys not functional on Lenovo Ideapad u450p

Bug #571421 reported by Chris Van Hoof
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: udev

$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
$ apt-cache policy udev
udev:
  Installed: 151-12
  Candidate: 151-12
  Version table:
 *** 151-12 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

While testing out my new laptop installed with Lucid Beta 2, and updated to RC, I noticed the function+brightness keys are not working.

Checking with xev, I see no keypress registered at all (even after killing g-power-manager and g-settings-daemon). Based on Hotkeys/Troubleshooting documentation it requested I file this bug against udev, however I'm not certain this is absolutely a udev problem.

If any other information is needed please let me know.

Also to note, using the gnome brightness applet, I'm able to manually adjust my screens brightness.

Regards,
Chris

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: udev 151-12
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
Architecture: i386
Date: Wed Apr 28 16:01:47 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
MachineType: LENOVO 3389
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic-pae root=UUID=6c95d70d-0591-4d58-b6b2-e53478974966 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: udev
dmi.bios.date: 01/20/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 22CN35WW(V2.02)
dmi.board.name: NITU1
dmi.board.vendor: LENOVO
dmi.board.version: REFERENCE
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnLENOVO:bvr22CN35WW(V2.02):bd01/20/2010:svnLENOVO:pn3389:pvrLenovoIdeaPadU450p:rvnLENOVO:rnNITU1:rvrREFERENCE:cvnNoEnclosure:ct10:cvrN/A:
dmi.product.name: 3389
dmi.product.version: Lenovo IdeaPad U450p
dmi.sys.vendor: LENOVO

Revision history for this message
Chris Van Hoof (vanhoof) wrote :
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Also to note the function+key layout on this laptop is a bit different from other Lenovos I've used in the past.

The brightness keys are function+up and function+down. Just to note volume up and volume down are function+left, and function+right, and both of those are working properly.

--chris

Changed in udev (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please find the scan codes for the brightness hotkeys, as described in /usr/share/doc/udev/README.keymap.txt.gz ? Thanks!

Changed in udev (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Chris Van Hoof (vanhoof) wrote : Re: [Bug 571421] Re: brightness hotkeys not functional on Lenovo Ideapad u450p

On 04/29/2010 12:39 AM, Martin Pitt wrote:
> Can you please find the scan codes for the brightness hotkeys, as
> described in /usr/share/doc/udev/README.keymap.txt.gz ? Thanks!

Hi Martin -- I went through the steps outlined:

vanhoof@reptar:~$ /lib/udev/findkeyboards
AT keyboard: input/event5

vanhoof@reptar:~$ sudo /lib/udev/keymap input/event5 > orig-map.txt

... however when attempting to generate output with:

vanhoof@reptar:~$ sudo /lib/udev/keymap -i input/event5

... no events are registered at all when using Function+up, or
Function+down. Both Function+left/right (volume), and all the
directional keys work just fine:

vanhoof@reptar:~$ sudo /lib/udev/keymap -i input/event5
[sudo] password for vanhoof:
Press ESC to finish
scan code: 0xC8 key code: up
scan code: 0xD0 key code: down
scan code: 0xCB key code: left
scan code: 0xCD key code: right
scan code: 0xAE key code: volumedown
scan code: 0xB0 key code: volumeup
[...]
scan code: 0x01 key code: esc

I checked on Lenovo's site, and there are presently no BIOS updates
available for this laptop yet.

Just in-case it is needed, I'm attaching steps 4, and 5 here as well:

vanhoof@reptar:~$ head /sys/class/dmi/id/sys_vendor
LENOVO
vanhoof@reptar:~$ head /sys/class/dmi/id/product_name
3389

Could this just be a BIOS issue, or any other ideas?

--chris

Revision history for this message
Martin Pitt (pitti) wrote :

It's also possible that those particular keys are attached to a different input device than the normal keyboard. Easiest is probably just to try input0, input1, and so on (until you get a "No such file or directory"), and check whether they appear on any of those.

Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Hi Martin -- In /dev/input/ I have event 0..9. I went through each using /lib/udev/keymap -i, and nothing was returned when using function+brightness.

Regards,
Chris

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks for checking. So this needs to be fixed in the kernel to make the events available at all. Reassigning.

affects: udev (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: Incomplete → Confirmed
Revision history for this message
bhuvi (bhuvanesh) wrote :

same problem for me on lenovo G550 laptop. https://bugs.launchpad.net/ubuntu/+source/udev/+bug/530238

Revision history for this message
unadulterated (to-sandip) wrote :

same with lenovo y410.. with lucid on it.

Revision history for this message
123vier (flowrist) wrote :

same with lenovo ideapad z350 on lucid

Revision history for this message
Dattatraya (dgokhale) wrote :

Same problem on a lenovo ideapad u460

Revision history for this message
Dattatraya (dgokhale) wrote :

Have opened a fresh bug for lenovo ideapad u460 ... https://bugs.launchpad.net/bugs/623065. That bug has been reassigned to the kernel instead of udev

Revision history for this message
Dattatraya (dgokhale) wrote :

I installed the 2.6.35-rc1-lucid kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35-rc1-lucid/ and that seems to solve the problem. I checked for the keymap and scan code and the FN+Up/Down keys do not register any scan code but the event is registered as an acpi_event.

Is there anything I can do to narrow down the problem to a specific program / module etc?

Also can somebody check if what I have done resolves the problem on other Ideapad laptops?

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Hi Dattatraya/Chris,

I just told that brightness key of ideapad works in Maverick. I test with the ideapad B550 and it looks like the brightness is changed by BIOS code, and ACPI backlight device get the notify and change the brightness.

What I dont understand is why it does not work in lucid.

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Have another test on B550

# watch --interval=1 cat /sys/class/backlight/acpi_video0/brightness

The brightness level is from 0 to 10 and each time I press the brightness hotkey, it will in/decrease by 2.

Revision history for this message
splashis (splashote) wrote :

I have the same issues on my ideapad s10-3.

any news on the topic?

thanks!

Revision history for this message
splashis (splashote) wrote :

and in my case it does not work with maverick....

penalvch (penalvch)
tags: added: needs-upstream-testing
Revision history for this message
penalvch (penalvch) wrote :

Chris Van Hoof, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested and remove the tag:
needs-upstream-testing

This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the text:
needs-upstream-testing

If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
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
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.