Scott Lahteine, on Jun 16 2009, 08:47 PM, said:
I've just posted
TabletMagic 2.0b17d1 which includes some changes in TabletPC handling.
- Enabled the broken -3 argument for the sake of "WACF008" digitizers. (Thank you Aenin!)
- Now processes and reports any reply from the Get Info (*) query.
- No longer tries to send a UD setup string to non-UD tablets.
- Slightly modified binary packet handling for all tablet models.
Please try this version and let me know how it works. Be sure to toggle "Launch at Startup" to ensure a good startup line in the LaunchD entry. For all tablets, in spite of the instructions in the Lenovo thread, you don't need to edit the Apple16X50Serial.kext/Contents/PlugIns/Apple16X50ACPI.kext/Contents/Info.plist file manually. The "Enable Digitizer" button in TabletMagic will do exactly the right thing for all TabletPC systems.
When reporting your results be sure to include the output of Console.
Thanks and good luck!
I (finally) registered on this forum, partially to thank you for all your hard work, also to share a few experiences:
I installed TabletMagic 2.0b17d1 on my iATKOS HP TC 4400 to run last night and. The digitizer would work for a few seconds, then stop.
Looking at the logs, I noticed that there were two daemons started. One would get started, renice itself, then a second or two later another would start. Well, here, let me show you:
7/29/09 1:30:59 AM com.apple.launchd[1] (com.thinkyhead.TabletMagic) Unknown key: ServiceDescription
7/29/09 1:30:59 AM com.thinkyhead.TabletMagic[96] [INIT] Remapping Stylus Eraser to Right Button
7/29/09 1:30:59 AM com.thinkyhead.TabletMagic[96] TabletMagicDaemon v2.0b17d1
7/29/09 1:30:59 AM com.thinkyhead.TabletMagic[96] © 2001-2009 Thinkyhead Software
7/29/09 1:30:59 AM com.thinkyhead.TabletMagic[96] [INIT] renice -20 96 : Succeeded
7/29/09 1:31:00 AM com.apple.launchd[61] (com.thinkyhead.TabletMagic) Unknown key: ServiceDescription
7/29/09 1:31:00 AM com.apple.launchd[61] (com.thinkyhead.TabletMagic) Ignored this key: UserName
7/29/09 1:31:00 AM com.thinkyhead.TabletMagic[108] [INIT] Remapping Stylus Eraser to Right Button
7/29/09 1:31:00 AM com.thinkyhead.TabletMagic[108] TabletMagicDaemon v2.0b17d1
7/29/09 1:31:00 AM com.thinkyhead.TabletMagic[108] © 2001-2009 Thinkyhead Software
7/29/09 1:31:00 AM com.thinkyhead.TabletMagic[108] [INIT] renice -20 108 : Succeeded
7/29/09 1:31:02 AM com.thinkyhead.TabletMagic[96] [INIT] Digitizer ID: WACF004
7/29/09 1:31:02 AM com.thinkyhead.TabletMagic[108] [INIT] Digitizer ID: WACF004
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [PROC] Tablet Bounds: (0, 0) - (24569, 18429)
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [PROC] Screen Bounds: (0, 0) - (1023, 767)
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [PORT] serial0: OPENED
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [PORT] Setting speed to 19200
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [PROC] "~#ISD V4"
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [INFO] ISD V4.00 (TabletPC)
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] [INIT] TabletPC Detected
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] Tablet Settings (imposed):
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] command set ..... Tablet PC
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] output format ... BINARY
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] terminator ...... CRLF
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] packet size ..... 9
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] baud rate ....... 19200
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] data bits ....... 8
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] parity .......... N
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] stop bits ....... 1
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] cts ............. OFF
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] dsr ............. OFF
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] transfer mode ... suppressed
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] coord sys ....... ABS
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] transfer rate ... 200
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] resolution ...... 1270 lpi
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] origin .......... UL
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] oor data ........ OFF
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] pnp ............. ON
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] sensitivity ..... firm
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] read height ..... 8mm+
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] mdm ............. OFF
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] tilt ............ ON
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] mm command set .. MM1201
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] orientation ..... landscape
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] cursor data ..... 1234
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] remote mode ..... OFF
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] increment ....... 2
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] interval ........ 2
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] xrez ............ 1270
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] yrez ............ 1270
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] tablet width .... 24570
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] tablet height ... 18430
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[96] Tablet initialized.
7/29/09 1:31:03 AM /Library/PreferencePanes/TabletMagic.prefPane/Contents/Resources/TabletMagicDaemon[108] [ERR ] Couldn't create a local message port!
7/29/09 1:31:03 AM com.apple.launchd[61] (com.thinkyhead.TabletMagic[108]) Check-in of Mach service failed. PID 108 is not privileged: com.thinkyhead.tabletmagic.daemon
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[108] [PROC] Tablet Bounds: (0, 0) - (24569, 18429)
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[108] [PROC] Screen Bounds: (0, 0) - (1023, 767)
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[108] Error setting TIOCEXCL on /dev/cu.serial0 - Resource busy(16).
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[108] [PORT] serial0: OPEN ERROR
7/29/09 1:31:03 AM com.thinkyhead.TabletMagic[108] Could not initialize tablet.
7/29/09 1:31:20 AM com.apple.launchd[1] (com.thinkyhead.TabletMagic[96]) Exit timeout elapsed (20 seconds). Killing.
7/29/09 1:31:20 AM com.apple.launchd[1] (com.thinkyhead.TabletMagic[96]) Exited: Killed
So PID 96 starts, then 108, they wrestle over resources, and nobody wins.
Manually removing the LoginWindow element from the launchd plist seemed to fix it. According to
http://devworld.appl...005/tn2083.html (I just discovered that while typing this post):
Quote
If you set LimitLoadToSessionType to an array, be aware that each instance of your agent runs independently. For example, if you set up your agent to run in LoginWindow and Aqua, the system will first run an instance of your agent in the loginwindow context. When a user logs in, that instance will be terminated and a second instance will launch in the standard GUI context.
My guess is, even though my mac is set to launch directly into desktop and bypass the login screen, it still goes though that state briefly during boot, long enough for TabletMagic[96] to start but launchd doesn't kill it in time for the second TabletMagic[108] to start. That's just a guess though.
Anyway, that's solved (for me anyway) for now. My next hurdle is, after a few minutes of use, the mapping suddenly gets corrupted and it's almost like the tablet bounds get reset to 1/5th of what they were (in other words, my pen is maybe an inch from the top left corner of the screen, yet the cursor is somewhere around the middle). I'm going to plug away at that and see if I can figure out what's going on.
Thanks again for your hard work. I'll donate one of these days