[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 Thu, 2004-01-22 at 18:52, Branden Robinson wrote:
> On Wed, Jan 21, 2004 at 09:43:23PM +0100, Michel Dänzer wrote:
> > On Wed, 2004-01-21 at 20:29, Jim Paris wrote:
> > > > 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.
> > > 
> > > That may be the case, although it's not my particular problem, as
> > > I'm not using a PS/2 mouse.
> > 
> > But your XF86Config-4 contains a Device section for /dev/psaux (did you
> > choose that in debconf?). If CONFIG_INPUT_MOUSEDEV_PSAUX is enabled in
> > your kernel, mouse events will appear there as well.
> 
> Eh what?  You mean the 2.6 kernel multiplexes demuxed mouse events to
> both /dev/input/mice *AND* /dev/psaux???

Yes, /dev/input/mice by definition gives the events of all mice handled
by the input layer, which handles most if not all input in 2.6 kernels.
The configuration trick relies on the input layer in 2.4 kernels not
handling some types of mice, in particular PS/2.


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer




Reply to: