Page 52 of 169 FirstFirst ... 242505152535462102152 ... LastLast
Results 511 to 520 of 1689

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

  1. #511
    Join Date
    Nov 2009
    Beans
    46

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

    by the way, I lost sound ....

  2. #512
    Join Date
    Nov 2009
    Beans
    46

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

    okay, I replaced event8 by event7, as a result that I get my cursor to go on the left-top corner of the screen (next to the Ubuntu symbol), it's the point (0,0) I think

    Code:
    fa225909@fa225909:~$ ls -l /dev/input/event*
    crw-r----- 1 root root 13, 64 2010-02-11 01:05 /dev/input/event0
    crw-r----- 1 root root 13, 65 2010-02-11 01:05 /dev/input/event1
    crw-r----- 1 root root 13, 74 2010-02-11 00:06 /dev/input/event10
    crw-r----- 1 root root 13, 75 2010-02-11 00:06 /dev/input/event11
    crw-r----- 1 root root 13, 66 2010-02-11 01:05 /dev/input/event2
    crw-r----- 1 root root 13, 67 2010-02-11 01:05 /dev/input/event3
    crw-r----- 1 root root 13, 68 2010-02-11 01:05 /dev/input/event4
    crw-r----- 1 root root 13, 69 2010-02-11 01:05 /dev/input/event5
    crw-r----- 1 root root 13, 70 2010-02-11 01:05 /dev/input/event6
    crw-r----- 1 root root 13, 71 2010-02-11 00:06 /dev/input/event7
    crw-r----- 1 root root 13, 72 2010-02-11 00:06 /dev/input/event8
    crw-r----- 1 root root 13, 73 2010-02-11 00:06 /dev/input/event9
    fa225909@fa225909:~$ ls -l /dev/input/by-path
    total 0
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:13.2-usb-0:2:1.0-event -> ../event9
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.0-event-mouse -> ../event7
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.0-mouse -> ../mouse1
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.1-event-mouse -> ../event8
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.1-mouse -> ../mouse2
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 platform-i8042-serio-0-event-kbd -> ../event5
    lrwxrwxrwx 1 root root 10 2010-02-11 00:06 platform-i8042-serio-1-event-mouse -> ../event10
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 platform-i8042-serio-1-mouse -> ../mouse3
    fa225909@fa225909:~$

  3. #513
    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 fa225909 View Post
    okay, I replaced event8 by event7, as a result that I get my cursor to go on the left-top corner of the screen (next to the Ubuntu symbol), it's the point (0,0) I think

    Code:
    fa225909@fa225909:~$ ls -l /dev/input/event*
    crw-r----- 1 root root 13, 64 2010-02-11 01:05 /dev/input/event0
    crw-r----- 1 root root 13, 65 2010-02-11 01:05 /dev/input/event1
    crw-r----- 1 root root 13, 74 2010-02-11 00:06 /dev/input/event10
    crw-r----- 1 root root 13, 75 2010-02-11 00:06 /dev/input/event11
    crw-r----- 1 root root 13, 66 2010-02-11 01:05 /dev/input/event2
    crw-r----- 1 root root 13, 67 2010-02-11 01:05 /dev/input/event3
    crw-r----- 1 root root 13, 68 2010-02-11 01:05 /dev/input/event4
    crw-r----- 1 root root 13, 69 2010-02-11 01:05 /dev/input/event5
    crw-r----- 1 root root 13, 70 2010-02-11 01:05 /dev/input/event6
    crw-r----- 1 root root 13, 71 2010-02-11 00:06 /dev/input/event7
    crw-r----- 1 root root 13, 72 2010-02-11 00:06 /dev/input/event8
    crw-r----- 1 root root 13, 73 2010-02-11 00:06 /dev/input/event9
    fa225909@fa225909:~$ ls -l /dev/input/by-path
    total 0
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:13.2-usb-0:2:1.0-event -> ../event9
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.0-event-mouse -> ../event7
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.0-mouse -> ../mouse1
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.1-event-mouse -> ../event8
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 pci-0000:00:14.5-usb-0:2:1.1-mouse -> ../mouse2
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 platform-i8042-serio-0-event-kbd -> ../event5
    lrwxrwxrwx 1 root root 10 2010-02-11 00:06 platform-i8042-serio-1-event-mouse -> ../event10
    lrwxrwxrwx 1 root root  9 2010-02-11 00:06 platform-i8042-serio-1-mouse -> ../mouse3
    fa225909@fa225909:~$
    Based on this info, it looks like /dev/input/event9. At what point did you lose sound?

  4. #514
    Join Date
    Dec 2007
    Beans
    47
    Distro
    Ubuntu Development Release

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

    I got rafiyr's drivers working with hal instead of xorg.conf. Here's all the info:

    Kernel: 2.6.31-19-generic
    Architecture86_64
    Distro: Kubuntu 9.10
    N-Trig firmware: Vista/factory default

    Steps:
    • remove/comment out file at /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi
    • leave your 10-linuxwacom.fdi in the same place alone if it's recent, otherwise remove it as well if it contains N-Trig lines
    • create 10-ntrig.fdi and fill it with the following:
      Code:
      <deviceinfo version="0.2">
        <!-- N-Trig Duosense Electromagnetic Digitizer -->
        <device>
          <match key="info.product" contains="N-Trig Pen">
             <merge key="input.x11_driver" type="string">wacom</merge>
             <merge key="input.x11_options.Type" type="string">stylus</merge>
             <merge key="input.x11_options.Button2" type="string">3</merge>
          </match>
          <match key="info.product" contains="N-Trig">
             <match key="info.capabilities" contains="input.touchpad">
              <merge key="input.x11_driver" type="string">wacom</merge>
              <merge key="input.x11_options.Type" type="string">touch</merge>
              <merge key="input.x11_options.Touch" type="string">on</merge>
             </match>
          </match>
        </device>
      </deviceinfo>
    • Revert your xorg.conf to the one that fglrx generates automatically, or if you have other config info in there just delete all devices & entries in ServerLayout related to your touchscreen.
    • Reboot/restart hal service & Xorg, it should work (at least it did for me).


    -----
    Notes for Ayuthia/Rafyir/anyone interested:


    I used info.capabilities in 10-ntrig.fdi instead of explicitly matching Touchscreen, which for some reason seemed to work better (and *hopefully* it will work with the MultiTouch device as well, which my firmware doesn't show).

    I *tried* to get the synaptics fdi to exclude n-trig devices using a not_contains match to no avail, I may have written it wrong, so I just axed the file instead. I may need it back at some point, but atm I don't care.

    Some strange things that still don't add up for me:

    Code:
    $xsetwacom list dev
    CNF8038     stylus
    There's that strange CNF8038 device again, and "touch" isn't listed as it was when using xorg.conf.

    Regarding the event numbers shifting around when I removed / added USB devices, I did find a way to get udev to reliably map them to a symlink instead of relying on eventXX. The trouble is xorg.conf didn't want to play with them. I confirmed that they were getting mapped properly using udevadm info but the second device linked was always ignored. Here's the rule I made if anyone wants to play around with the idea:

    Code:
    # Link N-trig USB tablet to unique inputs for rafiyr's split devs
    SUBSYSTEMS=="input", ATTRS{name}=="N-Trig Touchscreen", ATTRS{phys}=="*input0", SYMLINK="input/n-trig-touchscreen"
    SUBSYSTEMS=="input", ATTRS{name}=="N-Trig Pen", ATTRS{phys}=="*input0", SYMLINK="input/n-trig-pen"
    Last but not least, xsetwacom still won't set stylus rotation correctly.

    Edit: Oh thanks for that lshal script btw, helped a lot in figuring out what was going on while I was experimenting.
    Last edited by Nphyx; February 11th, 2010 at 12:27 AM.

  5. #515
    Join Date
    Nov 2009
    Beans
    46

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

    I don't know, I haven't listened anything today, I just noticed that I didn't hear the "tam-tam" at ubuntu starting

    It isn't that bad, I prefer getting the touch working without sound than no touch with sound ...

  6. #516
    Join Date
    Nov 2009
    Beans
    46

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

    I modified my xorg.conf and now the stylus doesn't work anymore !! (no touch also)

  7. #517
    Join Date
    Nov 2009
    Beans
    46

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

    I tried to modify the xorg.conf (event9 to event7) but it doesn't work ....

    Do you have an idea ?

  8. #518
    Join Date
    Nov 2009
    Beans
    46

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

    anyone ?

  9. #519
    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 fa225909 View Post
    I tried to modify the xorg.conf (event9 to event7) but it doesn't work ....

    Do you have an idea ?
    Try using the attached xorg.conf file. Make a backup of your original file first:
    Code:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.ubuntu_backup
    Then copy the attached xorg.conf file:
    Code:
    sudo cp xorg.conf /etc/X11/
    This one is going to use the wacom module. Have you compiled an installed the patched wacom driver yet? I just realized that the ntrig driver that you are trying to use has not been tested with the new kernel changes that Rafi Rubin provided so that would explain why the cursor jumped to (0,0) when you changed it over to event7.

    If you have not compiled a patched wacom driver yet, you can use the following:
    Code:
    cd
    wget http://kernel.ubuntu.com/git-repos/ubuntu/linux-2.6/drivers/hid/hid-ids.h
    sudo cp hid-ids.h /lib/modules/$(uname -r)/build/drivers/hid/
    wget http://linuxfans.keryxproject.org/packages/experimental/wacom/ntrig/linuxwacom-0.8.5-9-ntrig.tar.bz2
    tar -xvjf linuxwacom-0.8.5-9-ntrig.tar.bz2
    cd linuxwacom-0.8.5-9
    make clean
    ./configure --enable-wacom --prefix=/usr
    make
    sudo make install
    Please try this along with the attached xorg.conf file and restart. In theory, it should work.

    EDIT: Instead of the attached xorg.conf, please download it here.
    Last edited by Ayuthia; February 11th, 2010 at 01:39 AM.

  10. #520
    Join Date
    Nov 2009
    Beans
    46

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

    Hmm .... You'll probably think I'm stupid but .... where is the attached xorg.conf ??

    EDIT: Do you mean the one attached in the first post ?
    Last edited by fa225909; February 11th, 2010 at 01:38 AM.

Page 52 of 169 FirstFirst ... 242505152535462102152 ... 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
  •