First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 192221
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ewan Marshall <ewanm89@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xorg.conf xorg.conf text/plain Krzysiek Pawlik 2007-09-11 22:09 0000 3.70 KB Details
xorg.conf xorg.conf text/plain Ewan Marshall 2007-09-12 07:20 0000 3.94 KB Details
xorg.conf xorg.conf text/plain Peter Alfredsen 2007-09-12 20:31 0000 6.07 KB Details
xorg.conf xorg.conf text/plain Andrey Melentyev 2007-09-13 14:31 0000 4.38 KB Details
xorg.conf xorg.conf of x86 arch text/plain oc666 2007-09-15 13:58 0000 3.58 KB Details
xorg.conf xorg.conf, ~amd64 text/plain David Watzke 2007-09-19 17:20 0000 2.10 KB Details
1.4-fix-kbdleds.patch 1.4-fix-kbdleds.patch patch Jim Ramsay 2007-10-24 20:10 0000 770 bytes Details | Diff
xorg-server-1.4-r2.ebuild.diff ebuild diff to apply posted patch placed in $FILESDIR patch Chris Smith 2007-10-26 18:12 0000 412 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192221 depends on: Show dependency tree
Bug 192221 blocks:
Votes: 30    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-11 20:04 0000
Since update of xorg-server, xorg-x11 and xf86-input-keyboard. Keyboard
indicator LEDs (Num Lock, Scroll Lock and Caps Lock) no longer work. No hint as
to why is given in xorg logs and I've tried rebuilding the driver. It's fine in
a terminal (ctrl+alt+F1) and it happens to both laptop keyboard and and
external USB one.

Reproducible: Always

Actual Results:  
Keyboard LEDs do not work

Expected Results:  
Keyboard LEDs work

------- Comment #1 From Jakub Moc (RETIRED) 2007-09-11 20:08:48 0000 -------
Attach your xorg.conf

------- Comment #2 From Krzysiek Pawlik 2007-09-11 22:09:46 0000 -------
Created an attachment (id=130654) [edit]
xorg.conf

My xorg.conf, happens to me too.

------- Comment #3 From Ewan Marshall 2007-09-12 07:20:55 0000 -------
Created an attachment (id=130675) [edit]
xorg.conf

xorg.conf as asked

------- Comment #4 From plamen 2007-09-12 07:56:11 0000 -------
Same problem here. But my NumLock works just fine. CapsLock and ScrollLock are
not working. This is on ~86 and ~amd64. I use ScrollLock led for keyboard
layout indication.

    Option "XKbOptions"  "grp:alt_shift_toggle,grp_led:scroll"

------- Comment #5 From Peter Alfredsen 2007-09-12 20:31:22 0000 -------
Created an attachment (id=130766) [edit]
xorg.conf

Happens to me too.

------- Comment #6 From Andrey Melentyev 2007-09-13 14:31:29 0000 -------
Created an attachment (id=130830) [edit]
xorg.conf

Same problem for me. Caps lock DO WORK but the led doesn't. Scroll lock and num
lock leds don't work too. I also use scroll lock as a grp_led and it is now
broken.

------- Comment #7 From oc666 2007-09-15 13:56:19 0000 -------
Also happens on x86.

------- Comment #8 From oc666 2007-09-15 13:58:18 0000 -------
Created an attachment (id=130996) [edit]
xorg.conf of x86 arch

------- Comment #9 From David Watzke 2007-09-19 17:20:07 0000 -------
Created an attachment (id=131322) [edit]
xorg.conf, ~amd64

Same here...

------- Comment #10 From Chris Smith 2007-09-19 21:49:10 0000 -------
ditto
caps,num,scroll - keys work but leds do not when in X

------- Comment #11 From Octavio Ruiz (Ta^3) 2007-09-20 02:19:06 0000 -------
Same here.

$ xsetleds -show
current states: CapsLock  off   NumLock off   ScrollLock off   
< HIT CAPS LOCK > or  $ xsetleds +caps
$ xsetleds -show
current states: CapsLock on   NumLock off   ScrollLock off  

But no led on/off. Anyway, that does not explain anything.

------- Comment #12 From Kamil Dudka 2007-09-20 08:47:11 0000 -------
I downgrade to x11-base/xorg-server-1.3.0.0 and
x11-drivers/xf86-input-keyboard-1.1.1 and leds started working.

------- Comment #13 From Leszek Salamacha 2007-09-20 10:18:45 0000 -------
Problem is not specific for xf86-input-keyboard driver -  I switched to evdev
keyboard driver and leds still don't work.

------- Comment #14 From Roy Marples (RETIRED) 2007-09-20 12:22:06 0000 -------
This also occurs on FreeBSD, so it's not OS specific either.

------- Comment #15 From Ken Rushia 2007-09-21 13:24:18 0000 -------
https://bugs.freedesktop.org/show_bug.cgi?id=12434

------- Comment #16 From Donnie Berkholz 2007-09-22 04:28:01 0000 -------
http://lists.freedesktop.org/archives/xorg/2007-September/028562.html has some
info about this and says it will be fixed in xorg-server 1.4.1. There's a hacky
patch in the previous post. Since it's a known issue upstream, I'm going to
close as such.

------- Comment #17 From Roy Marples (RETIRED) 2007-09-22 10:59:23 0000 -------
Quote from that email

> This patch is pretty screwy: Peter Hutterer has the correct fix (making
> XKB properly deal with extended events), which we'll push for 1.4.1.

If the fix is already made, why can we not patch our ebuilds accordingly?

------- Comment #18 From David Watzke 2007-09-22 11:05:55 0000 -------
(In reply to comment #17)
> If the fix is already made, why can we not patch our ebuilds accordingly?

+1, but I found only that screwy patch (it doesn't even work correctly). I
tried to look after it in here: gitweb.freedesktop.org and I found nothing.
Maybe they've got a patch, but it hasn't been commited in git yet.

------- Comment #19 From Donnie Berkholz 2007-09-22 19:12:45 0000 -------
http://lists.freedesktop.org/archives/xorg/2007-September/028562.html has some
info about this and says it will be fixed in xorg-server 1.4.1. There's a hacky
patch in the previous post. Since it's a known issue upstream, I'm going to
close as such.(In reply to comment #17)
> Quote from that email
> 
> > This patch is pretty screwy: Peter Hutterer has the correct fix (making
> > XKB properly deal with extended events), which we'll push for 1.4.1.
> 
> If the fix is already made, why can we not patch our ebuilds accordingly?

Because I have no clue whether that correct fix exists now or is just a
concept, and I haven't seen a patch for it anywhere.

------- Comment #20 From Donnie Berkholz 2007-09-22 19:23:18 0000 -------
On 20:29 Sat 22 Sep     , Daniel Stone wrote:
> On Sat, Sep 22, 2007 at 04:54:56PM +0200, Brice Goglin wrote:
> > Is there an actual patch available somewhere? There are quite a lot of
> > users complaining about LEDs not working...
>
> Not yet; Peter's on the right track, but there's some more fixes we're
> going to need.  I'll be making an input-for-1.4.1 branch for this as it
> develops, starting next week.  Promise.
>
> Cheers,
> Daniel

------- Comment #21 From Jakub Moc (RETIRED) 2007-10-02 21:03:38 0000 -------
*** Bug 194521 has been marked as a duplicate of this bug. ***

------- Comment #22 From Jim Ramsay 2007-10-24 20:10:08 0000 -------
Created an attachment (id=134273) [edit]
1.4-fix-kbdleds.patch

In the upstream bug there is now a patch available.

Daniel Stone says: "It's a perfectly fine patch to put in distributions for the
time being"

This patch should be added as 'files/1.4-fix-kbdleds.patch', and into
xorg-server-1.4-r2.ebuild in the 'PATCHES' section.  It works for me - My LEDs
work again!

------- Comment #23 From David Watzke 2007-10-24 21:43:24 0000 -------
I've tried this new patch and it behaves strange now. I just start KDE, turn on
the numlock so I can type the password, KDE starts and light go off (numlock
still on, though). I've pressed the numlock button and it just blinked and went
off again, so I tried it one more time and the light finally turned on (but
numlock was off)... so I had to fix it manually with xsetleds +num. After this
horror scene it seems to work OK (I mean switching between VTs with Xorg server
- it keeps settings).

------- Comment #24 From David Watzke 2007-10-24 21:58:04 0000 -------
Man... just ignore me, I've got xf86-input-keyboard still compiled with that
old messy patch.

------- Comment #25 From Matthias M Weber 2007-10-25 11:54:39 0000 -------
(In reply to comment #22)
I can confirm that the patch works.  The LEDs behave as usual again.

------- Comment #26 From Chris Smith 2007-10-26 18:12:04 0000 -------
Created an attachment (id=134445) [edit]
ebuild diff to apply posted patch placed in $FILESDIR

confirmed that patch works here as well

------- Comment #27 From Jakub Moc (RETIRED) 2007-10-31 21:52:16 0000 -------
*** Bug 197662 has been marked as a duplicate of this bug. ***

------- Comment #28 From Jim Ramsay 2007-11-01 12:54:04 0000 -------
Reopening so it doesn't get lost in the next revbump of xorg-server.

------- Comment #29 From Bernd Wurst 2007-11-09 12:58:18 0000 -------
What's the state of this bug?
If the patch works, why isn't there a new revision released?

------- Comment #30 From Donnie Berkholz 2007-11-09 21:40:29 0000 -------
1.4.1 is supposed to be released in a matter of a couple days.

------- Comment #31 From Billy DeVincentis 2007-11-30 03:34:38 0000 -------
So  let  me  try  to  understand  ,  the  current  xorg-server 1.4-r2  has  the
 patch  included?  Will  it  emerge  normally  and  work  or  do  I  need  to 
add  the  patch  myself?

------- Comment #32 From Martin Mokrejš 2007-11-30 12:47:27 0000 -------
xorg-server 1.4-r2 is still broken

------- Comment #33 From Billy DeVincentis 2007-12-01 19:08:50 0000 -------
Understood,  the  ebuild  in  the  portage  tree  is  still  broken  but  the 
patch  above  does  work,  whats  needed  is  to  manually  adjust  the  ebuild
 with  the  new  patch  and  emerge it.  

I  have  done  so  and  can  also  confirm  that  this  solves  the led 
problems.

------- Comment #34 From Donnie Berkholz 2007-12-01 19:35:32 0000 -------
Maybe I'll add the patch, since it seems 1.4.1 can't seem to make anywhere near
its projected release date.

------- Comment #35 From Steve Arnold 2007-12-02 03:48:55 0000 -------
Works for me on amd64 with 1.4.0-r2 and a generic Keytronic USB keyboard.  At
least, CapsLock and NumLock are both working correctly now...

------- Comment #36 From Billy DeVincentis 2007-12-02 11:31:17 0000 -------
Patch  should  be  added  to  ebuild  in  portage  tree,  it  compiles 
perfectly  and  since  yesterday,  no  glitches  whatsoever.

------- Comment #37 From Martin Mokrejš 2007-12-07 07:51:35 0000 -------
Billy,
  I do not see the patch added to portage tree. I still have only 1.4-r2
available which does not fix the problem. Thanks.

------- Comment #38 From Johannes Hirte 2007-12-11 12:19:19 0000 -------
(In reply to comment #23)
> I've tried this new patch and it behaves strange now. I just start KDE, turn on
> the numlock so I can type the password, KDE starts and light go off (numlock
> still on, though). I've pressed the numlock button and it just blinked and went
> off again, so I tried it one more time and the light finally turned on (but
> numlock was off)... so I had to fix it manually with xsetleds +num. After this
> horror scene it seems to work OK (I mean switching between VTs with Xorg server
> - it keeps settings).
> 

I can confirm a similar behavior with
1.4-fix-kbdleds.pat1.4-fix-kbdleds.patchch on ~amd64. Activating caps-lock on
kdm login screen activates the caps lock and the LED. After logging in, caps
lock ist still activated but the LED turns of. Pressing caps lock one more
time, the key gets deactivated and the LED flashes short.  After next usage of
the caps lock key, the LED seems to work correctly under X11. 

Switching back to a console (F1-F6) then, deactivates both caps lock and LED on
the console. Switching back to X again activates both, key and LED.

------- Comment #39 From David Watzke 2007-12-11 14:34:45 0000 -------
(In reply to comment #38)
> I can confirm a similar behavior with
> 1.4-fix-kbdleds.pat1.4-fix-kbdleds.patchch on ~amd64. Activating caps-lock on
> kdm login screen activates the caps lock and the LED. After logging in, caps
> lock ist still activated but the LED turns of. Pressing caps lock one more
> time, the key gets deactivated and the LED flashes short.  After next usage of
> the caps lock key, the LED seems to work correctly under X11. 

+1

> Switching back to a console (F1-F6) then, deactivates both caps lock and LED on
> the console. Switching back to X again activates both, key and LED.

Well, every VT has its *lock settings, so if it's not active on VT1-6, it will
be deactivated...

------- Comment #40 From Donnie Berkholz 2007-12-14 07:59:32 0000 -------
Should be fixed in 1.4.0.90, please reopen if it's not.

------- Comment #41 From Jakub Moc (RETIRED) 2007-12-14 11:19:13 0000 -------
*** Bug 202227 has been marked as a duplicate of this bug. ***

------- Comment #42 From Yu Yuwei 2007-12-14 11:26:01 0000 -------
*** Bug 202227 has been marked as a duplicate of this bug. ***

------- Comment #43 From Jakub Moc (RETIRED) 2007-12-14 11:38:26 0000 -------
*** Bug 202227 has been marked as a duplicate of this bug. ***

------- Comment #44 From Joseph Mulloy 2007-12-15 09:48:17 0000 -------
(In reply to comment #40)
> Should be fixed in 1.4.0.90, please reopen if it's not.
> 

Just installed 1.4.0.90 and indeed it does work. I believe this issue can be
considered resolved.

First Last Prev Next    No search results available      Search page      Enter new bug