Bug 627325

Summary: some Function keys will not work or won´t work as expected
Product: [openSUSE] openSUSE 11.3 Reporter: Bodo Wlaka <bodow>
Component: Mobile DevicesAssignee: E-mail List <mobile-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bodo Wlaka 2010-08-01 20:28:51 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-1.2 Firefox/3.6.8

I have a lenovo sl500 laptop with 4GB RAM, Nvidia-Graphics and Opensuse 11.3 64-bit installed. 
On 11.1 a had to use the lenovo-sl-laptop Kernel-modul to use the Hotkeys FN+Fx, dimm the LCD and so on. 
Now it schould work with the modul asus-laptop. In the asus-laptop.c there are some lines especially for lenovo-models. 
So far so good, but some Kombinations are working wrong or do nothing.
So should the FN+F2 switch the monitor off, but nothing happens. 
FN+F3 should show the battery-status, 
FN-F4 should s2ram and 
FN+F12 should hibernate, 
FN+F8 should switch the Touchpad off/on, 
FN+F9 should eject the DVD-Burner and 
FN+space should zoom.

Positiv is, that the Brightness off the Display can be dimmed and 
FN+F5 switches the Wlan off/on and
the Volume-controls will function. 

Now i looked with acpi_listen and for the most Kombinations there is a acpi-event, but nothing happens. 
I tried to write scripts for the acpi-daemon but some work, some not. 
i think this is, while some Kombinations have X-Keycodes mapped on it. 
I could use a script of mine under /etc/acpi to eject the DVD with FN+F9.
A script in the same location for FN+F8 to switch Touchpad on/off works not. 
If i run the script in the Terminal it works. 

Now i tried to verify it with a liveCD with Ubuntu 10.4 and Knoppix. 
With these 2, for example the FN+F2 key works. The Display goes off. 

But i saw under Ubuntu and Knoppix that there are a lot off files under /etc/acpi. 
In my 11.3 there are under events only 2 Files named Powerbutton and Thinkpad. 

My suggestion is, that you mapped this codes somewhere with hal, udev or whatever, but it does not work correctly. 
The Hibernate-Button FN+F12 does nothing and the suspend-button FN+F4 will hibernate. 

Reproducible: Always

Steps to Reproduce:
1.Install Opensuse 11.3 on a lenovo sl500
2.test the Key-combinations 
3.you see not the expected result. 


Expected Results:  
The Keys should work as expected

with xev tested i have something like this:

FN+F5 gives this and the wlan-led goes on or off.

KeyRelease event, serial 35, synthetic NO, window 0x6400001,
    root 0x15a, subw 0x0, time 4022199, (671,805), root:(675,828),
    state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

FN+F2 should switch display off and this gives xev but nothing happens:

KeyPress event, serial 35, synthetic NO, window 0x6400001,
    root 0x15a, subw 0x0, time 4029177, (671,805), root:(675,828),
    state 0x0, keycode 160 (keysym 0x1008ff2d, XF86ScreenSaver), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

For special output or tests, please let me know. 
It would be nice if this would be fixed.
Comment 1 Xiao Yu Yang 2010-08-02 02:32:25 UTC
*** Bug 627326 has been marked as a duplicate of this bug. ***
Comment 2 Xiao Yu Yang 2010-08-02 02:33:03 UTC
*** Bug 627327 has been marked as a duplicate of this bug. ***
Comment 3 Bodo Wlaka 2010-08-02 11:33:27 UTC
sorry for more than one entry, but the server had no response while i submitted the bug.
Comment 4 Tomáš Chvátal 2017-08-11 13:34:33 UTC
This is mostly handled by kernel and udev. Please report a new issue against supported release if it still persists.