thinkyhead / TabletMagic

Mac OS X driver for Wacom serial tablets and TabletPC digitizers
http://www.thinkyhead.com/tabletmagic
41 stars 11 forks source link

Does not seem to work after upgrade to Mountain Lion #8

Closed lukas-vlcek closed 11 years ago

lukas-vlcek commented 12 years ago

Hi,

I was using your great TabletMagic on Lion but I can not make it work after Mountain Lion upgrade (10.8.1). Basically, it seems to be able to detect the tablet correctly but the cursor is not moving, in Testing window I can see that it is receiving data from tablet (stream, position, pressure, buttons... etc), the only strange thing is that in Extras the PanicButton is pulsing... not sure why, does this mean something? If I hit it nothing changes...

The following is some info:

$ kextstat -b nl.bjaelectronics.driver.PL2303
Index Refs Address            Size       Wired      Name (Version) <Linked Against>
  115    0 0xffffff7f82535000 0xb000     0xb000     nl.bjaelectronics.driver.PL2303 (1.0.0d1) <114 33 5 4 3>
$ pwd
/Library/PreferencePanes/TabletMagic.prefPane/Contents/Resources

$ ./TabletMagicDaemon 
TabletMagicDaemon v2.0b18
(c) 2001-2011 Thinkyhead Software <www.thinkyhead.com>

[INIT] Machine Type: MacBookPro6,2
[PROC] Tablet Bounds: (0, 0) - (15239, 15239)
[PROC] Screen Bounds: (0, 0) - (1439, 899)

[PORT] PL2303-000013FD: OPENED
[PORT] Setting speed to 9600
[SENT] "SP\r"
[SENT] "~#\r"
[PROC] "~#UD-1212-R00 V1.5-4"
[INFO] UD-1212-R00 V1.50 (ArtZ / ArtZ-II)
[SENT] "~R\r"
[PROC] "~RE202C900,002,02,1270,1270"

Tablet Settings (Active):
command set ..... WACOM IV
output format ... BINARY
terminator ...... CRLF
packet size ..... 7
baud rate ....... 9600
data bits ....... 8
parity .......... N
stop bits ....... 1
cts ............. OFF
dsr ............. OFF
transfer mode ... suppressed
coord sys ....... ABS
transfer rate ... 100
resolution ...... 1270 lpi
origin .......... UL
oor data ........ OFF
pnp ............. ON
sensitivity ..... firm
read height ..... 8mm+
mdm ............. OFF
tilt ............ OFF
mm command set .. MM1201
orientation ..... landscape
cursor data ..... 1234
remote mode ..... OFF
increment ....... 2
interval ........ 2
xrez ............ 1270
yrez ............ 1270
tablet width .... 15240
tablet height ... 15240

[SENT] "~C\r"
[PROC] "~C15240,15240"
[SENT] "ST\r"

Tablet initialized.

Now when I press ctrl + C:

^C[ERR ] TMSerialPort::Select() failed!

TabletMagicDaemon shutting down

Is there anything I should try? Thanks!

Hyldahl commented 12 years ago

You could take a look at: https://github.com/Hyldahl/TabletMagic/commit/cec7ca5453b7d9e316139c54517eb60ee5d78984

I fixed the issue with the cursor not moving. The only thing I haven't got working is the pressure not working correctly in certain applications (Autodesk Sketchbook ..others?).

lukas-vlcek commented 12 years ago

Do you know if Photoshop works fine?

Hyldahl commented 12 years ago

Nope sorry. Only one way to find out...

lukas-vlcek commented 12 years ago

Hey, I want to find out... please let me know what I need to do. I assume I need to clone your fork and build in Xcode, right? Then I need to find a way how to re-install instead of current TableMagic. Or do I need to un-install current TableMagic first and the install built from your fork?

Hyldahl commented 12 years ago

Building the code in Xcode will install it as well. Just make sure to uninstall / shutdown the daemon if it is running before building.

lukas-vlcek commented 12 years ago

So all I need is to open the code is Xcode (done), build it using cmd + B (done - build succeeded), and that is it? If I now run TabletMagic it should be already upgraded?

lukas-vlcek commented 12 years ago

Hmmm... this is what I now get if I try to enable TabletMagic in System Preferences https://gist.github.com/3624163

lukas-vlcek commented 12 years ago

BTW, moving the discussion to https://github.com/Hyldahl/TabletMagic/commit/cec7ca5453b7d9e316139c54517eb60ee5d78984

lukas-vlcek commented 12 years ago

@Hyldahl are you no IRC anywhere? My email is lukas.vlcek@gmail.com I would like to help you debug this.

Hyldahl commented 12 years ago

How about Skype?

thinkyhead commented 11 years ago

2.0b17d2 is still our best friend right now while bugs are worked out. 2.0b19 is still in-progress. I just committed all the latest changes including initial (slightly buggy) support for Mountain Lion and old Calcomp tablets.

If anyone feels like having a look-see at changes in the daemon code, have at it. Although the "eraser" is being specified in TabletProximity events, you'll see it's not being picked up in the ScratchPad for some reason.

When you build and run this (Cmd-R), it installs in your ~/Library/PreferencePanes folder. Delete old copies of TabletMagic before proceeding.

QuicksandDan commented 11 years ago

My GD-r does the same thing. It works in Testing, but does not move the cursor. Unfortunately, I'm not familiar with code and don't even know how to find where what's been posted is. Can someone give me a novice tutorial on how to get it to work in the meantime? Otherwise, I'll have to wait for b19. Thanks

thinkyhead commented 11 years ago

Version 2.0b19 has been released with a 64-bit preference pane and full support for Mountain Lion. http://www.thinkyhead.com/tabletmagic/download