You are not logged in.

#1 2009-12-07 10:31:40

Mr. X
Member
From: belgrade, serbia
Registered: 2007-02-28
Posts: 67

strange keyboard + mouse problem

I use Logitech MK300 keyboard and mouse combo (they are wireless, and they both use one receiver), and it seems like my keyboard usage affects my mouse in arch linux.

To be more precise, whenever I press any key on my keyboard, followed by any of multimedia buttons at the top, my mouse resets itself to top left position (0,0).
I am on KDE, but I've just tested openbox and the problem is there too. So I assume it is xorg fault of some kind.

Also, to be sure that is not general problem with the MK300 set, I've booted (live) linux mint 8 where I couldn't reproduce the error.

I know this is a strange problem, and I guess no one could point me to the solution immediately, but I am not sure which steps should I follow to debug it.

Offline

#2 2009-12-07 17:41:58

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: strange keyboard + mouse problem

How is your keyboard/mouse configured? Input hotplugging with hal and evdev or through xorg.conf?

Offline

#3 2009-12-08 01:42:11

Mr. X
Member
From: belgrade, serbia
Registered: 2007-02-28
Posts: 67

Re: strange keyboard + mouse problem

I'm using hal & evdev

Offline

#4 2009-12-30 13:47:29

sevmpe
Member
Registered: 2009-12-30
Posts: 14

Re: strange keyboard + mouse problem

I am experiencing the same issue with a Logitech S510 keyboard and mouse combo. No clue about why that happens, though.

Offline

#5 2009-12-30 14:02:13

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: strange keyboard + mouse problem

Well, the multimedia keys I think need some special handling. I've seen the following advice when dealing with odd keyboard & mouse handling. I'm not sure it applies, but at least it is something to try - add the following lines to your xorg.conf file:

Section "ServerLayout"
 Option "AllowEmptyInput" "off"
EndSection

Offline

#6 2009-12-31 13:21:19

sevmpe
Member
Registered: 2009-12-30
Posts: 14

Re: strange keyboard + mouse problem

Thanks jdarnold for the suggestion. I tried it and the cursor keys stopped working properly. However, pressing any multimedia key didn't make the cursor jump. Still, I'd rather have working cursor keys.

Offline

#7 2010-01-05 14:41:39

Mr. X
Member
From: belgrade, serbia
Registered: 2007-02-28
Posts: 67

Re: strange keyboard + mouse problem

I tried setting AllowEmptyInput off but no changes occured

Offline

#8 2010-01-23 15:56:11

suli
Member
Registered: 2009-04-15
Posts: 2

Re: strange keyboard + mouse problem

I have the same problem, result with using "AllowEmptyInput" "off" is same as sevmpe

Offline

#9 2010-02-17 19:31:44

sevmpe
Member
Registered: 2009-12-30
Posts: 14

Re: strange keyboard + mouse problem

It looks like another distro hit the same issue: https://bugs.launchpad.net/ubuntu/+sour … bug/513852

Offline

#10 2010-02-18 22:10:38

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: strange keyboard + mouse problem

same problem here. i filed a bug report at freedesktop.org:
https://bugs.freedesktop.org/show_bug.cgi?id=26640

Offline

#11 2010-02-19 01:45:17

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: strange keyboard + mouse problem

bug is already fixed.

already fixed, thanks for the bug report though.


commit 6f265d55a61f9be323583b8acacae783be72bda9
Refs: xorg-server-1.7.99.2-40-g6f265d5
Author:     Peter Hutterer <peter.hutterer@who-t.net>
AuthorDate: Tue Jan 5 13:15:25 2010 +1000
Commit:     Keith Packard <keithp@keithp.com>
CommitDate: Tue Jan 5 14:01:51 2010 -0800

    dix: don't update the slave coordinates from the VCK.

    A keyboard event from a device with both valuators and keys will be posted
    through the VCK. In this case, do not update the slave device coordinates
    from the VCK - they're always 0/0. Leave them as-is, for the next pointer
    event will continue where it left.

Offline

#12 2010-02-19 11:03:02

sevmpe
Member
Registered: 2009-12-30
Posts: 14

Re: strange keyboard + mouse problem

That's great news, ccc1. Thanks for the bug report.

Offline

Board footer

Powered by FluxBB