mischnic / hyperpen-for-apple

Automatically exported from code.google.com/p/hyperpen-for-apple
0 stars 0 forks source link

Please post your comments about my driver #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please tell me what you think about my driver.
Does it work for you as expected?
What features should be added?

Original issue reported on code.google.com by udo.kill...@gmail.com on 25 Jun 2012 at 5:06

GoogleCodeExporter commented 9 years ago
hi! the driver works great for most of the functions i use for my Genius g-pen 
560 except for 1 major glitch i've encountered so far: when i use the brush on 
photoshop cs5 it just makes dots as if just i just made a single click on the 
canvas.

been trying to make this pen for a few months now and you driver seems to be 
the best one i've come accross so far.

pen i'm using is a genius g-pen 560 working on a mac mini os x 10.6.8

So much thanks and hope to hear again from you with a positive update. more 
power!

Original comment by hexadigi...@gmail.com on 28 Jun 2012 at 8:43

Attachments:

GoogleCodeExporter commented 9 years ago
Your driver is a great! (I'm using yiynova MSP19, OSX 10.7.4)
I hope that the following additional functionality.

1. Tip feel

2. Screen calibrate

3. Tablet Mapping area select (on dual monitor system)

Thanks always for your efforts!

Original comment by ikonman...@gmail.com on 28 Jun 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Thanks for your replies!
@hexadezimal - please have a look at issue 5, Adobe products seem to need Wacom 
drivers installed to activate pressure sensitivity (its just needed, but not 
used)
@ikonmaniac: what does 'Tip feel' mean? Have a look at issue 6 for information 
around your request 3.

Udo

Original comment by udo.kill...@gmail.com on 30 Jun 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Thanks so much! That really helps. Everything is well now. The pen is working 
as smoothly as ever.

Although the daemon have to be started and left open from the terminal to keep 
it working. I was just wondering if this could run as a normal driver running 
from the background as soon as the computer starts without the user even 
noticing it. Just a though...

Anyway, your driver really make a heap of difference. Can't thank you enough.

Cheers!

Original comment by hexadigi...@gmail.com on 30 Jun 2012 at 5:30

GoogleCodeExporter commented 9 years ago
hexadigital,

I will make the driver work in the background as soon as it leaves experimental 
state. At the moment I am implementing a graphical configuration utility, which 
you can use for fine tuning. On the other hand I am working on pressure 
profiles as proposed by Ray.

Udo

Original comment by udo.kill...@gmail.com on 2 Jul 2012 at 5:50

GoogleCodeExporter commented 9 years ago
I'm so glad to hear that. Can't wait for the final driver. Hope it's soon. Will 
be waiting for your progress and thanks for sharing as always.

Original comment by hexadigi...@gmail.com on 2 Jul 2012 at 2:21

GoogleCodeExporter commented 9 years ago
This is the first driver I've found (and I've tried about a dozen) that has 
even made my tablet functional! I have a Digipro T-8000u, which appears to be 
an aiptek t8000u, per the FCC Id. Until now, it would only click, but it 
wouldn't move the cursor at all. Your drivers make it work, however, it only 
uses the top left quarter of my screen. I'm still tinkering around to gry to 
get it to work, but if you have any suggestions let me know! (Clarification: 
the top left section of the tablet corresponds to the top left corner of my 
screen, but the bottom right corner corresponds with about the middle of the 
screen. Possibly because I have spaces enabled. I'll try disabling spaces and 
seeing if that helps.

Original comment by lisadona...@gmail.com on 7 Jul 2012 at 4:41

GoogleCodeExporter commented 9 years ago
I fixed it by changing it to 3000 x 2200 (it's an 8x6 tablet, so maybe that's 
why it needed adjustment?) I'd tried using the gui, but it was setting it 
wrong, even after I gave it the right product and version. Oh well, just glad 
it works now! THANK YOU!!!

Original comment by lisadona...@gmail.com on 7 Jul 2012 at 4:52

GoogleCodeExporter commented 9 years ago
Happy to read, it works for you now. 

8x6 should work with an aspect ratio of 4:3 - but obviously it doesn't. Could 
you please post the diagnostic information, the driver shows at startup. A 
screenshot of hyperpenConfig would also be helpful.

Kind regards
   Udo

Original comment by udo.kill...@gmail.com on 7 Jul 2012 at 6:38

GoogleCodeExporter commented 9 years ago
Hi. Very much appreciate your efforts. I have installed the driver with the 
configuration tool and, after some jiggling and restarts, my tablet "almost" 
works. I'm running OS X Mountain Lion, with GIMP 2.8 and a Silvercrest tablet 
(Aiptek 1000U).
I can select tools in GIMP and navigate around the screen with the tablet's pen 
with no problem. However, when I try to crop, paint, shade or whatever the pen 
executes the movement but does nothing. I can click and point with no problem. 
Any ideas how I can fix this?

Original comment by jorge.ed...@gmail.com on 14 Aug 2012 at 10:43

GoogleCodeExporter commented 9 years ago
I had a search on "GIMP tablet osx" and a lot of hits:
http://www.gimptalk.com/index.php?/topic/17755-install-guide-wacom-drawing-table
ts-with-gimp/
http://clearcove.ca/2008/12/tablet-pressure-support-on-os-x-for-x11-gimp-and-ink
scape/

Please confirm that it works for you.

Udo

Original comment by udo.kill...@gmail.com on 14 Aug 2012 at 3:11

GoogleCodeExporter commented 9 years ago
My Silvercrest tablet (Aiptek 1000U) now works very well with your driver after 
following up on the instructions in 
http://clearcove.ca/2008/12/tablet-pressure-support-on-os-x-for-x11-gimp-and-ink
scape/, which you so kindly recommended. It was a bit hit and miss and cannot 
really tell what made it work in the end. After adjusting the settings 
indicated by clearcove, the "problem" initially continued. I rebooted the Mac a 
few times and it suddenly started to work. I have the version of GIMP 2.8 that 
requires XQuartz 2.7.2 for Mountain Lion. Perhaps the initial problem comes 
from this as it gave me some trouble when installing GIMP. It all works now, 
but if I started again I would try installing the native GIMP for Mac without 
XQuartz from www.partha.com. It looks like a much cleaner solution. Your driver 
works great. Thank you very much.

Original comment by jorge.ed...@gmail.com on 17 Aug 2012 at 3:23

GoogleCodeExporter commented 9 years ago
Thanks! I just used this to get an Adesso (Aiptek?) Cybertablet 6400 running 
again. 

Using its default 6000x4500 resolution, running the pen the length of the 
tablet would only move the cursor half the length of the screen. So I told 
hyperpenDaemon it was 3000x2250 and am living with it. 

Should I expect all three buttons on the pen to work? 

Anyway, thank you for building this! I was worried I'd have to get a new 
tablet, but now I'm up and running again. And without Adesso's annoying 
autostart software they had for 10.5!

Original comment by nevesp...@gmail.com on 17 Aug 2012 at 6:33

GoogleCodeExporter commented 9 years ago
Update of GIMP 2.8 with Silvercrest tablet. Although I got the tablet to work 
as explained in my earlier post, GIMP was very unstable and kept crashing 
continuously. The instability had nothing to do with the driver or the tablet, 
it crashed with the tablet disconnected while using GIMP with the mouse. I 
suspect it had to do with the interaction between XQuartz and GIMP. I 
uninstalled both applications and installed the native version of GIMP 2.8 from 
www.partha.com after running the ONYX "cleaner" for the Mac. The installation 
was smooth, no issue whatsoever, it works flawlessly with the tablet and is 
solid as a rock. I definitely recommend this version of GIMP and Udo's driver.

Original comment by jorge.ed...@gmail.com on 18 Aug 2012 at 3:33

GoogleCodeExporter commented 9 years ago
Jorge, thanks for your feedback. I never heard of a native GIMP version before. 
It makes me happy to read success stories as yours.

Phil, thanks for your comments as well. Could you please tell me how your pen 
looks like (i.e. which buttons you refer to).

Best regards
   Udo

Original comment by udo.kill...@gmail.com on 18 Aug 2012 at 3:41

GoogleCodeExporter commented 9 years ago
It's a two-button pen: 
http://images.highspeedbackbone.net/SkuImages/gallery/large/A68-1002-e.jpg

The buttons are actually recognized but I didn't notice because I was expecting 
different behavior. 
Currently, the lower button will act as a left click until you press the tip, 
in which case it acts as a right click. The upper button acts as a right click. 
I'm fine with this behavior, I think.

Original comment by nevesp...@gmail.com on 18 Aug 2012 at 5:31

GoogleCodeExporter commented 9 years ago
What behavior did you expect?

Original comment by udo.kill...@gmail.com on 18 Aug 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Under Addesso drivers I think the default was:

lower = right-click
upper = double-click

And if I recall correctly that was configurable.

Original comment by nevesp...@gmail.com on 18 Aug 2012 at 6:51

GoogleCodeExporter commented 9 years ago
Thanks for you feedback. I am planning to include a configuration GUI and 
consider to make the buttons configurable as well.

Udo

Original comment by udo.kill...@gmail.com on 19 Aug 2012 at 3:21

GoogleCodeExporter commented 9 years ago
Thank you for all your hard work on this.

Original comment by nevesp...@gmail.com on 19 Aug 2012 at 4:38

GoogleCodeExporter commented 9 years ago
When i try to write stuff, when a couple of second go by it begans to draw 
straight lines with origin on the last point touched by the paint. I don't know 
why that happens i have a Gpen 560 running on Mac OSX Lion

Original comment by inmedu.e...@gmail.com on 8 Oct 2012 at 12:58

GoogleCodeExporter commented 9 years ago
Does it happen if you lift the pen only slightly from your tablet? Or does it 
happen if you lift it farther from the tablet?
Some of the pens come with a mechanical weakness that the pen reports a 
pressure even if lifted from the tablet. 

Please check an post back.

Udo

Original comment by udo.kill...@gmail.com on 8 Oct 2012 at 5:01

GoogleCodeExporter commented 9 years ago
I think you've got a great tool over here, it's just I can't make it work very 
well. Even though I am drawing all over the tablet, the pen shows up only in 
the upper left corner of the screen. I am using the Trust 3100 wireless tablet 
on a MacBook Pro running Lion. Is it the resolution? I followed the tutorial on 
the wiki a few times but to no avail...
could you please help me figure it out?
Thanks for your work.

Delly

Original comment by doramikh...@yahoo.co.uk on 18 Oct 2012 at 9:29

GoogleCodeExporter commented 9 years ago
Delly,

could you please post a screenshot of hyperpenConfig and a copy of the log 
messages the driver display when starting up? Otherwise it would be guessing 
only.

I am not sure if the wireless tablet uses the same protocol as the wired ones.

Regards
   Udo

Original comment by udo.kill...@gmail.com on 18 Oct 2012 at 5:33

GoogleCodeExporter commented 9 years ago
Hello!

I've a Trust TB-3100 and I want to use it with a iMac G5 (PowerPC) OS X 10.5.8
I've tried your driver, but running the daemon in the terminal I got this 
messege:
Bad CPU type in executable
Which make me think your driver only works with Intel cpus, doesn't it?
Can you help me?

Thank you!

Regards.
JM

Original comment by Neo.y.Gi...@gmail.com on 11 Nov 2012 at 9:29

GoogleCodeExporter commented 9 years ago
JM,

you are right. My driver is available for Intel. I have compiled it for ppc for 
you to test. The challenge for you would be to figure out the relevant settings 
for your tablet. This is the driver only and not hyperpenConfig.

Please post a copy of the messages displayed on driver startup.

Kind regards
   Udo

Original comment by udo.kill...@gmail.com on 14 Nov 2012 at 6:24

Attachments:

GoogleCodeExporter commented 9 years ago
listHIDDevices should read the product and manufacture info from your tablet

Original comment by udo.kill...@gmail.com on 14 Nov 2012 at 6:31

Attachments:

GoogleCodeExporter commented 9 years ago
Hello!!!

Thank you for re-compiling the code for me!

The trces of the driver:
Budget Tablet Driver for OSX
(c) Udo Killermann 2012
http://code.google.com/p/hyperpen-for-apple/
udo.killermann@gmail.com

Build date: Nov 14 2012
Build time: 07:21:28

vendor: 8ca
product: 10
width: 6000
height: 4500
Offset X: 0
Offset Y: 0
screen width: -1
screen height: -1
screen Offset X: -1
screen Offset Y: -1
display ID: -1
Compensation: 0
Average: 1
Pressure level: 0
Physical max level: 511
selected profile not found - reverting to linear
Screen Boundary: 0.00, 0.00 - 1680.00, 1050.00
Screen Mapping: 0.00, 0.00 - 1680.00, 1050.00
Tablet connected!

listHIDDevices show this: 00033.02250.APT-USB-3

I should configure it because I only can move in the top-left quarter of the 
screen.
Could you recompile hyperpenConfig also for PPC?

Thank you very much!!!!

Best regards,
JM

Original comment by Neo.y.Gi...@gmail.com on 16 Nov 2012 at 7:03

GoogleCodeExporter commented 9 years ago
JM,

I cannot recompile hyperpenConfig because of the development environment I am 
using. 
Please unzip the attached command file into the same directory the driver 
resides in. After unzipping please doubleclick an post back the information 
shown.

Regards
   Udo

Original comment by udo.kill...@gmail.com on 16 Nov 2012 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Udo,

This is what I get when running it:
./daemonStarter3100.command: line 2: ./hyperpenDaemon: Bad CPU type in 
executable

:'(
Thank you anyway.

Regards,
JM

Original comment by Neo.y.Gi...@gmail.com on 19 Nov 2012 at 3:53

GoogleCodeExporter commented 9 years ago
Did you copy the command file into the same directory of the ppc version of the 
driver you downloaded from this page?

The Bad CPU should only be displayed if you tried to run the Intel daemon.

Regards
  Udo

Original comment by udo.kill...@gmail.com on 19 Nov 2012 at 5:42

GoogleCodeExporter commented 9 years ago
Hello!

Yes, your last .zip in the same folder that the ppc driver.

Regards,
JM

Original comment by Neo.y.Gi...@gmail.com on 19 Nov 2012 at 5:58

GoogleCodeExporter commented 9 years ago
strange!

are you familiar with the command line? if so I would send you the parameters 
to start the daemon correctly.

Regards
   Udo

Original comment by udo.kill...@gmail.com on 19 Nov 2012 at 8:04

GoogleCodeExporter commented 9 years ago
Hello!

I know what is going on!!!
When I unzipped the ppc version the intel version application file still was in 
the folder, so this new file was auto-renamed to '_2'.
That's why your starter says that. 
I've deleted the intel file and renamed the ppc.
The output of the starter is this:

$ ./daemonStarter3100.command 
Budget Tablet Driver for OSX
(c) Udo Killermann 2012
http://code.google.com/p/hyperpen-for-apple/
udo.killermann@gmail.com

Build date: Nov 14 2012
Build time: 07:21:28

vendor: 8ca
product: 21
width: 12000
height: 9000
Offset X: 0
Offset Y: 0
screen width: -1
screen height: -1
screen Offset X: -1
screen Offset Y: -1
display ID: -1
Compensation: 0
Average: 1
Pressure level: 0
Physical max level: 511
selected profile not found - reverting to linear
Screen Boundary: 0.00, 0.00 - 1680.00, 1050.00
Screen Mapping: 0.00, 0.00 - 1680.00, 1050.00
Tablet connected!

I know how to work with command line, I work with Linux systems :)
But I'm new in Apple-Mac world.

Regads,
JM

Original comment by Neo.y.Gi...@gmail.com on 19 Nov 2012 at 9:48

GoogleCodeExporter commented 9 years ago
Brilliant work here, I'm so glad this exists to get my old tablet working!! The 
only feature I miss is relative tracking mode, specifically keeping the x/y 
tablet measure ratio equal to the x/y pixel ratio (i.e. maintain x/y 
proportions when drawing).

Original comment by hednow...@gmail.com on 20 Nov 2012 at 12:09

GoogleCodeExporter commented 9 years ago
I have a Trust tb-3100 on an OSX 10.6.8 and I have the same top left corner 
problem. But there's one more problem: I'm new on mac, so i don't know nothing 
about the terminal stuff. So can anyone help me?
Obs: Sorry for the English, i'm a Brazilian guy...

Original comment by eduardor...@gmail.com on 20 Nov 2012 at 11:53

GoogleCodeExporter commented 9 years ago
I p[ut this on my terminal -v 0x8CA -p 0x21 -w 3000 -h 2200 and the tb-3100 
worked on full size. But my mouse pointer, sometimes, when I click something, 
he tremble a little. And on Photoshop my mouse don't draw curves. What can I do?

Thanx

Ed

Original comment by eduardor...@gmail.com on 21 Nov 2012 at 2:01

GoogleCodeExporter commented 9 years ago
Ed, 

The answer to the Photohop question can be found in issue 6, posting 22 and 
follow on. The tremble can be solved by increasing the averaging. Append -a 2 
or -a 3 to the parameter list. That should do the job. Please keep me posted, 
if this solves your issue.

Regards
   Udo

Original comment by udo.kill...@gmail.com on 21 Nov 2012 at 6:12

GoogleCodeExporter commented 9 years ago
If you want to match the tablet space and display state, you need to do some 
calculation and adjust the -h parameter. Tablets are most often 4:3 and most 
display are 16:9 or 16:10 today.

Regards
   Udo 

Original comment by udo.kill...@gmail.com on 21 Nov 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Hi, thank you so much for the work you have put into this. I had almost given 
up hope of getting my Digipro t12000U working on 10.7 Lion. I got the driver 
installed, restricted to one of my 2 screens (as required), even pressure works 
fine in Photoshop. The only problem is the the side buttons do not work.
I know know the pen is OK as the buttons worked in the first driver I tried 
(they were all that did work!). I think I removed all the old driver but I 
don't know where the OS may have put itr all. Any suggestions would be 
gratefully accepted as it's the only thing stopping my system from being setup 
just the way I want.

Regards Steve

Original comment by Southern...@gmail.com on 8 Feb 2013 at 12:59

GoogleCodeExporter commented 9 years ago
Steve,

thanks for your message - I am happy my driver works for you as well.

What do you mean by "side buttons"? The ones on the pen or buttons available on 
the tablet?

Regards Udo

Original comment by udo.kill...@gmail.com on 8 Feb 2013 at 6:01

GoogleCodeExporter commented 9 years ago
Sorry I wasn't clearer. The buttons on the tablet work fine, I meant the 
buttons on the pen.

Regards
Steve

Original comment by Southern...@gmail.com on 8 Feb 2013 at 8:15

GoogleCodeExporter commented 9 years ago
Hi Udo
Just an update on my issue. After more experimenting it appears that the pen 
buttons work if the nib is pressed but not otherwise. Is that the correct 
behavior?
Regards
Steve

Original comment by Southern...@gmail.com on 8 Feb 2013 at 10:16

GoogleCodeExporter commented 9 years ago
Steve,

that's the intended behavior. The buttons should work as well if you hover the 
pen slightly above the panel,

Regards
   Udo

Original comment by udo.kill...@gmail.com on 9 Feb 2013 at 9:54

GoogleCodeExporter commented 9 years ago
OK thanks Udo. I also appreciate the prompt replies, not the usual response in 
my experience.

Regards
Steve

Original comment by Southern...@gmail.com on 9 Feb 2013 at 8:00

GoogleCodeExporter commented 9 years ago
Steve,

you are welcome.

Regards
   Udo

Original comment by udo.kill...@gmail.com on 10 Feb 2013 at 10:03

GoogleCodeExporter commented 9 years ago
Hi there; I've been trying desperately to get your (rather cool) code working 
with my bosto 19" tablet (www.bosto-tablet.com).

I found that the input reports didn't seem to play nice, so I updated it to use 
calls to IOHIDDeviceGetValue, which works ok. I get all the reports of 
off_tablet, pressure, x, y.. and I post mouse events so that it works with the 
system.. the only thing is it's utterly crap in paint programs. In Flash, 
without sensitivity it's ok, but other than that.. in photoshop it when I draw 
lines I just get dots, and if the line I drew was sufficiently straight I get a 
straight line. In flash, with pressure sensitivity I get really weak lines. In 
other paint programs I see similar, and sometimes REALLY bad performance, where 
by it takes a good 5 seconds for the paint program to reproduce all the lines I 
drew.

I've attached the HID report for this device. I'd appreciate any help you can 
offer, or any resources or anything to get this device working.

Thanks,

George

Original comment by GeorgeCo...@gmail.com on 14 Mar 2013 at 6:28

GoogleCodeExporter commented 9 years ago
George,

I can't see your attachment. Do you have any source code (e.g. linux driver) 
that shows the interrupt reports your tablet presents? Is there any technical 
documentation available you can use as a start?

Regards,
   Udo 

Original comment by udo.kill...@gmail.com on 14 Mar 2013 at 6:44

GoogleCodeExporter commented 9 years ago
George,

did you contact the manufacturer to get technical information? Sometimes they 
are more open to share these thinks than you think.

Regards,
  Udo

Original comment by udo.kill...@gmail.com on 14 Mar 2013 at 6:46

GoogleCodeExporter commented 9 years ago
Hey Udo,

I've been talking with the manufactureres. I've attach the modified code. I 
chopped it up a little bit as it seems that reading their reports never works.

In your journey with this project did you ever see the issues I described with 
photoshop, whereby you draw curves, and just get a dot from your start position?

I can workaround flash not showing the sensitivity option by installing the 
wacom driver (which somehow tells flash to display the pressure sensitivity); 
but my number one issue is photoshop..

Code is attached - I know it's ugly, and I know that as I'm no longer using the 
report i should use transaction callbacks for the values : that is my next 
refactoring once I get photoshop to work..

One thing that is also confusing the hell out of me, which I can't work out, is 
what should the pressure value be that's reported? for a mouse it's 0-255, but 
my tablet has (and reports) up to 1024 pressure levels.. just not sure what I 
should do with that value..

Original comment by GeorgeCo...@gmail.com on 14 Mar 2013 at 8:58

Attachments: