Page 124 of 169 FirstFirst ... 2474114122123124125126134 ... LastLast
Results 1,231 to 1,240 of 1689

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

  1. #1231
    Join Date
    Apr 2010
    Beans
    26

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

    The file is called 10-evdev.conf. Contents are below:


    #
    # Catch-all evdev loader for udev-based systems
    # We don't simply match on any device since that also adds accelerometers
    # and other devices that we don't really want to use. The list below
    # matches everything but joysticks.

    Section "InputClass"
    Identifier "evdev pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection

    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection

    Section "InputClass"
    Identifier "evdev touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection

    Section "InputClass"
    Identifier "evdev tablet catchall"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection

    Section "InputClass"
    Identifier "evdev touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    EndSection

  2. #1232
    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

    Thanks for posting the evdev.conf contents.

    Alright, fingers crossed:
    Code:
    Section "InputClass"
    Identifier "evdev touchscreen catchall"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    MatchProduct "HID 1b96:0001|N-Trig Touchscreen"
    Option "Ignore" "yes"
    EndSection
    Hopefully the match line will work.

    Don't forget to back up the evdev.conf in case we break X.

  3. #1233
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

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

    Quote Originally Posted by Favux View Post
    As an aside to Ayuthia and Rafi: Why is the Maverick hid-ntrig.ko returning an "eraser" for the TX2z? I assume this is spurious except on a Dell XT or XT2?

    I guess the same question applies to N-Trig Touchscreen. Unless it is in fact active and you can select between single finger touch and mulitouch?

    I haven't seen a Xorg.0.log yet for Maverick with the 5-4-10 hid-ntrig.ko or the equivalent.
    You are correct about the eraser. The reality of it is that the N-trig device is just a screen device that can handle a finger or a stylus with an eraser. The requirement is that the stylus needs to have the eraser hardware to send the eraser event to the screen (so that it can be sent to the system). So by default, the system will build the pen and eraser devices because the screen can handle it. The xorg entry was discussed a little bit in posts 947 and 948.

    As for the Touchscreen and MultiTouch, at this time there will always be a Touchscreen and MultiTouch if multitouch is able to be reported by the firmware. This is because the kernel module checks for values coming from the physical input (single-touch) and then it checks the logical to see if multitouch is available. So for the multitouch, it does find both but it always reports to the MultiTouch.

  4. #1234
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

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

    lawrencegoodman - Once you have an opportunity (it can be before or after Favux's changes), can you check dmesg to see if there are any messages coming out there when things get stuck? Also, is the mouse touchpad responding when things stick?

  5. #1235
    Join Date
    Apr 2010
    Beans
    26

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

    Let me see how it goes and I will post tomorrow. I am not sure if it is fully working yet.

    Thank you for all the help.

  6. #1236
    Join Date
    Nov 2005
    Beans
    21
    Distro
    Ubuntu Breezy 5.10

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

    I have a tx2-1024ca. Single touch worked with Lucid, but even that isn't recognized out of the box with Maverick (Maverick does recognize and use the stylus, however).

    I'm guessing that I have to do the N-trig firmware upgrade, but the N-trig site says it's Win7 only. I used to have Vista on my notebook, but after not booting it for 6 months, I deleted even that. Any tricks for doing the firmware upgrade? I have XP running in VirtualBox, but I doubt there's any way that can help.

    $ xinput --list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen stylus id=14 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen eraser id=13 [slave pointer (2)]
    ⎜ ↳ N-Trig Touchscreen id=15 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen stylus id=17 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen eraser id=16 [slave pointer (2)]
    ⎜ ↳ N-Trig Touchscreen id=18 [slave pointer (2)]
    ⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
    ⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=20 [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)]
    ↳ HP Webcam id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=19 [slave keyboard (3)]
    ↳ HP WMI hotkeys id=21 [slave keyboard (3)]
    $

    Thanks in advance for any suggestions.

  7. #1237
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

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

    Quote Originally Posted by dmegg View Post
    I have a tx2-1024ca. Single touch worked with Lucid, but even that isn't recognized out of the box with Maverick (Maverick does recognize and use the stylus, however).

    I'm guessing that I have to do the N-trig firmware upgrade, but the N-trig site says it's Win7 only. I used to have Vista on my notebook, but after not booting it for 6 months, I deleted even that. Any tricks for doing the firmware upgrade? I have XP running in VirtualBox, but I doubt there's any way that can help.

    $ xinput --list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen stylus id=14 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen eraser id=13 [slave pointer (2)]
    ⎜ ↳ N-Trig Touchscreen id=15 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen stylus id=17 [slave pointer (2)]
    ⎜ ↳ N-Trig Pen eraser id=16 [slave pointer (2)]
    ⎜ ↳ N-Trig Touchscreen id=18 [slave pointer (2)]
    ⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
    ⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=20 [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)]
    ↳ HP Webcam id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=19 [slave keyboard (3)]
    ↳ HP WMI hotkeys id=21 [slave keyboard (3)]
    $

    Thanks in advance for any suggestions.
    Can you post the results of:
    Code:
    ls -l /dev/input/by-path
    and also attach a copy of /var/log/Xorg.0.log? I am thinking that we can check to see if we get any response from one of the N-Trig Touchscreen events, we should be able to configure it to work.

  8. #1238
    Join Date
    Nov 2005
    Beans
    21
    Distro
    Ubuntu Breezy 5.10

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

    Quote Originally Posted by Ayuthia View Post
    Can you post the results of:
    Code:
    ls -l /dev/input/by-path
    and also attach a copy of /var/log/Xorg.0.log? I am thinking that we can check to see if we get any response from one of the N-Trig Touchscreen events, we should be able to configure it to work.
    Thanks, Ayuthia. I've attached the log (sorry that the forum made me gzip it), and am including the listing here. I'm especially curious about why most of my devices show up twice in xinput --list:

    $ ls -l /dev/input/by-path/
    total 0
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 pci-0000:00:13.0-usb-0:1:1.0-event-kbd -> ../event6
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 pci-0000:00:13.0-usb-0:1:1.1-event-mouse -> ../event7
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 pci-0000:00:13.0-usb-0:1:1.1-mouse -> ../mouse0
    lrwxrwxrwx 1 root root 10 2010-10-16 07:35 pci-0000:00:13.2-usb-0:2:1.0-event -> ../event11
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 pci-0000:00:14.5-usb-0:2:1.0-event-mouse -> ../event9
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 pci-0000:00:14.5-usb-0:2:1.0-mouse -> ../mouse2
    lrwxrwxrwx 1 root root 10 2010-10-16 07:35 pci-0000:00:14.5-usb-0:2:1.1-event-mouse -> ../event13
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 pci-0000:00:14.5-usb-0:2:1.1-mouse -> ../mouse5
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 platform-i8042-serio-0-event-kbd -> ../event4
    lrwxrwxrwx 1 root root 10 2010-10-16 07:35 platform-i8042-serio-1-event-mouse -> ../event12
    lrwxrwxrwx 1 root root 9 2010-10-16 07:35 platform-i8042-serio-1-mouse -> ../mouse3
    $
    Attached Files Attached Files

  9. #1239
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

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

    The Vista firmware reports that there are two different input sections for the device when the kernel module reads it. However, only one reports from the first input. If I remember correctly, the double entry only exists in the first two firmware releases that they made (the Vista firmware and 2.59 (which reports touch from the second input)). After that, they were able to get things to have only one input section. I am not for sure what the purpose was for those two inputs though. Since the kernel module is able to see both input sections from the firmware report, it created the pen and touch from those two entries.

    From what I can tell, you should be getting information from event8 (pen) and event9 (touch). However, you mention that you are getting response from the pen but not touch. The part that makes me wonder is the entry about grail. That is used to recognize multitouch. By any chance, have you installed utouch? I am thinking that it might be the cause of the problem.

    If it is not installed, do you get any response from:
    Code:
    sudo xxd -g1 /dev/input/event9
    To exit out of the application, press control-c. I am finding that with utouch installed that I cannot get any information out of the event.

    EDIT:
    I am thinking that with evdev-grail not being to open, we might need to test your touch with the Wacom driver instead. But I would like to see if you do get a response from the event via xxd.
    Last edited by Ayuthia; October 16th, 2010 at 01:44 PM.

  10. #1240
    Join Date
    Nov 2005
    Beans
    21
    Distro
    Ubuntu Breezy 5.10

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

    Quote Originally Posted by Ayuthia View Post
    From what I can tell, you should be getting information from event8 (pen) and event9 (touch). However, you mention that you are getting response from the pen but not touch. The part that makes me wonder is the entry about grail. That is used to recognize multitouch. By any chance, have you installed utouch? I am thinking that it might be the cause of the problem.
    You're right, I did have utouch installed. I uninstalled it, but I cannot uninstall libutouch-grail1 since xserver-xorg-input-evdev depends on it. I'm still seeing the grail error line in /var/logs/Xorg.0.log.

    If it is not installed, do you get any response from:
    Code:
    sudo xxd -g1 /dev/input/event9
    To exit out of the application, press control-c. I am finding that with utouch installed that I cannot get any information out of the event.
    I get no response from that command.

    EDIT:
    I am thinking that with evdev-grail not being to open, we might need to test your touch with the Wacom driver instead. But I would like to see if you do get a response from the event via xxd.
    I'm hoping eventually to find a path to multitouch on my tx2 (though I have no idea how I'm going to get the Windows 7 N-Trig firmware onto it). Would that work with Wacom as well? Of course, even single-touch would be an improvement right now.

    Thanks again for all the help so far.

Page 124 of 169 FirstFirst ... 2474114122123124125126134 ... 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
  •