lkml.org 
[lkml]   [2004]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.1-mm4
    On Wed, Jan 21, 2004 at 01:46:57PM +0100, Andi Kleen wrote:

    > As for the implementation of doing it at runtime - i took a look at it
    > but got scared by sysfs livetime rules and the lack of callbacks in module_parm.
    > I think the easiest way would be to just poll the value: make it a module_parm with the
    > w bit enabled, add a second set of state variables and every time you access
    > the mouse you compare the module_parm variables and the shadow variables and change
    > the mouse setting if they differ. Not pretty, but would probably work without
    > too much sysfs black magic.

    The second problem (after the sysfs magic) is that I'd have to
    completely reinitialize the mouse as well, down to the features of the
    mouse changing (for example no wheel anymore).

    So, it's planned, but don't expect it in 2.6.2.

    --
    Vojtech Pavlik
    SuSE Labs, SuSE CR
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:3.685 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site