2002-10-08 10:59:14

by Michael Dreher

[permalink] [raw]
Subject: 2.5.41 input problems and sleeping functions

Hi all,

with 2.5.41 I can't type the " | " anymore. If I type it, I get

atkbd.c: Unknown key (set 2, scancode 0x6a, on isa0060/serio0) pressed.
atkbd.c: Unknown key (set 2, scancode 0x6a, on isa0060/serio0) released.


relevant part or dmesg (I hope):

register interface 'mouse' with class 'input
mice: PS/2 mouse device common for all mice
register interface 'event' with class 'input
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1



Moreover, sometimes the usb mouse dies. Pulling it out and plugging it back
gives me

Debug: sleeping function called from illegal context at
include/asm/semaphore.h:119
Call Trace:
[<c0113a4d>] __might_sleep+0x54/0x5b
[<c02082af>] usb_hub_events+0x5f/0x29d
[<c020851d>] usb_hub_thread+0x30/0xce
[<c02084ed>] usb_hub_thread+0x0/0xce
[<c0112981>] default_wake_function+0x0/0x32
[<c0105461>] kernel_thread_helper+0x5/0xb



Thanks,
Michael



2002-10-08 11:25:10

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: 2.5.41 input problems and sleeping functions

On Tue, Oct 08, 2002 at 01:05:32PM +0200, Michael Dreher wrote:
> Hi all,
>
> with 2.5.41 I can't type the " | " anymore. If I type it, I get
>
> atkbd.c: Unknown key (set 2, scancode 0x6a, on isa0060/serio0) pressed.
> atkbd.c: Unknown key (set 2, scancode 0x6a, on isa0060/serio0) released.

Interesting. You can use 'setkeycode 6a 43' for an immediate fix, and
I'll fix the atkbd.c table in the next release.

> relevant part or dmesg (I hope):
>
> register interface 'mouse' with class 'input
> mice: PS/2 mouse device common for all mice
> register interface 'event' with class 'input
> input: PS/2 Generic Mouse on isa0060/serio1
> serio: i8042 AUX port at 0x60,0x64 irq 12
> input: AT Set 2 keyboard on isa0060/serio0
> serio: i8042 KBD port at 0x60,0x64 irq 1
>
> Moreover, sometimes the usb mouse dies. Pulling it out and plugging it back
> gives me
>
> Debug: sleeping function called from illegal context at
> include/asm/semaphore.h:119
> Call Trace:
> [<c0113a4d>] __might_sleep+0x54/0x5b
> [<c02082af>] usb_hub_events+0x5f/0x29d
> [<c020851d>] usb_hub_thread+0x30/0xce
> [<c02084ed>] usb_hub_thread+0x0/0xce
> [<c0112981>] default_wake_function+0x0/0x32
> [<c0105461>] kernel_thread_helper+0x5/0xb

Bug in USB hub code.

--
Vojtech Pavlik
SuSE Labs