Make ums(4) present the mouse as a sysmouse type device by default
Matthew Dillon
dillon at apollo.backplane.com
Thu Feb 16 22:05:10 PST 2006
:
:Indeed, ums provides a MOUSE_SETMODE ioctl for that.
:
:I've just stumbled upon an undocumented switch of moused, -l, which should let
:the user force the level (mode) of the device. It appears neither in the man
:page, nor in usage. Anyway, I couldn't get it to work without problems: in
:level 0, moused displays an error about an unappropriate ioctl(), and in level
:1, the mouse is painfully slow in X.org.
:
:I'm a little bit lost with all that: I can't get moused to work correctly with
:my mouse, and I have to modify ums(4) to use the right mode by default.
:I guess I'll try to write a little oneliner to set it using ioctl(), which will
:be loaded at startup...
:
:Regards,
:
:Laurent Sartran
See if that works and if it does and there is no equivalent moused
option, we can add a new option to moused to do the ioctl. Or, rather,
if you make the modification to moused and submit the patch we'll commit
it. I'd prefer that over changing the device driver's default mode.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Submit
mailing list