Page 114 of 169 FirstFirst ... 1464104112113114115116124164 ... LastLast
Results 1,131 to 1,140 of 1689

Thread: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

  1. #1131
    Join Date
    Apr 2007
    Beans
    492

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    I've been looking through this topic, and maybe I missed it, but is there a way to just disable the n-trig driver? To disallow touch and pen input? My screen gets phantom touches sometimes and the cursor jumps across the screen. Very annoying.

  2. #1132
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Hi gohanssjn,

    You might want to try Rafi's "degaussing" routine first: http://ubuntuforums.org/showpost.php...postcount=1073

  3. #1133
    Join Date
    Apr 2007
    Beans
    492

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Quote Originally Posted by Favux View Post
    Hi gohanssjn,

    You might want to try Rafi's "degaussing" routine first: http://ubuntuforums.org/showpost.php...postcount=1073
    Well, I just tried that, but:

    Code:
    gcc -lusb -o calib calib.c
    calib.c:19:17: error: usb.h: No such file or directory
    calib.c: In function ‘device_init’:
    calib.c:38: error: ‘usb_busses’ undeclared (first use in this function)
    calib.c:38: error: (Each undeclared identifier is reported only once
    calib.c:38: error: for each function it appears in.)
    calib.c:38: error: dereferencing pointer to incomplete type
    calib.c:40: error: dereferencing pointer to incomplete type
    calib.c:41: error: dereferencing pointer to incomplete type
    calib.c:41: error: dereferencing pointer to incomplete type
    calib.c:42: error: dereferencing pointer to incomplete type
    calib.c:42: error: dereferencing pointer to incomplete type
    calib.c: In function ‘main’:
    calib.c:73: warning: assignment makes pointer from integer without a cast
    make: *** [calib] Error 1

  4. #1134
    Join Date
    Nov 2009
    Location
    In a Pokemon World
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Quote Originally Posted by Favux View Post
    Hi Pikachuu,

    What you are describing is configuration through the 10-wacom.conf in /usr/lib/X11/xorg.conf.d/. The stylus is picked up by the wacom driver which is why it's rotating and touch is picked up by the evdev driver which is why it isn't rotating and the toggle script isn't working. You have to use the hybrid rotation scripts that include evdev, and below the wacom touch toggle scripts are the commands to toggle evdev touch on and off.
    Couple of questions:

    1. Should I be using 10-wacom.conf? Also, is it okay to have a xorg.conf looking like that or is that what I shall find out for you?

    2. What behaviours exactly do the hybrid rotation scripts cover? I'm going to use rafi's latest one in the first post but I have no idea what to do with it since I don't know what it does.

    EDIT: I tried setting it to run on startup then logged in and out. The screen rotates, but nothing else does.

    Also would like to ask what is the command to check evdev for whether the touch is active so I can toggle it.
    Last edited by Pikachuu; August 19th, 2010 at 03:12 AM.

  5. #1135
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Hi gohanssjn,

    Did the install go OK? No errors with make? You've got gcc installed?

    Seems to be stalling on: calib.c:19:17: error: usb.h: No such file or directory


    Hi Pikachuu,

    1. Should I be using 10-wacom.conf? Also, is it okay to have a xorg.conf looking like that or is that what I shall find out for you?
    Sure. Like I said it'll give linuxwacom running the stylus (esp. if you use the change to the n-trig snippet in the HOW TO) and evdev running touch. To get both run by linuxwacom you have to use one of the n-trig xorg.confs (ie the multi-touch one). Your xorg.conf looks fine it you plan to keep using the 10-wacom.conf for configuration.
    2. What behaviours exactly do the hybrid rotation scripts cover?
    Should rotate to portrait (to the right) and then back to landscape. Option is there to set it up through all 4 orientations.
    Also would like to ask what is the command to check evdev for whether the touch is active so I can toggle it.
    Good question. I don't know. Don't see it in 'man evdev'. Maybe you could use xinput? Possibly 'query-state' or 'watch-props'? See 'man xinput'.

  6. #1136
    Join Date
    Nov 2009
    Location
    In a Pokemon World
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    I went to check the manuals, but since I had no idea what I was looking for it didn't work out. I was also confused because when I checked "xinput list" I got this:
    Code:
    ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
    ⎜   ↳ USB Optical Mouse                       	id=10	[slave  pointer  (2)]
    ⎜   ↳ N-Trig Touchscreen                      	id=12	[slave  pointer  (2)]
    ⎜   ↳ N-Trig Pen eraser                       	id=13	[slave  pointer  (2)]
    ⎜   ↳ N-Trig Pen stylus                       	id=14	[slave  pointer  (2)]
    ⎜   ↳ N-Trig Pen eraser                       	id=15	[slave  pointer  (2)]
    ⎜   ↳ N-Trig Pen stylus                       	id=16	[slave  pointer  (2)]
    ⎜   ↳ N-Trig Touchscreen                      	id=17	[slave  pointer  (2)]
    ⎜   ↳ Macintosh mouse button emulation        	id=20	[slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad              	id=19	[slave  pointer  (2)]
    ⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
        ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
        ↳ Power Button                            	id=6	[slave  keyboard (3)]
        ↳ Video Bus                               	id=7	[slave  keyboard (3)]
        ↳ Power Button                            	id=8	[slave  keyboard (3)]
        ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
        ↳ CNF8038                                 	id=11	[slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard            	id=18	[slave  keyboard (3)]
        ↳ HP WMI hotkeys                          	id=21	[slave  keyboard (3)]
    Apparently I have two instances of the touchscreen connected, and xorg.conf still looks the same. 10-wacom looks fine too...

    This is the first time I'm foraying into these things without following an explicit guide, so pardon me if the answers to my questions are too obvious.

  7. #1137
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Arrow Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Not at all. The duplicate entries are probably due to your firmware. Do you know what version? Are you dual booting Windows? Vista or Win7?

    We could try something like:
    Code:
    #!/bin/bash
    
    # evdev touch toggle script
    
    if [ -f /tmp/touch_off ]; then
    	xinput reattach "N-Trig Touchscreen" "Virtual core pointer"
    	rm -f /tmp/touch_off && exit 0
    else
    	xinput float "N-Trig Touchscreen"
    	echo 1 > /tmp/touch_off && exit 0
    fi
    Call it '.evdev_touch-toggle.sh'.
    Last edited by Favux; August 19th, 2010 at 05:12 PM.

  8. #1138
    Join Date
    Nov 2009
    Location
    In a Pokemon World
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    I'm dualbooting Windows 7, but I haven't checked for new drivers for some time >_<

    I quickly put the script into a new file; it seems to work! Thanks Favux! I'll tool around with it more tomorrow; I have to sleep now.

  9. #1139
    Join Date
    Apr 2007
    Beans
    492

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Quote Originally Posted by Favux View Post
    Hi gohanssjn,

    Did the install go OK? No errors with make? You've got gcc installed?

    Seems to be stalling on: calib.c:19:17: error: usb.h: No such file or directory
    Nope, didn't install after that.

  10. #1140
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Set up the HP TX2z and Dell XT & XT2 (N-trig digitizer) in Ubuntu

    Not sure what you just said. If you haven't installed build-essential yet install it and then try Rafi's tar again.:
    Code:
    sudo apt-get install build-essential

Page 114 of 169 FirstFirst ... 1464104112113114115116124164 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •