Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Quote:
Originally Posted by
Nphyx
A couple new thoughts. I can't get the side button on my stylus to do anything, if there was some way to post output ala synclient maybe i could figure out what signal it's sending, if any. I don't know much about this, can anyone point me in the right direction?
Another thought is - apparently when you have two fingers on the screen, you get a height & width output on touch showing the difference between the first and second finger. Could we somehow capture when that happens to emulate a right-click on a two finger tap, with the rightmost finger being the pointer (maybe leftmost for left-handers)?
Are you using a patched N-Trig kernel module? If so, which patch did you use? Also, the following option was used for your stylus:
Code:
Option "Button2" "3"
The patched hid-ntrig.ko file from this post seems to be working with the side button but it is only for the 64-bit (I don't have a partition set up for 32-bit Karmic).
The events that are coming out of the wacom driver seem to be masked. I have not been able to see any of the output from it. However, it should be sending out a BTN_STYLUS event (0x14b).
If you are looking for the data that is sent to the wacom driver, you can find it in /dev/hidraw0 (for Vista firmware) and /dev/hidraw1 (for Windows 7). In this post, I attached a python script that will help translate the data. Unfortunately, the raw data does not post the actual event code, but provides enough information to tell you what is happening.
I will have to think about the two-finger tap for right-click. It might be possible, but difficult to do. I say this because if someone is using the Vista firmware and has two fingers on the screen, it will register the two fingers repeatedly causing the right click to be triggered each time. The Windows 7 firmware, in its current state, would work fine because it only sends the two finger data only once and then stops. At one point, I did have a two-finger tap going in the wacom driver where if the fingers were side to side (fingers were in this direction - ), it would scroll right and if they were on top of each other (fingers were in this direction | )it would scroll down. At that point, I ended up rewriting the driver. I currently have a working version now, but it lacks a calibrating tool and lacks a pressure sensitivity tool. Once I have those in place, I will then build a buffer in the driver to get some gestures going. You can go to https://code.launchpad.net/linuxntrig to view the source. It still lacks the instructions for building the code at this point (I have only tested it on 64-bit also).
EDIT:
If you are needing to check and see if the wacom module is seeing the side button, you should be able to see it through xidump:
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Quote:
EDIT:
If you are needing to check and see if the wacom module is seeing the side button, you should be able to see it through xidump:
That's exactly what I needed, thanks :) I had my side button set as a toggle in windows, so I hold it and tap to right click. Apparently that registers as button 4 on tap. It also must mean that setting is stored in the device somehow, which is interesting.
Thanks again. I don't know if/when I'll have a chance to mess with that driver code, but if I do I'll let you know what I come up with.
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
I see that there is a kernel update for Karmic, dare I install it.
Ayuthia, which patch was missing last time.
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Quote:
Originally Posted by
xopher_mc
I see that there is a kernel update for Karmic, dare I install it.
Ayuthia, which patch was missing last time.
It is the hid-ntrig.c-confidence.patch from this link.
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Patched for today's kernel release:
http://www.justenrobertson.com/proje...-x86_64.tar.gz
This is the x86_64 version only.
Extract, then move and load like so:
Code:
sudo cp hid-ntrig.ko /lib/modules/2.6.31-11-generic/kernel/drivers/hid
sudo depmod -a
sudo modprobe -r hid_ntrig
sudo modprobe hid_ntrig
Then logout and log back in again. All credit goes to Ayuthia, I just compiled the thing.
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Will this HOWTO work on an Elightenment system? I was thinking of trying OpenGEU but I wanted to know if this could still work. I have everything working now but wanted input. Thanks
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Will the instructions detailed in this thread work for my HP tx1000 model tablet?
~Jeff
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Quote:
Originally Posted by
proverbs308
Will this HOWTO work on an Elightenment system? I was thinking of trying OpenGEU but I wanted to know if this could still work. I have everything working now but wanted input. Thanks
I am not for sure, but it should. The applications used here are X based not desktop manager based so in theory, it should work.
Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu
Hi beastrace91,
See my response on your other thread. The TX1000 has an eGalax (I think I spelled that right) touchscreen so most of this here won't apply.