Bug 7968 - Keyboard LEDs dont work
Summary: Keyboard LEDs dont work
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Jiri Kosina
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 16:18 UTC by Christoph Anton Mitterer
Modified: 2007-04-15 12:35 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.20
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
patch reverting d4ae650a904612ffb7edd3f28b69b022988d2466 (2.04 KB, patch)
2007-02-18 01:20 UTC, Jiri Kosina
Details | Diff
Patch to fix zeroing of unused bits in output reports (978 bytes, patch)
2007-02-19 16:43 UTC, Jiri Kosina
Details | Diff

Description Christoph Anton Mitterer 2007-02-08 16:18:45 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.18
Distribution: Debian sid
Hardware Environment: Microsoft Natural Ergonomic Keyboard 4000, conntected to
PS/2 via USB to PS/2 adapter

Problem Description:
After booting (and during booting) the keyboard LEDs (NumLock, CapsLock and
ScrollLock) dont't work (they're always off). It happens on the console aswell
as in X.
Note that only the LEDs don't work, the function of Num/Caps/Scroll-Lock itself
is ok, the LEDs just don't display the current state.

Some changes must have been made to the input event system as the input devices
get different /dev/event<number> than in 2.6.18.

I've attached my dmesg (ask me for further information:
Linux version 2.6.20 (root@euler) (gcc version 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)) #1 SMP PREEMPT Wed Feb 7 18:34:52 CET 2007
Command line: root=/dev/sda1 ro snd-ice1724.index=0 snd-intel8x0.index=1  iommu=soft
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009b000 (usable)
 BIOS-e820: 000000000009b000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000da000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ff80000 (usable)
 BIOS-e820: 000000007ff80000 - 000000007ff91000 (ACPI data)
 BIOS-e820: 000000007ff91000 - 0000000080000000 (ACPI NVS)
 BIOS-e820: 0000000080000000 - 000000009ff80000 (usable)
 BIOS-e820: 000000009ff80000 - 00000000a0000000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000160000000 (usable)
Entering add_active_range(0, 0, 155) 0 entries of 3200 used
Entering add_active_range(0, 256, 524160) 1 entries of 3200 used
Entering add_active_range(0, 524288, 655232) 2 entries of 3200 used
Entering add_active_range(0, 1048576, 1441792) 3 entries of 3200 used
end_pfn_map = 1441792
DMI present.
ACPI: RSDP (v000 PTLTD                                 ) @ 0x00000000000f78f0
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x000000007ff8b258
ACPI: FADT (v001 NVIDIA CK8S     0x06040000 PTL_ 0x000f4240) @ 0x000000007ff90b06
ACPI: SPCR (v001 PTLTD  $UCRTBL$ 0x06040000 PTL  0x00000001) @ 0x000000007ff90b7a
ACPI: MADT (v001 PTLTD  	 APIC   0x06040000  LTP 0x00000000) @ 0x000000007ff90bca
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x000000007ff90c68
ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @ 0x000000007ff90c90
ACPI: DSDT (v001 NVIDIA      CK8 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000
Scanning NUMA topology in Northbridge 24
Number of nodes 2
Node 0 using interleaving mode 1/0
No NUMA configuration found
Faking a node at 0000000000000000-0000000160000000
Entering add_active_range(0, 0, 155) 0 entries of 3200 used
Entering add_active_range(0, 256, 524160) 1 entries of 3200 used
Entering add_active_range(0, 524288, 655232) 2 entries of 3200 used
Entering add_active_range(0, 1048576, 1441792) 3 entries of 3200 used
Bootmem setup node 0 0000000000000000-0000000160000000
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1441792
early_node_map[4] active PFN ranges
    0:        0 ->      155
    0:      256 ->   524160
    0:   524288 ->   655232
    0:  1048576 ->  1441792
On node 0 totalpages: 1048219
  DMA zone: 56 pages used for memmap
  DMA zone: 1308 pages reserved
  DMA zone: 2631 pages, LIFO batch:0
  DMA32 zone: 14280 pages used for memmap
  DMA32 zone: 636728 pages, LIFO batch:31
  Normal zone: 5376 pages used for memmap
  Normal zone: 387840 pages, LIFO batch:31
Nvidia board detected. Ignoring ACPI timer override.
If you got timer trouble try acpi_use_timer_override
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
Processor #2
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x05] address[0xd0000000] gsi_base[24])
IOAPIC[1]: apic_id 5, address 0xd0000000, GSI 24-27
ACPI: IOAPIC (id[0x06] address[0xd0001000] gsi_base[28])
IOAPIC[2]: apic_id 6, address 0xd0001000, GSI 28-31
ACPI: IOAPIC (id[0x07] address[0xd0800000] gsi_base[32])
IOAPIC[3]: apic_id 7, address 0xd0800000, GSI 32-55
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ9 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Nosave address range: 000000000009b000 - 00000000000a0000
Nosave address range: 00000000000a0000 - 00000000000da000
Nosave address range: 00000000000da000 - 0000000000100000
Nosave address range: 000000007ff80000 - 000000007ff91000
Nosave address range: 000000007ff91000 - 0000000080000000
Nosave address range: 000000009ff80000 - 00000000a0000000
Nosave address range: 00000000a0000000 - 00000000e0000000
Nosave address range: 00000000e0000000 - 00000000f0000000
Nosave address range: 00000000f0000000 - 00000000fec00000
Nosave address range: 00000000fec00000 - 00000000fee00000
Nosave address range: 00000000fee00000 - 00000000fee01000
Nosave address range: 00000000fee01000 - 00000000fff80000
Nosave address range: 00000000fff80000 - 0000000100000000
Allocating PCI resources starting at a4000000 (gap: a0000000:40000000)
PERCPU: Allocating 32512 bytes of per cpu data
Built 1 zonelists.  Total pages: 1027199
Kernel command line: root=/dev/sda1 ro snd-ice1724.index=0 snd-intel8x0.index=1
 iommu=soft
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
CPU 0: aperture @ ac000000 size 64 MB
CPU 1: aperture @ ac000000 size 64 MB
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing software IO TLB between 0x1650000 - 0x5650000
Memory: 4036384k/5767168k available (3041k kernel code, 156492k reserved, 1318k
data, 316k init)
Calibrating delay using timer specific routine.. 4421.67 BogoMIPS (lpj=2210835)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
Freeing SMP alternatives: 32k freed
ACPI: Core revision 20060707
Using local APIC timer interrupts.
result 12557931
Detected 12.557 MHz APIC timer.
Booting processor 1/4 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 4419.78 BogoMIPS (lpj=2209891)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
Dual Core AMD Opteron(tm) Processor 275 stepping 02
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff 0 cycles, maxerr 585 cycles)
Booting processor 2/4 APIC 0x2
Initializing CPU#2
Calibrating delay using timer specific routine.. 4419.78 BogoMIPS (lpj=2209894)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 2/2 -> Node 0
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 0
Dual Core AMD Opteron(tm) Processor 275 stepping 02
CPU 2: Syncing TSC to CPU 0.
CPU 2: synchronized TSC with CPU 0 (last diff -122 cycles, maxerr 1087 cycles)
Booting processor 3/4 APIC 0x3
Initializing CPU#3
Calibrating delay using timer specific routine.. 4419.73 BogoMIPS (lpj=2209866)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 3/3 -> Node 0
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 1
Dual Core AMD Opteron(tm) Processor 275 stepping 02
CPU 3: Syncing TSC to CPU 0.
CPU 3: synchronized TSC with CPU 0 (last diff -124 cycles, maxerr 1076 cycles)
Brought up 4 CPUs
testing NMI watchdog ... OK.
Disabling vsyscall due to use of PM timer
time.c: Using 3.579545 MHz WALL PM GTOD PM timer.
time.c: Detected 2210.192 MHz processor.
migration_cost=381
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI: Transparent bridge - 0000:00:09.0
Boot video device is 0000:02:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.XVR0._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 16 17 18 19) *0
ACPI: PCI Interrupt Link [LNK2] (IRQs 16 17 18 19) *0
ACPI: PCI Interrupt Link [LNK3] (IRQs 16 17 18 19) *0
ACPI: PCI Interrupt Link [LNK4] (IRQs 16 17 18 19) *0
ACPI: PCI Interrupt Link [LNK5] (IRQs 16 17 18 19) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LUS0] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LUS2] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LMCI] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LPID] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LTID] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [LSI1] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCP] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Root Bridge [PCI2] (0000:10)
PCI: Probing PCI hardware (bus 10)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI2.G0PA._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI2.G0PB._PRT]
ACPI: PCI Root Bridge [PCI1] (0000:80)
PCI: Probing PCI hardware (bus 80)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI1.XVR0._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 48 49 50 51) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 48 49 50 51) *0, disabled.
ACPI: PCI Interrupt Link [LNK3] (IRQs 48 49 50 51) *0, disabled.
ACPI: PCI Interrupt Link [LNK4] (IRQs 48 49 50 51) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 48 49 50 51) *0, disabled.
ACPI: PCI Interrupt Link [LUS0] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LUS2] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LMAC] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LACI] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LMCI] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LPID] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LTID] (IRQs 52 53 54 55) *0, disabled.
ACPI: PCI Interrupt Link [LSI1] (IRQs 52 53 54 55) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
SCSI subsystem initialized
libata version 2.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:02: ioport range 0x8000-0x807f could not be reserved
pnp: 00:02: ioport range 0x8080-0x80ff has been reserved
pnp: 00:02: ioport range 0x8400-0x847f has been reserved
pnp: 00:02: ioport range 0x8480-0x84ff has been reserved
pnp: 00:02: ioport range 0x8800-0x887f has been reserved
pnp: 00:02: ioport range 0x8880-0x88ff has been reserved
pnp: 00:02: ioport range 0xa000-0xa03f has been reserved
pnp: 00:02: ioport range 0xa040-0xa07f has been reserved
ieee1394: Initialized config rom entry `ip1394'
PCI: Device 0000:01:05.0 not available because of resource collisions
ohci1394: Failed to enable OHCI hardware
PCI: Bridge: 0000:00:09.0
  IO window: disabled.
  MEM window: b0100000-b01fffff
  PREFETCH window: disabled.
PCI: Failed to allocate mem resource #6:20000@d0000000 for 0000:02:00.0
PCI: Bridge: 0000:00:0e.0
  IO window: 2000-2fff
  MEM window: b1000000-b2ffffff
  PREFETCH window: c0000000-cfffffff
PCI: Setting latency timer of device 0000:00:09.0 to 64
PCI: Setting latency timer of device 0000:00:0e.0 to 64
PCI: Bridge: 0000:10:0a.0
  IO window: 3000-3fff
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:10:0b.0
  IO window: 4000-4fff
  MEM window: d0100000-d05fffff
  PREFETCH window: a4000000-a41fffff
PCI: Bridge: 0000:80:0e.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:80:0e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
Simple Boot Flag at 0x36 set to 0x1
audit: initializing netlink socket (disabled)
audit(1170932188.246:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PCI: Found disabled HT MSI Mapping on 0000:00:0e.0
PCI: Found enabled HT MSI Mapping on 0000:00:00.0
PCI: MSI quirk detected. PCI_BUS_FLAGS_NO_MSI set for 0000:10:0a.0 subordinate bus.
PCI: MSI quirk detected. PCI_BUS_FLAGS_NO_MSI set for 0000:10:0b.0 subordinate bus.
PCI: Found disabled HT MSI Mapping on 0000:80:0e.0
PCI: Found enabled HT MSI Mapping on 0000:80:00.0
PCI: Setting latency timer of device 0000:00:0e.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:0e.0:pcie00]
PCI: Setting latency timer of device 0000:80:0e.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:80:0e.0:pcie00]
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
nbd: registered device at major 43
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.59.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LMAC] -> GSI 23 (level, high) -> IRQ 23
PCI: Setting latency timer of device 0000:00:0a.0 to 64
forcedeth: using HIGHDMA
eth0: forcedeth.c: subsystem: 010f1:2895 bound to 0000:00:0a.0
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 55
ACPI: PCI Interrupt 0000:80:0a.0[A] -> Link [LMAC] -> GSI 55 (level, high) -> IRQ 55
PCI: Setting latency timer of device 0000:80:0a.0 to 64
forcedeth: using HIGHDMA
eth1: forcedeth.c: subsystem: 010f1:2895 bound to 0000:80:0a.0
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Linux video capture interface: v2.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
NFORCE-CK804: chipset revision 242
NFORCE-CK804: not 100% native mode: will probe irqs later
NFORCE-CK804: 0000:00:06.0 (rev f2) UDMA133 controller
    ide0: BM-DMA at 0x1c00-0x1c07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x1c08-0x1c0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: Hitachi HDT725025VLAT80, ATA DISK drive
hdb: PLEXTOR DVDR PX-760A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: 488397168 sectors (250059 MB) w/7372KiB Cache, CHS=30401/255/63, UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdb: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
sata_nv 0000:00:07.0: version 3.2
ACPI: PCI Interrupt Link [LTID] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LTID] -> GSI 22 (level, high) -> IRQ 22
sata_nv 0000:00:07.0: Using ADMA mode
PCI: Setting latency timer of device 0000:00:07.0 to 64
ata1: SATA max UDMA/133 cmd 0xFFFFC20000032480 ctl 0xFFFFC200000324A0 bmdma
0x1C10 irq 22
ata2: SATA max UDMA/133 cmd 0xFFFFC20000032580 ctl 0xFFFFC200000325A0 bmdma
0x1C18 irq 22
scsi0 : sata_nv
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7, max UDMA/133, 488397168 sectors: LBA48 NCQ (depth 31/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : sata_nv
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7, max UDMA/133, 488397168 sectors: LBA48 NCQ (depth 31/32)
ata2.00: ata2: dev 0 multi count 16
ata2.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      HDT722525DLA380  V44O PQ: 0 ANSI: 5
ata1: bounce limit 0xFFFFFFFFFFFFFFFF, segment boundary 0xFFFFFFFF, hw segs 61
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
 sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access     ATA      HDT722525DLA380  V44O PQ: 0 ANSI: 5
ata2: bounce limit 0xFFFFFFFFFFFFFFFF, segment boundary 0xFFFFFFFF, hw segs 61
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
 sdb: sdb1
sd 1:0:0:0: Attached scsi disk sdb
sd 1:0:0:0: Attached scsi generic sg1 type 0
ACPI: PCI Interrupt Link [LSI1] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LSI1] -> GSI 21 (level, high) -> IRQ 21
sata_nv 0000:00:08.0: Using ADMA mode
PCI: Setting latency timer of device 0000:00:08.0 to 64
ata3: SATA max UDMA/133 cmd 0xFFFFC20000034480 ctl 0xFFFFC200000344A0 bmdma
0x1C20 irq 21
ata4: SATA max UDMA/133 cmd 0xFFFFC20000034580 ctl 0xFFFFC200000345A0 bmdma
0x1C28 irq 21
scsi2 : sata_nv
ata3: SATA link down (SStatus 0 SControl 300)
scsi3 : sata_nv
ata4: SATA link down (SStatus 0 SControl 300)
Fusion MPT base driver 3.04.03
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.03
ACPI: PCI Interrupt 0000:12:06.0[A] -> GSI 30 (level, low) -> IRQ 30
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
scsi4 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=30
ACPI: PCI Interrupt 0000:12:06.1[B] -> GSI 31 (level, low) -> IRQ 31
mptbase: Initiating ioc1 bringup
ioc1: 53C1030: Capabilities={Initiator,Target}
scsi5 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=31
Fusion MPT misc device (ioctl) driver 3.04.03
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
ieee1394: raw1394: /dev/raw1394 device initialized
ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUS2] -> GSI 20 (level, high) -> IRQ 20
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 20, io mem 0xb0001000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ACPI: PCI Interrupt 0000:12:04.2[C] -> GSI 30 (level, low) -> IRQ 30
ehci_hcd 0000:12:04.2: EHCI Host Controller
ehci_hcd 0000:12:04.2: new USB bus registered, assigned bus number 2
ehci_hcd 0000:12:04.2: irq 30, io mem 0xd0100000
ehci_hcd 0000:12:04.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUS0] -> GSI 23 (level, high) -> IRQ 23
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:02.0: irq 23, io mem 0xb0000000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 10 ports detected
Initializing USB Mass Storage driver...
usb 2-1: new high speed USB device using ehci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 3-2: new low speed USB device using ohci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
usb 3-4: new full speed USB device using ohci_hcd and address 3
usb 3-4: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Natural
Comment 1 Dmitry Torokhov 2007-02-09 12:10:01 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?
Comment 2 Christoph Anton Mitterer 2007-02-09 19:21:36 UTC
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).
Comment 3 Andreas Radke 2007-02-17 13:38:40 UTC
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.
Comment 4 Jiri Kosina 2007-02-18 01:18:28 UTC
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.
Comment 5 Jiri Kosina 2007-02-18 01:20:10 UTC
Created attachment 10448 [details]
patch reverting d4ae650a904612ffb7edd3f28b69b022988d2466
Comment 6 Andreas Radke 2007-02-19 11:15:44 UTC
thanks. with your patch reverting the changes the leds are back working as before.
Comment 7 Jiri Kosina 2007-02-19 16:41:54 UTC
Could anyone who is able to reproduce the problem confirm that the attached
patch fixes the problem. Thanks.
Comment 8 Jiri Kosina 2007-02-19 16:43:57 UTC
Created attachment 10466 [details]
Patch to fix zeroing of unused bits in output reports
Comment 9 Christoph Anton Mitterer 2007-02-21 03:04:26 UTC
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...
Comment 10 Jiri Kosina 2007-02-21 03:31:50 UTC
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?
Comment 11 Jiri Kosina 2007-04-15 12:35:15 UTC
I have just received off-bugzilla confirmation:

===
Date: Sun, 15 Apr 2007 21:29:36 +0200
From: Thomas L

Note You need to log in before you can comment on or make changes to this bug.