[haiku-bugs] Re: [Haiku] #8978: 'Clicks' not set in MouseDown messages on Thinkpad TrackPoint buttons

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Jan 2013 15:44:56 -0000

#8978: 'Clicks' not set in MouseDown messages on Thinkpad TrackPoint buttons
---------------------------------+----------------------------
   Reporter:  mks                |      Owner:  siarzhuk
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  R1
  Component:  Drivers/Mouse/PS2  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by siarzhuk):

 Hm... IMO, it is too late to check for click count in any window. ;-) In
 the same way as your test program window they will receive the _MDN with
 clicks equal to zero, I think. ;-)
 But I spoke about ps2 bus manager http://cgit.haiku-os.org/haiku/tree/src
 /add-ons/kernel/bus_managers/ps2/ps2_common.h#n32 Just uncomment this line
 and rebuild with

 {{{
 jam -q ps2
 }}}

 command, than preserve your existing copy of ps2 module and replace it
 with one you have just compiled. Than purge your /var/log/syslog and
 reboot. After reboot your mouse become dog slow and your syslog will be
 filled with lot of ps2 initialization information. It will be very kind of
 you if you make a copy of syslog just after system boot finishes. Than
 purge syslog with

 {{{
 echo . > /var/log/syslog
 }}}

 command and press your TrackPoint buttons as many times as you need to
 provide enough info about buttons commands into log and make a copy of
 syslog after this. Naturally, it is a good idea to attach both syslog
 copies to this ticket.

 ps2 bus manager is a starting point where those button events are entering
 the system so this tracing information may be helpfull to seek the source
 of your problem. So, good luck.

 PS: Be aware of using mixed-compiled modules in your hybrid system - if
 you have gcc2hybrid - you have to build gcc2 version and gcc4 version in
 opposite case.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8978#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: