Bug 146495 - Caps Lock, Num Lock & Scroll Lock LED Problem
Summary: Caps Lock, Num Lock & Scroll Lock LED Problem
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 1
Hardware: i686 Other
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 00:41 UTC by Andrea Colangelo
Modified: 2006-05-05 13:49 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/etc/sysconfig/keyboard (2.87 KB, application/octet-stream)
2006-01-30 19:39 UTC, Andrea Colangelo
Details
/etc/sysconfig/keyboard (2.87 KB, text/plain)
2006-02-03 12:54 UTC, Andrea Colangelo
Details
Output of hwinfo --keyboard (490 bytes, text/plain)
2006-02-03 12:54 UTC, Andrea Colangelo
Details
Output of ls -al from /var/log/YaST2 (920 bytes, text/plain)
2006-02-03 12:55 UTC, Andrea Colangelo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Colangelo 2006-01-29 00:41:46 UTC
I installed Suse 10.1Beta1 on my laptop Acer Aspire 2023WLMi. Yet from the installation I had an irritating bug with LEDs:

when Caps Lock is OFF, the Caps Lock led is OFF and Scroll Lock is ON;
when Caps Lock is ON, the Caps Lock led is ON and Scroll Lock goes OFF;
when Num Lock is OFF, the Num Lock led is OFF and Scroll Lock is ON
when Num Lock is ON, the Num Lock led is OFF and Scroll Lock goes OFF;
Scroll Lock Led doesn't switch off is I press Scroll Lock key.

It's annoying to see that led always switched on. Anyway, both Caps Lock and Num Lock work well.
Comment 1 Michael Gross 2006-01-30 13:22:45 UTC
Maby your keymap is wrong or messed up. Please attach your /etc/sysconfig/keyboard and check out what keycodes are getting produced by pressing the corresponding keys.
Comment 2 Andrea Colangelo 2006-01-30 19:39:31 UTC
Created attachment 65746 [details]
/etc/sysconfig/keyboard
Comment 3 Andrea Colangelo 2006-01-30 20:14:12 UTC
The keycodes, as displayed by showkey in a console, are:

Caps Lock: 58 (press/release)
Num Lock: 69 (press/release)
Scroll Lock: 70 (press/release)
Comment 4 Michael Gross 2006-01-31 10:55:56 UTC
This looks right...
Which keyboard-definition did you select in YaST during the installation? Please attach the yast logfiles.
Comment 5 Andrea Colangelo 2006-02-02 12:04:53 UTC
I don't know where are yeast logfiles, if you could tell me how, I'll attach here.
Anyway, by Yast2, I see my keyboard mapping is "Generic 104-key PC" with Italian Layout.
Hope this can help.
Comment 6 Michael Gross 2006-02-02 12:12:41 UTC
This might explain it.

Before we go on, try selecting another keyboard-definition using YaST and see if the problem still exists. Are the keys really swapped (do they work as they should?). Italian layout should be choosable.

If it doesn't work:
Please attach the output of `hwinfo --keyboard', the file /etc/sysconfig/keyboard and the logfiles, which you can find in /var/log/YaST2.
Which keyboard did you select during the installation?
Comment 7 Andrea Colangelo 2006-02-03 12:52:22 UTC
The keyboard selected during installation was Generic 102 keys. I tried many other  (Generic 101, 102Intl, 104, 105Intl and ACPI Standard) without any result.

I'm not sure that my poor english (sorry!) let you understand that keys work well. The problem is just with Leds, and especially with Caps Lock Led. They don't correspond to the real activation of the three Locks, but the Locks work well (on Caps Lock switched on I can write capitalized, on Num Lock I can use embedded numeric keyboard, and so on). 

I am attaching the files, but I'm not sure which are the right YaST2 logfile. I attached the output of ls -al, so please tell me which files to attach, and I'll do it immediately.
Comment 8 Andrea Colangelo 2006-02-03 12:54:08 UTC
Created attachment 66338 [details]
/etc/sysconfig/keyboard
Comment 9 Andrea Colangelo 2006-02-03 12:54:44 UTC
Created attachment 66339 [details]
Output of hwinfo --keyboard
Comment 10 Andrea Colangelo 2006-02-03 12:55:35 UTC
Created attachment 66340 [details]
Output of ls -al from /var/log/YaST2
Comment 11 Michael Gross 2006-02-03 13:04:20 UTC
After all this does not look like a YaST problem to me, nut to mis-interpreted keyboard-events.

Juergen: Can you provide a clue here? If this is nothing for you, just assign it back to us.
Comment 12 Jigish Gohil 2006-03-25 15:28:48 UTC
On 10.1 Beta 8, LED for NUM LOCK is OFF when NUM LOCK is actually turned ON, and turns on when NUM LOCK is switched off.
Comment 13 Gerald Pfeifer 2006-04-20 23:40:12 UTC
Jürgen, would you mind responding to the question and potentially assign
this back?
Comment 14 Juergen Weigert 2006-04-24 12:16:20 UTC
The LEDs are normally handled at kernel level.
The kbd package has /bin/setleds, which can show you the state of the 
locks, and the state of the LEDs separately. 

I cannot say much ore here. Back to mgross.
Comment 15 Michael Gross 2006-05-02 14:39:29 UTC
I'm closing this for now. If this problem still exists in the current release (RC3), please reopen. And please don't assign bugs directly to me.
Comment 16 Michael Gross 2006-05-02 14:39:44 UTC
see last comment
Comment 17 Jigish Gohil 2006-05-05 13:49:08 UTC
Problem seems to have been fixed today.(5 May). Anyway the problem I had reported would have been cause by Xgl and that seems fixed at least.

see http://webcvs.freedesktop.org/xorg/xserver/xorg/ChangeLog?rev=1.199.2.69&only_with_tag=xgl-0-0-1&view=markup

-J