[gpm]Problems using synps2 ... Patch

Peter Berg Larsen pebl@math.ku.dk
Wed, 7 Aug 2002 05:36:10 +0200 (MET DST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-406686372-1028691370=:21260
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Tue, 6 Aug 2002, Rich Griswold wrote:

> When I move the cursor on the console, occassionally, I'll get
> "Unrecognized Synaptic PS/2 Touchpad packet" messages.  

Ok, try the attached patch. A lot of those should go away now. The packets
are getting out of sync by three bytes.

Secondly, I need some info that is not listed. Edit synaptics.c and define
some debug options in this file. The important one is define_reports, but
all of them are prefered. (and do the lists again). (while there:  
Someone is not capable of converting miliseconds to microseconds, so try
adding two 0 to the usleep in tp_ps2_send_reset in synaptics.c. This
should not make a difference according to the documentation but try
anyway.)
  

Peter

--0-406686372-1028691370=:21260
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=synbug_10
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.OSF.4.21.0208070536100.21260@gram.math.ku.dk>
Content-Description: 
Content-Disposition: attachment; filename=synbug_10

KioqIG1pY2UuYy5+MS4zLn4JV2VkIE1heSAyOSAxMToxMjoyNSAyMDAyDQot
LS0gbWljZS5jCVdlZCBBdWcgIDcgMDQ6NDk6MjUgMjAwMg0KKioqKioqKioq
KioqKioqDQoqKiogMjMwNCwyMzEzICoqKioNCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICB7MHg4MCwgMHg4MCwgMHgwMCwgMHgwMH0sIDUs
IDEsIDAsIDEsIFJfc3VtbWF9LA0KICAgICB7InN5biIsICJUaGUgXCJTeW5h
cHRpY3NcIiBzZXJpYWwgVG91Y2hQYWQuIiwNCiAgICAgICAgICAgICAic3lu
YXB0aWNzIiwgTV9zeW5hcHRpY3Nfc2VyaWFsLCBJX3NlcmlhbCwgQ1M3IHwg
U1REX0ZMRywNCiEgICAgICAgICAgICAgICAg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9zeW5w
czIsIFNURF9GTEcsDQohICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgezB4ODAsIDB4ODAsIDB4MDAsIDB4MDB9LCA2LCAxLCAwLCAwLCAwfSwN
CiAgICAgeyJ0d2lkIiwgIlR3aWRkZGxlciBrZXlib2FyZCIsDQogICAgICAg
ICAgICAgIiIsIE1fdHdpZCwgSV90d2lkLCBDUzggfCBTVERfRkxHLA0KICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsweDgwLCAweDAwLCAw
eDgwLCAweDgwfSwgNSwgMSwgMCwgMCwgMH0sDQo=
--0-406686372-1028691370=:21260--