2 Jan 2009 01:12
Re: [PATCH] m68k: Fix atarimouse init
Michael Schmitz <schmitz <at> biophys.uni-duesseldorf.de>
2009-01-02 00:12:55 GMT
2009-01-02 00:12:55 GMT
Hi Geert, > > I still get no mouse events in either /dev/input/mice or .../mouse0, though. I > > suspect the mouse open hook never gets called. Same bug might affect amimouse > > (though the open function does do the full hardware setup there). > > Thanks, we're making progress(Continue reading)Sort of ... > I get events from /dev/input/mouse0 and /dev/input/mice (atari_defconfig). > > The kernel says (ARAnyM, windowed mode): > | input: Atari mouse as /devices/virtual/input/input1 > | Reseting weird mouse packet: 942, 379, 0 > | Reseting weird mouse packet: 943, 379, 0 > | Reseting weird mouse packet: 945, 378, 0 > | Reseting weird mouse packet: 948, 378, 0 > | Reseting weird mouse packet: 956, 376, 0 That's the broken packets - the real ones shoule be fine (small x and y increments in byte 1 and 2, 0x8 in byte 0 unless button pressed). > > When running X under ARAnyM (depth 16), some shortcomings show up: > - up and down are interchanged (works fine when rolling the mouse over the > bottom surface of the table --- old arabic map style
Weird - the inversion of the y direction increment is taken from the old busmouse driver code where it used to work OK. The point of reference is set to
Sort of ...
> I get events from /dev/input/mouse0 and /dev/input/mice (atari_defconfig).
>
> The kernel says (ARAnyM, windowed mode):
> | input: Atari mouse as /devices/virtual/input/input1
> | Reseting weird mouse packet: 942, 379, 0
> | Reseting weird mouse packet: 943, 379, 0
> | Reseting weird mouse packet: 945, 378, 0
> | Reseting weird mouse packet: 948, 378, 0
> | Reseting weird mouse packet: 956, 376, 0
That's the broken packets - the real ones shoule be fine (small x and y
increments in byte 1 and 2, 0x8 in byte 0 unless button pressed).
>
> When running X under ARAnyM (depth 16), some shortcomings show up:
> - up and down are interchanged (works fine when rolling the mouse over the
> bottom surface of the table --- old arabic map style
Weird - the inversion of the y direction increment is taken from the old
busmouse driver code where it used to work OK. The point of reference is set to
RSS Feed