Bug 7968
Summary: | Keyboard LEDs dont work | ||
---|---|---|---|
Product: | Drivers | Reporter: | Christoph Anton Mitterer (calestyo) |
Component: | Input Devices | Assignee: | Jiri Kosina (jikos) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | jikos |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.20 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
patch reverting d4ae650a904612ffb7edd3f28b69b022988d2466
Patch to fix zeroing of unused bits in output reports |
Description
Christoph Anton Mitterer
2007-02-08 16:18:45 UTC
I am confused - your dmesg shows that the keyboard is connected to USB port however you state that you are using USB-to-PS/2 adapter... Wich configuration results in broken leds - native USB or USB-to-PS/2? Sorry,.. I wrote bullshit XD ... my keyboard is actually connected via USB (no adapter),.. the mouse is the device connected via an USB-PS/2 adapter... The keyboard won't work with PS/2 (at least according to the technical docs). Note: That this keyboard has also some other issues,... some of the keys are not recognized by the kernel (some crappy additional keys that Microsoft has added). I can prove this bug. My keyboard MS comfort curve 2000 is connected via USB to an Intel 965 chipset based motherboard. I also have an usb mouse connected. LEDs worked fine until 2.6.19.x kernels. Since 2.6.20 release the numlock LED is on when booting but goes off the first time I press numlock key and won't come back. num keys though are working. I use ArchLinux x86_64. Could you please try to revert the git patch d4ae650a904612ffb7edd3f28b69b022988d2466 and let me know whether the problem goes away? In case you are not familiar with git, I attach the patch that reverts this change. Created attachment 10448 [details]
patch reverting d4ae650a904612ffb7edd3f28b69b022988d2466
thanks. with your patch reverting the changes the leds are back working as before. Could anyone who is able to reproduce the problem confirm that the attached patch fixes the problem. Thanks. Created attachment 10466 [details]
Patch to fix zeroing of unused bits in output reports
Num and Scroll Lock LEDs worked again, but Caps Lock LED didn't. Another strange thing happened, but this is perhaps unrelated to this patch. After trying the LEDs some times I got the following over and over again when I pressed the Scroll Lock: Feb 21 11:52:36 euler kernel: Mem-info: Feb 21 11:52:36 euler kernel: Node 0 DMA per-cpu: Feb 21 11:52:36 euler kernel: CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 Feb 21 11:52:36 euler kernel: CPU 1: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 Feb 21 11:52:36 euler kernel: CPU 2: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 Feb 21 11:52:36 euler kernel: CPU 3: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0 Feb 21 11:52:36 euler kernel: Node 0 DMA32 per-cpu: Feb 21 11:52:36 euler kernel: CPU 0: Hot: hi: 186, btch: 31 usd: 0 Cold: hi: 62, btch: 15 usd: 0 Feb 21 11:52:36 euler kernel: CPU 1: Hot: hi: 186, btch: 31 usd: 0 Cold: hi: 62, btch: 15 usd: 0 Feb 21 11:52:36 euler kernel: CPU 2: Hot: hi: 186, btch: 31 usd: 0 Cold: hi: 62, btch: 15 usd: 0 Feb 21 11:52:36 euler kernel: CPU 3: Hot: hi: 186, btch: 31 usd: 15 Cold: hi: 62, btch: 15 usd: 0 Feb 21 11:52:36 euler kernel: Node 0 Normal per-cpu: Feb 21 11:52:36 euler kernel: CPU 0: Hot: hi: 186, btch: 31 usd: 162 Cold: hi: 62, btch: 15 usd: 11 Feb 21 11:52:36 euler kernel: CPU 1: Hot: hi: 186, btch: 31 usd: 160 Cold: hi: 62, btch: 15 usd: 12 Feb 21 11:52:36 euler kernel: CPU 2: Hot: hi: 186, btch: 31 usd: 54 Cold: hi: 62, btch: 15 usd: 0 Feb 21 11:52:36 euler kernel: CPU 3: Hot: hi: 186, btch: 31 usd: 143 Cold: hi: 62, btch: 15 usd: 3 Feb 21 11:52:36 euler kernel: Active:10536 inactive:5004 dirty:473 writeback:0 unstable:0 free:985621 slab:3709 mapped:1858 pagetables:297 Feb 21 11:52:36 euler kernel: Node 0 DMA free:11036kB min:20kB low:24kB high:28kB active:0kB inactive:0kB present:10524kB pages_scanned:0 all_unreclaimable? no Feb 21 11:52:36 euler kernel: lowmem_reserve[]: 0 2487 4002 Feb 21 11:52:36 euler kernel: Node 0 DMA32 free:2529988kB min:5024kB low:6280kB high:7536kB active:0kB inactive:0kB present:2546912kB pages_scanned:0 all_unreclaimable? no Feb 21 11:52:36 euler kernel: lowmem_reserve[]: 0 0 1515 Feb 21 11:52:36 euler kernel: Node 0 Normal free:1401460kB min:3060kB low:3824kB high:4588kB active:42144kB inactive:20016kB present:1551360kB pages_scanned:0 all_unreclaimable? no Feb 21 11:52:36 euler kernel: lowmem_reserve[]: 0 0 0 Feb 21 11:52:36 euler kernel: Node 0 DMA: 7*4kB 6*8kB 3*16kB 3*32kB 5*64kB 4*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 2*4096kB = 11036kB Feb 21 11:52:36 euler kernel: Node 0 DMA32: 1*4kB 0*8kB 0*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 2*1024kB 2*2048kB 616*4096kB = 2529988kB Feb 21 11:52:36 euler kernel: Node 0 Normal: 189*4kB 180*8kB 44*16kB 21*32kB 12*64kB 1*128kB 1*256kB 2*512kB 1*1024kB 1*2048kB 340*4096kB = 1401460kB Feb 21 11:52:36 euler kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0 Feb 21 11:52:36 euler kernel: Free swap = 0kB Feb 21 11:52:36 euler kernel: Total swap = 0kB Feb 21 11:52:36 euler kernel: Free swap: 0kB Feb 21 11:52:36 euler kernel: 1441792 pages of RAM Feb 21 11:52:36 euler kernel: 432609 reserved pages Feb 21 11:52:36 euler kernel: 7117 pages shared Feb 21 11:52:36 euler kernel: 0 pages swap cached As soon as this started the Scroll-Lock-LED didn't go off anymore but Num-Lock still worked. I had to Alt-SysRq-b the system... I guess you are reporting this after using "Patch to fix zeroing of unused bits in output reports" right? Could you please also try "patch reverting d4ae650a904612ffb7edd3f28b69b022988d2466" and let me know if the situation is any better? I have just received off-bugzilla confirmation: === Date: Sun, 15 Apr 2007 21:29:36 +0200 From: Thomas L |