[ltp] T21 trackpoint loses settings on suspend until reboot

linux-thinkpad@www.bm-soft.com linux-thinkpad@www.bm-soft.com
Sat, 29 Sep 2001 13:38:30 -0700 (PDT)


Hmm.

Could you, please try a couple of things for me?

 - after resuming: can xtp4 still talk to the daemon,
   i.e. does it start up correctly? What settings
   does it report [e.g. for 'Enable Z-Axis'].
   If it thinks the z-axis is still enabled: could
   you try to switch it off, apply and switch it back
   on again [applying the change]. Do the same for the
   'Map to Btn1' - does this re-enable the z-axis?

 - at the top of tp4d.c, you find a line
   #undef DUMP_DEBUG
   change this to=20
   #define DUMP_DEBUG
   recompile, kill the old daemon and start the new one.
   It should print more detailed info when resuming to
   the syslog (or stderr if you set the -d option).
=20

Then you could try (using tcsh, for bash change
   the redirector to '2>', '2>>', respectively)

   tp4d -d -Z -b -S 0xc0 >& some_file=20

   suspend / resume

   kill 'tp4d'

   tp4d -d >>& some_file

   kill again.

Note the different options and redirectors for the
two invocations. Send me 'some_file' for analysis
[preferrably using the DUMP_DEBUG enabled version].
(Don't forget to run tp4d as root).

Thanks for your help.

--Till.

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html