Comment 61 for bug 296610

Revision history for this message
Dave (foceni) wrote :

I compiled "the Debian way", which generated a correct Module.symvers, and then just used manual make to re-compile only files I modified. This way I can compile and insert modules as I like -- right into the official unmodified linux-image kernel currently running. Might be useful for somebody. It might be possible to just copy Module.* files from linux-headers package into any source tree and just compile, but I doubt it.

Anyway, I really have to thank you -- your patch solved the problem! There's no more jumping, sync lost, reconnects, etc. Pure joy. :) The magical "new" 9th byte really wreaks havoc with the latest driver. I hope your fix gets into upstream ASAP, because it should have been there two years ago! I can't believe they've been ignoring it for so long.

Thank you, Sebastian.
~~~~~~~~~~~~~~~~~

PS: Mostly unrelated question. I use Stick's right button (3) for Stick-scrolling (wheel emulation). I have this disabled for the TouchPad. Here's an excerpt from my HAL config:

  <device>
    <match key="info.product" contains="AlpsPS/2 ALPS DualPoint TouchPad">
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>
        <merge key="input.x11_options.Emulate3Buttons" type="string">false</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.PalmDetect" type="string">true</merge>
    </match>
  </device>

  <device>
    <match key="info.product" contains="DualPoint Stick">
        <merge key="input.x11_options.Emulate3Buttons" type="string">false</merge>
        <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
        <merge key="input.x11_options.EmulateWheelButton" type="string">3</merge>
        <merge key="input.x11_options.EmulateWheelTimeout" type="string">100</merge>
        <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
    </match>
  </device>

Scrolling using the Stick works, but it also works for the TouchPad! The same configuration works on my older ThinkPad. I use (Fluxbox) ALT+LeftBtn+Stick to move windows around and ALT+RightBtn+Stick to resize windows.

When I push ALT + TouchPad-right, it scrolls when I move the Stick (instead of resizing window). Without ALT pressed, it works normally: right click is registered. With ALT, however, right click isn't registered and moving the Stick scrolls (instead of resizing). Fluxbox configuration and version are the same as on my ThinkPad, where this works. I restored my $HOME here.

When I push ALT + TouchPad-right, resizing works iff I move the pointer using TouchPad. So it "works", but I want to use the *Stick* like I'm used to. Moving the Stick reverts to scrolling mode. Seems like the action is somehow associated with the pointer, not just the buttons of a pointer. How come it works on ThinkPad then? :)

Any ideas? HAL configuration is OK. Command lshal shows all properties set correctly - wheel emulation only for the Stick.