Re: ALPS psmouse_reset on reconnect confusing Tecra M2

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

 



Micheal Marineau wrote:
> Dmitry Torokhov wrote:
> 
>>On Tuesday 05 July 2005 23:53, Micheal Marineau wrote:
>>
>>
>>>Dmitry Torokhov wrote:
>>>
>>>
>>>>On Monday 04 July 2005 16:14, Mike Waychison wrote:
>>>>
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>I just upgrade my Tecra M2 this weekend to the latest GIT tree and
>>>>>noticed that my mouse pointer/touchpad is now broken on resume.
>>>>>
>>>>>Investigating, it appears that mouse device gets confused due to the
>>>>>introduced psmouse_reset(psmouse) during reconnect:
>>>>>
>>>>>http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f3a5c73d5ecb40909db662c4d2ace497b25c5940
>>>>
>>>>
>>>>Hi,
>>>>
>>>>Please try the following patch:
>>>>
>>>>	http://www.ucw.cz/~vojtech/input/alps-suspend-typo
>>>>
>>>
>>>This fixed the problem for mylaptop, but ONLY if I had #define DEBUG in
>>>alps.c, switch it back to the usual #undef and the exact same problem
>>>happens.  I've got no idea what's going on, I'll poke at it more when
>>>I'm awake....
>>>
>>
>>
>>Hi,
>>
>>Sorry, any update on this topic? Does it still only work with DEBUG?
>>
>>Thanks!
> 
> 
> I have no clue why DEBUG helped, but it seems to have been simply dumb
> luck as the issue came up again with DEBUG still on.  An easy workaround
> was to compile psmouse as a module and unload/load it during the suspend
> cycle (automatic with the hibernate script, it has psmouse in it's
> blacklist).  I haven't dug into it to see what exactly doesn't get
> initilized during resume that should.
> 
> 

Here's a little more info though:
dmesg on boot/re-load module
alps.c: E6 report: 00 00 64
alps.c: E7 report: 63 03 c8
alps.c: E6 report: 00 00 64
alps.c: E7 report: 63 03 c8
alps.c: Status: 10 00 64

dmesg after a resume (no reloading of the module)
alps.c: E6 report: 00 00 64
alps.c: E7 report: 63 03 c8
alps.c: Status: 10 00 64
alps.c: Status: 10 00 64


-- 
Michael Marineau
[email protected]
Oregon State University

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux