DragonFly BSD
DragonFly submit List (threaded) for 2006-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Make ums(4) present the mouse as a sysmouse type device by default

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Feb 2006 22:04:47 -0800 (PST)

: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...
: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.

					Matthew Dillon 

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