lkml.org 
[lkml]   [2003]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: mouse driver bug in 2.6.0-test7?
    Vojtech Pavlik <vojtech@suse.cz> wrote:
    > On Tue, Oct 14, 2003 at 01:04:03PM -0700, 4Front Technologies wrote:
    > > I'd recommend that you make the sample rate a module config option so that
    > > users may be able to tweak this for their systems.
    >
    > It already is. Only the code to make it a kernel command line parameter
    > (when psmouse is compiled into the kernel) is missing.

    I could've sworn I had this in one of the patches I sent you, but
    perhaps not.

    --- drivers/input/mouse/psmouse-base.c~ 2003-10-13 06:13:52.000000000 +0000
    +++ drivers/input/mouse/psmouse-base.c 2003-10-15 00:21:59.000000000 +0000
    @@ -651,10 +651,17 @@
    return 1;
    }

    +static int __init psmouse_rate_setup(char *str)
    +{
    + get_option(&str, &psmouse_rate);
    + return 1;
    +}
    +
    __setup("psmouse_noext", psmouse_noext_setup);
    __setup("psmouse_resolution=", psmouse_resolution_setup);
    __setup("psmouse_smartscroll=", psmouse_smartscroll_setup);
    __setup("psmouse_resetafter=", psmouse_resetafter_setup);
    +__setup("psmouse_rate=", psmouse_rate_setup);

    #endif

    --
    Eric Wong
    -
    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 13:49    [W:0.021 / U:0.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site