2003-08-28 21:48:29

by Ivan Gyurdiev

[permalink] [raw]
Subject: Novatek USB Keyboard/Mouse Bug

Hi, I finally figured out why my wireless mouse turns off and on
randomly every once in a while and works depending on the usb hub it is
in - it's the keyboard's fault.

My mouse is:
PM: Adding info for usb:2-2
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.0-2

My keyboard is:
PM: Adding info for usb:2-1
input: USB HID v1.00 Keyboard [NOVATEK Keyboard NT6881] on
usb-0000:00:10.0-1
PM: Adding info for usb:2-1:0
input: USB HID v1.00 Mouse [NOVATEK Keyboard NT6881] on usb-0000:00:10.0-1
PM: Adding info for usb:2-1:1


As you can see the kernel thinks it's also a mouse, which it definitely
is not. I've previously posted this to LKML somewhere, and my
impressions were that people don't think it's a bug, since some other
model of that keyboard worked together with a mouse somehow. Perhaps
that's true, but I do not have a second mouse. The kernel thinks I do,
and switching the keyboard and the mouse usb hubs results in mouse
devices reordering and X not working with the proper mouse (attempting
to use the keyboard as mouse, which apparently does not work).




2003-08-28 21:59:18

by Greg KH

[permalink] [raw]
Subject: Re: Novatek USB Keyboard/Mouse Bug

On Thu, Aug 28, 2003 at 05:51:42PM -0400, Ivan Gyurdiev wrote:
> Hi, I finally figured out why my wireless mouse turns off and on
> randomly every once in a while and works depending on the usb hub it is
> in - it's the keyboard's fault.
>
> My mouse is:
> PM: Adding info for usb:2-2
> input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.0-2
>
> My keyboard is:
> PM: Adding info for usb:2-1
> input: USB HID v1.00 Keyboard [NOVATEK Keyboard NT6881] on
> usb-0000:00:10.0-1
> PM: Adding info for usb:2-1:0
> input: USB HID v1.00 Mouse [NOVATEK Keyboard NT6881] on
> usb-0000:00:10.0-1
> PM: Adding info for usb:2-1:1
>
>
> As you can see the kernel thinks it's also a mouse, which it definitely
> is not. I've previously posted this to LKML somewhere, and my
> impressions were that people don't think it's a bug, since some other
> model of that keyboard worked together with a mouse somehow. Perhaps
> that's true, but I do not have a second mouse. The kernel thinks I do,
> and switching the keyboard and the mouse usb hubs results in mouse
> devices reordering and X not working with the proper mouse (attempting
> to use the keyboard as mouse, which apparently does not work).

Why not just use /dev/mice and then you don't have to worry about the
mice ording issue?

Also lots of USB keyboards have a fake "mouse" within them to handle
some of the extended keys. It's quite common.

thanks,

greg k-h

2003-08-28 23:32:00

by Ivan Gyurdiev

[permalink] [raw]
Subject: Re: Novatek USB Keyboard/Mouse Bug


> Why not just use /dev/mice and then you don't have to worry about the
> mice ording issue?


Hmm..didn't know I could do that - will work, I guess.
Thank you.