Bongofish
November 20, 2017, 04:42:32 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can attach photos hosted by the forum rather than using an external image hosting site, this means they will stay forever and not disappear after a year or two.
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4] 5 6 ... 14
  Print  
Author Topic: Experimenting with the HP 2710p Tablet PC digitizer (SU-12W18A-01X)  (Read 64386 times)
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #45 on: August 21, 2013, 02:43:09 AM »

I'm just getting stuff like this.

9600
    19200
         À3À3òðÀÀ3òàÀ32øÀÀ3»À3>ÿÀ32À32àÀÿÀ32À3vðÀ32À32àÀ32 "*Hþ3~àÀ32 >À32 "*À36àÀ32`þÀ32 "äÀ32 "bÀ32 âÀ32òÀÀ3ò`âÀ32 "À32 "|ä"38400
                                                   ÿxü*0*üx`þpx`þf
                                                                  ðx`þf
Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #46 on: August 21, 2013, 02:47:18 AM »

19200
         À32 ""À32
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #47 on: August 21, 2013, 04:13:43 AM »

With the pen in proximity, you will get this gibberrish stuff. Press 0 to stop it (and 1 to restart).

You are getting something and this is a good sign.

One thing you could try for kicks is to run the WaxbeeConfig tool and pick a ISDV4 template and just try it. (Program it in the teensy). Pick the debug version.

You can edit the configuration to change the baudrate.

Unplug the power to make sure to reset the digitizer. (I mean unplug/replug the USB plug).

The debug version is just for troubleshooting purposes and works with a tool called hid_listen that you can find here: http://www.pjrc.com/teensy/hid_listen.html
Run hid listen first then connect the USB. We want to catch the first few messages coming out of the teensy. Copy me the output.

Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #48 on: August 21, 2013, 04:22:03 AM »

...I just saw that 19200 bauds is the default speed in that ISDV4 debug template. 38400, I think, is a bit more common for recent Wacom serial digitizers.
Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #49 on: August 21, 2013, 04:28:41 AM »

Some quick notes, I was browsing the forum and saw you suggesting to someone to turn on the hex viewer in Realterm to see data coming from the digitizer.  When I do, I get stuff like this without the pen touching the digitizer

Quote
FEF700FEF300FEF300FF00FFF100FDFF00FEFFF300FEF100FEFFF300FFF300FFE100FFE0FEFF70FF
61FF71FFE100FFC0FE21FFFFF300E100FF73FFFFE100FFFFE100FFC3FEE100FFFF01FF21FF00FF00
FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0000FF00F8FF00FF00FF00FF00FF01
00FF01E0FF0300FF00C0FF00E0FF01F8FF0100FF00F8FFFF00C0FF00C0FFFF00FEFFFF00FEFFFF00
F8FFFF00FEFFFF00FCFFFF00FFFF00FF07FFFF00FEFF00FEFF00FEFF00FFFF00FF00FEFF00FF00FF
FB00FCFF00FFF900FF01FEFD00FEFD00FFFFFF00FFFF00FFFFF900F900FEFB00FFF000FFF000FFF9
00FFF900FE01FFF0FFF0FF11FF00FF00FF0000FFF8FF00FF0080FF00FF00FF00F0FF00FF00FF00FF
00C0FF00F8FF0080FF0080FF0080FF00F0FF00F0FFFF00F0FF00F0FFFF01F0FFFF00E0FFFF01F0FF
FF00F4FFFF00F0FFFF00F4FFFF00FCFFFF02F6FFFF00FEFFFF00FEFFFF00FEFFFF00FEFFFF00FEFF
00FEFFFF00FFFF00FEFFFF00FFFFFF00FFFFFF00FEFFFF00FEFF00FEFFFF00FEFFFF00FF00FEFF00
FEFF00FEFF00FEFF00FEFF00FF0000FFFF00FEFF00FF00FEFF00FEFF00FC00FEFF00FFFF00FE7F00
FFFF00FFFFFFFFFFFF00FF7D00FFFFFF3DFF3CFF7EFF00FF00FF06FFFF00FF00FF04FF00FF00FFFF
00FF00FF00FF00FFFF00FF0000FFFF00FFFF00FFFF0100FF02FF0088FFFF0080FFFF0100FF0080FF
FF0088FF0088F8FF0004FF0004FFFF0040FFFF0044FF0044F8FFFF0044FF0004FFFFFF0004FFFF00
C4FFFF00C4FF0045FF0074FF00ABFF00BAFF00BAFF00FBFF00BBFF00

The LED on the Teensy is also going crazy all the time, doesn't seem to matter if I am doing anything or not.  

I remembered we were talking about how we might have to swap the lines going to D2 & D3 (now Pin 9 = D3), so I gave that a go.  The LED is much more predictable (only lighting when I put the pen to the screen) and this is the kind of code I am getting.  What do you think?  Does that tell us anything in terms of what goes where?

Quote
                                                                               
001E001E86009EFE0080F80000001E001E86009EFE0080F80000001E00666600060000FE0000001E
00666600060000FE0000001E0086987E1E0080E00000001E0086987E1E0080E00000001E00E09800
660080860000001E00E09800660080860000001E00FE867E7E0000F80000001E00FE867E7E0000F8
0000001E0006980098800000FE0000001E0006980098800000FE0000001E0066600000E00080F800
00001E0066600000E00080F80000001E0098807E86E000000000001E0098807E86E000000000009E
00FEE60006F80000FE0000009E00FEE60006F80000FE0000009E00FEE60006F80000FE0000009E00
06E600E6860000FE0000069E0006E600E6860600FE0000069E0006E600E6866060FE0000069E0006
E600E686E68600FE0000069E00809E7E7EF86606FE0000069E00809E7E7EF8E09800FE0000069E00
809E7E7EF81866FE0000069E00809E7E7EF81866FE0000069E009E9E7E66FE6066F80000069E009E
9E7E66FE1E66F80000069E009E9E7E66FE6066F80000069E00F89E7E1EE60666FE0000069E00F89E
7E1EE69E9800FE0000069E00F89E7E1EE6E018FE0000069E001EE60000FE6618FE0000069E001EE6
0000FEF88000FE0000069E001EE60000FE0600FE0000009E00E6E6009E9E0080800000009E00E6E6
009E9E0080800000009E00E6E6009E9E0080800000001E0098807EE69E0080FE0000001E0098807E
E69E0080FE0000001E00806000E69E0000E00000001E00806000E69E0000E00000001E0086867E98
9E0080980000001E00609800809E0080980000001E0000E60066FE008086000



« Last Edit: August 21, 2013, 04:46:52 AM by ThrowingChicken » Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #50 on: August 21, 2013, 04:36:34 AM »

The last part looks right!! EDIT: no not right, but much better. Probably wrong baud rate. What baud rate was this?

I just checked the code and recalled that I was wrong about the outcome of *. It should look like gibberish too. First try the 0 (enter) command to see if the tablet understood your command. (Move the pen and you should see nothing). Try a 1 and moving the pen should yield something. That will tell you that you have the good baud rate.

So trying the debug template with the good baud rate is the next step.
« Last Edit: August 21, 2013, 04:42:29 AM by bernard » Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #51 on: August 21, 2013, 04:41:19 AM »

In RealTerm what should I select as display as?  For instance, Hex gives me the numbers above, Ascii gives me gibberish characters.
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #52 on: August 21, 2013, 04:43:48 AM »

Hex is better. Try the 1 and 0 commands to see if they have any effect on the pen.
Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #53 on: August 21, 2013, 04:44:15 AM »

Okay, no commands seem to work at 38400, but at 19200 the stop (0) and start (1) commands work.  This is what I get when I hit the * (I think 2A is how it interprets the star symbol, this is all in hex mode BTW): 2AC0333220227F0100000222
Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #54 on: August 21, 2013, 04:48:42 AM »

This is the code at 19200 Baud:

Quote
0000A0025E0D4800300000A002630D3800480000A002680D2700480000A0026D0D1500480000A002
720D0300480000A002770C7100080000A0027B0C5F00080000A0027E0C4C00280000A003010C3900
200000A003030C2500700000A003060C1200300000A003080B7F00400000A0030B0B6B00080000A0
030D0B5700280000A0030F0B4300300000A003110B2F00580000A003140B1C00080000A003160B08
00580000A003190A7500180000A0031B0A6200380000A0031D0A5000300000A0031E0A3E00780000
A003200A2D00100000A003200A1D00480000A003200A0D00700000A00320097E00200000A0031F09
6E00580000A0031E096100400000A0031D095300480000A0031C094500780000A0031B0937007000
00A0031A092800600000A0031A091700100000A00318090600680000A00318087400200000A00318
086000180000A00317084C00080000A00316083500280000A00316081C00380000A0031708020008
0000A00318076600180000A00319074A00480000A0031A072B00700000A0031C070A00680000A003
20066700080000A00323064300580000A00327062000680000A0032B057B00480000A0032F055500
680000A00333052D00680000A00337050600380000A0033A046100000000A0033C043B00080000A0
033C041500400000A0033C036E00000000A0033A034700280000A00337032200200000A003320300
00600000A0032D025F00400000A00327023F00680000A00320022000500000A00318020200680000
A0030F016200580000A00305014200380000A00276011F00100000A00261007A00100000A0026100
7A00100000800261007A00100000   
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #55 on: August 21, 2013, 04:50:55 AM »

You are in business.

Now go for the debug template. It will decode that * response to tell us the max x and max y value to use.

What OS are you using on your computer?
Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #56 on: August 21, 2013, 04:52:51 AM »

Windows 7 Home Premium 64bit

Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #57 on: August 21, 2013, 04:59:19 AM »

I think I missed a step, where do I add the * number? 
Logged
ThrowingChicken
Full Member
***
Posts: 112



View Profile WWW
« Reply #58 on: August 21, 2013, 05:04:11 AM »

Well, even with that step missed, here is what the HID listener is telling me (plugged in and then touching the pen to the tablet for a moment)

Code:
Waiting for device:......
Listening:
WaxBee 0.14 -- bzz! bzz!
Serial/ADB tablet to USB converter.
 slaveXMax:21240 slaveYMax:15980 usbXMax:16704 usbYMax:12064
isdv4_serial::init()

 C0 33 22
 A0 06 2A 11 1B 00 58 00
Pressure Max=170, X Max=26248, Y Max=16410, No Tilt, Version=11264
 00
 A0 11 24 00 58 00 00
 A0 06 1F 11 2E 00 28 00 00
 A0 06 18 11 38 00 40 00 00
 A0 06 12 11 42 00 00 00 00
 A0 06 0B 11 4C 00 38 00 00
 A0 06 04 11 58 00 78 00 00
 A0 05 7E 11 65 00 50 00 00
 A0 05 79 11 73 00 00 00 00
 A0 05 74 12 01 00 48 00 00
 A0 05 71 12 10 00 50 00 00
 A0 05 70 12 1F 00 38 00 00
 A0 05 70 12 2F 00 58 00 00
 A0 05 72 12 3F 00 28 00 00
 A0 05 75 12 4D 00 58 00 00
 A0 05 7A 12 5B 00 18 00 00
 A0 05 7F 12 69 00 40 00 00
 A0 06 06 12 76 00 00 00 00
 A0 06 0C 13 02 00 48 00 00
 A0 06 13 13 0E 00 38 00 00
 A0 06 19 13 1A 00 30 00 00
 A0 06 1E 13 26 00 50 00 00
 A0 06 23 13 32 00 10 00 00
 A0 06 26 13 3E 00 00 00 00
 A0 06 28 13 49 00 48 00 00
 A0 06 29 13 53 00 48 00 00
 A0 06 2A 13 5D 00 48 00 00
 A0 06 2A 13 66 00 00 00 00
 A0 06 29 13 6D 00 38 00 00
 A0 06 27 13 74 00 60 00 00
 A0 06 26 13 7A 00 00 00 00
 A0 06 23 13 7E 00 78 00 00
 A0 06 21 14 02 00 50 00 00
 A0 06 1E 14 05 00 68 00 00
 A0 06 1B 14 05 00 78 00 00
 A0 06 19 14 04 00 08 00 00
 A0 06 16 13 7E 00 78 00 00
 A0 06 16 13 75 00 30 00 00
 A0 06 16 13 65 00 70 00 00
 A0 06 1A 13 50 00 70 00 00
 A0 06 20 13 33 00 50 00 00
 A0 06 2B 13 10 00 30 00 00
 A0 06 38 12 65 00 00 00 00
 A0 06 38 12 65 00 00 00 00
 80 06 38 12 65 00 00 00 00
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #59 on: August 21, 2013, 05:23:33 AM »

Ok that line with the pressure max x and max y is what we need to enter in the real template (intuos2 emulation - another ISDV4 template). You have to change the "slave" max x/y/pressure value. (I am surprised by the number 170 this is unusual).

Can you measure the physical active area or lcd screen size width and height?

Logged
Pages: 1 2 3 [4] 5 6 ... 14
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!