Author Topic: ThinkPad X60 tablet pen & multi-touch support?  (Read 18361 times)

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 395
  • Karma: +5/-0
    • View Profile
ThinkPad X60 tablet pen & multi-touch support?
« on: January 01, 2014, 12:13:39 pm »
I recently picked up an X60t (pen+multitouch model) because I need a highly portable system for carrying around campus.

I've installed eCS 2.2 beta - so far so good, for the most part - all the usual basic devices work (although I had to change the video to Panorama as I got constant hangs with SNAP).

Now I'm looking at getting the touchscreen working. I downloaded Wim Brul's PENTOOLS02.ZIP and have been going through the instructions. However, I'm kind of stuck. I managed to compile and run ACPITREE.EXE for current ACPI. However, the output doesn't show any IRQ value, so I'm not sure what to specify when loading PSCOM.SYS.

         +*DTR_ T:[Device] HID:[WACF008] STA:[0xf]
 Current state:
      > IO:[1 0x200 - 0x200 Al:1 Len:8]
      >Trigger by Edge, Polarity High
      > ENDTAG


I tried the (1,200,4,I) value suggested for the X61.  However, when I run COMRAW.CMD with that set, and try a few stylus actions, I just get a 0-byte 19200.RAW file.

Any ideas?

Eugene Gorbunoff

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #1 on: January 01, 2014, 12:41:22 pm »
1) Better change laptop to Thinkpad X61 Tablet.

2) I don't know, is it necessary activate COM-port in BIOS setup? Does it influence on Wacom controller or not.

ivan

  • Hero Member
  • *****
  • Posts: 1589
  • Karma: +19/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #2 on: January 01, 2014, 02:29:02 pm »
Eugene, that is no help to Alex at all.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 395
  • Karma: +5/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #3 on: January 02, 2014, 07:12:09 am »
The tablet works fine in Windows so presumably the hardware is enabled.

Mo

  • Jr. Member
  • **
  • Posts: 51
  • Karma: +2/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #4 on: January 02, 2014, 09:40:01 am »
Hi Alex,

Happy new year!

On my old x61t the com port used irq 5 instead of 4. I needed to change (1,200,4,I) to (1,200,5,I).




Eugene Gorbunoff

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #5 on: January 02, 2014, 02:08:35 pm »
The tablet works fine in Windows so presumably the hardware is enabled.

* Try use official build ACPI TREE, maybe it will show IRQ

* The display of X60 tablet is compatible with X61 Tablet, so existing scripts should work.

* For X61 Tablet: Do you have high resolution screen or multi-touch? yes, multi-touch, so test pentools scripts written for X200

I repeat, better replace the laptop to X61 Tablet, in this case you can install more memory, activate SATA 2 and SSD disk will give you performance increase.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 395
  • Karma: +5/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #6 on: January 02, 2014, 04:29:05 pm »
What official build of ACPITREE?  I can find no official build of ACPITREE.  Current ACPI releases only included the source code.

Binaries built for old versions no longer work.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 395
  • Karma: +5/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #7 on: January 04, 2014, 02:48:00 am »
OK, I eventually managed to find the IRQ by searching around in Windows.  It's IRQ 5, so I've defined (1,200,5,I) for PSCOM in CONFIG.SYS.

Now COMRAW.CMD writes data, and DECODE seems to show something that might be meaningful. 

I've installed XSMOUSE and verified that PUTEVENT works. 

But I'm really not clear what exactly I'm supposed to do next.  I've tried running X61FSR.CMD but it does nothing except print out the screen size and move the mouse pointer to the middle of the screen.  Using the stylus or finger produces no discernable effect.

Am I supposed to do something else at this point?

Wim Brul

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #8 on: January 04, 2014, 02:55:04 pm »
Assuming that (1,200,5,I) is the correct value, then the baudrate may be incorrect. Try e.g. COMRAW 9600 and use DECODE 9600.RAW to display the result. Do not forget to actually use your stylus while running COMRAW. I expect to see something like:

sBtn=00,xPos=03799,yPos=02328,zPos=00026,Stylus:MoveOnly
sBtn=01,xPos=01789,yPos=03436,zPos=01418,Stylus:But1Down
sBtn=00,xPos=01794,yPos=03433,zPos=00016,Stylus:MoveOnly

to be reported. May be COMRAW 38400 will do?
« Last Edit: January 04, 2014, 06:28:35 pm by Wim Brul »

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 395
  • Karma: +5/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #9 on: January 05, 2014, 05:57:15 am »
Wim, thanks for the response.

OK, I've tried comraw with 9600 and 38400 now (as well as 19200), and the results are a bit confusing.

With 19200 I get a whole lot of "Packet=(...) Huh?" messages, interspersed with some actual events which look as if they roughly correspond to what I was doing with the stylus.

With 9600 I just get a bunch of "Packet=(...) Huh?" messages and nothing else.

With 38400 I get a vast number of stylus and finger events which seem to bear no relation to the small number of stylus actions I did while COMRAW was running.  (Also, for some reason 38400.RAW is slightly smaller than 19200.RAW, but the decoded 38400.TXT is more than 8 times the size of the decoded 19200.TXT.)

Running x61fsr.cmd with 9600, 19200 or 38400 makes no apparent difference except that with 38400 I get a couple of 'Huh' messages (19200 produces no output after the first messages).

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 395
  • Karma: +5/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #10 on: January 07, 2014, 02:36:57 am »
Thanks to Wim's assistance the stylus and multitouch are both working on this for me now!

It turns out that x200efs.cmd had the necessary stuff. I've now been provided with an X60 specific version and everything seems good. 

I can calibrate the stylus by moving the mouse pointer to the bottom right corner of the screen, taking the stylus away, then bringing it back to the screen over the mouse pointer in the corner and starting to move the pointer again.

Many thanks to Wim for his help, and his excellent driver/tools.

aglynn

  • Guest
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #11 on: January 28, 2014, 03:31:34 am »
I followed the instructions for the X60 - worked great although for some reason my X60's baud rate is 19200.  Might be a useful observation for anyone else having trouble with 38400.

@Eugene, I was wondering what your reasoning was behind such a strong preference for the X61?  A friend of mine has one, and we compared them when we were both running Kubuntu.  There wasn't much of a noticeable difference, the X61 was marginally faster but not enough to write home about.  Both machines have 3GB RAM, which is all you can use with eCs (or any other 32 bit OS) anyway.  We also did a disk test (we have 64GB SSD drives) and the disk rates under Kubuntu with JFS were identical.

I would upgrade it to an X61no problem, the prices on them are pretty low.  I just haven't seen the point when comparing them side by side,  so I'm trying to understand your insistence that the X61 is that much better.  I'll grant you the T61p is much better than the T60 but that's mainly due to a few oddities on the T60 and the high res widescreen that the T61p offers.  The X61 doesn't seem like such a big upgrade.

Eugene Gorbunoff

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: ThinkPad X60 tablet pen & multi-touch support?
« Reply #12 on: January 28, 2014, 10:01:40 am »
differencies:
* http://www.thinkwiki.org/wiki/Category:X61_Tablet
* http://www.thinkwiki.org/wiki/Category:X60_Tablet

Advantages:
* Chipset is faster, CPU is faster.
* You can activate SATA 2 on X61 Tablet => hard drive works 2x times faster .. for SSD 5x .. 10x times faster.
* You can use N wifi adapter