[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#228665: xserver-xfree86: [mouse] SendCoreEvents + ServerLayout entry leads to doubled events



On Tue, Jan 20, 2004 at 01:14:08PM +0100, Michel Dänzer wrote:
> On Tue, 2004-01-20 at 03:49, Jim Paris wrote:
> > 
> > I think this is a problem with the Debian-generated configuration.
> > For /dev/input/mice, it specifies SendCoreEvents _and_ also
> > includes it in the ServerLayout as an InputDevice.  Commenting
> > out the SendCoreEvents line fixes the problem and each event
> > is only received once.
> 
> What if you tell it to use /dev/input/mice in the first place? (it
> didn't include PS/2 mice with 2.4 kernels, the idea of adding it is to
> make hot plugging USB mice work automagically)

As I understand it, a device shouldn't send core events if it's not in
the server's current layout.

I had heard rumors that Linux kernel 2.6 demultiplexes PS/2 mouse
devices into /dev/input/mice, and not just USB mouse devices as 2.4
does.

It would be useful if someone could let me know which mouse devices
Linux 2.6 demuxes in this way.  The debconf/dexconf logic can then be
updated to behave differently when kernel 2.6 is used.

Of course, this can get to be a headache when people switch between 2.4
and 2.6 kernels, leaving them with less-than-optimal XFree86 server
configurations.  Sigh.

-- 
G. Branden Robinson                |     I suspect Linus wrote that in a
Debian GNU/Linux                   |     complicated way only to be able to
branden@debian.org                 |     have that comment in there.
http://people.debian.org/~branden/ |     -- Lars Wirzenius

Attachment: signature.asc
Description: Digital signature


Reply to: