Page 159 of 169 FirstFirst ... 59109149157158159160161 ... LastLast
Results 1,581 to 1,590 of 1689

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

  1. #1581
    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 everyone,

    If you are using Magick Rotation with a Dell could you please post the output of the following in a terminal?
    Code:
    udevadm info -a -p $(udevadm info -q path -n /dev/input/dell-wmi)
    And also the output of:
    Code:
    sudo lsinput
    This would be very helpful for some contemplated changes to Magick.

    Thank you.
    Last edited by Favux; October 4th, 2011 at 08:36 PM.

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

    Magick Rotation 1.5 has been released: https://launchpad.net/magick-rotation

  3. #1583
    Join Date
    Nov 2010
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    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 everyone,

    If you are using Magick Rotation with a Dell could you please post the output of the following in a terminal?
    Code:
    udevadm info -a -p $(udevadm info -q path -n /dev/input/dell-wmi)
    And also the output of:
    Code:
    sudo lsinput
    This would be very helpful for some contemplated changes to Magick.

    Thank you.
    Hello Favux,

    it's a pleasure for me to help you. Here we go:

    1)
    Code:
    udevadm info -a -p $(udevadm info -q path -n /dev/input/dell-wmi)
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/virtual/input/input5/event5':
        KERNEL=="event5"
        SUBSYSTEM=="input"
        DRIVER==""
    
      looking at parent device '/devices/virtual/input/input5':
        KERNELS=="input5"
        SUBSYSTEMS=="input"
        DRIVERS==""
        ATTRS{name}=="Dell WMI hotkeys"
        ATTRS{phys}=="wmi/input0"
        ATTRS{uniq}==""
        ATTRS{properties}=="0"
    2)
    Code:
    lsinput 
    /dev/input/event0
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x5
       version : 0
       name    : "Lid Switch"
       phys    : "PNP0C0D/button/input0"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event1
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x1
       version : 0
       name    : "Power Button"
       phys    : "PNP0C0C/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event2
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x3
       version : 0
       name    : "Sleep Button"
       phys    : "PNP0C0E/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event3
       bustype : BUS_I8042
       vendor  : 0x1
       product : 0x1
       version : 43841
       name    : "AT Translated Set 2 keyboard"
       phys    : "isa0060/serio0/input0"
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
    
    /dev/input/event4
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x6
       version : 0
       name    : "Video Bus"
       phys    : "LNXVIDEO/video/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event5
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "Dell WMI hotkeys"
       phys    : "wmi/input0"
       bits ev : EV_SYN EV_KEY EV_SW
    
    /dev/input/event6
       bustype : (null)
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "HDA ATI SB Mic at Ext Left Jack"
       phys    : "ALSA"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event7
       bustype : (null)
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "HDA ATI SB HP Out at Ext Left Ja"
       phys    : "ALSA"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event8
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig Pen"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
    
    /dev/input/event9
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig MultiTouch"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS
    
    /dev/input/event10
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig Touchscreen"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
    
    /dev/input/event11
       bustype : BUS_I8042
       vendor  : 0x2
       product : 0x1
       version : 0
       name    : "PS/2 Generic Mouse"
       phys    : "isa0060/serio1/input0"
       bits ev : EV_SYN EV_KEY EV_REL
    Hope this is useful for you!

  4. #1584
    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

    Thank you wildschweini! The Dell was the last one I needed.

    We took the chance and brought out Magick 1.5 without the Dell output. You've confirmed that the udev changes should work on the Dell also. Thanks again.

  5. #1585
    Join Date
    Nov 2010
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    Quote Originally Posted by Favux View Post
    Thank you wildschweini! The Dell was the last one I needed.

    We took the chance and brought out Magick 1.5 without the Dell output. You've confirmed that the udev changes should work on the Dell also. Thanks again.

    I tested the 1.5 already on my DELL XT and it works, even without a special wmi for the Dell... Thank you for your developments!

  6. #1586
    Join Date
    May 2007
    Beans
    6

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

    Hello,
    It does not work for me on a Dell XT.
    -> without the provided dell-wmi module: no auto-rotation
    -> screen rotates, but the tablet/pen and touchscreen do not
    -> when rotated back, the touchscreen is decalibrated (the tablet/pen is ok)

    Also, the output of the 2 commands is different:
    Code:
    udevadm info -a -p $(udevadm info -q path -n /dev/input/dell-wmi)
    
    device node not found
    info: option requires an argument -- 'p'
    Code:
    sudo lsinput
    
    /dev/input/event0
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x5
       version : 0
       name    : "Lid Switch"
       phys    : "PNP0C0D/button/input0"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event1
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x1
       version : 0
       name    : "Power Button"
       phys    : "PNP0C0C/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event2
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x3
       version : 0
       name    : "Sleep Button"
       phys    : "PNP0C0E/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event3
       bustype : BUS_I8042
       vendor  : 0x1
       product : 0x1
       version : 43841
       name    : "AT Translated Set 2 keyboard"
       phys    : "isa0060/serio0/input0"
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
    
    /dev/input/event4
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x6
       version : 0
       name    : "Video Bus"
       phys    : "LNXVIDEO/video/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event5
       bustype : (null)
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "HDA ATI SB Mic at Ext Left Jack"
       phys    : "ALSA"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event6
       bustype : (null)
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "HDA ATI SB HP Out at Ext Left Ja"
       phys    : "ALSA"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event7
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig Pen"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
    
    /dev/input/event8
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig MultiTouch"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS
    
    /dev/input/event9
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig Touchscreen"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
    
    /dev/input/event10
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "Dell WMI hotkeys"
       phys    : "wmi/input0"
       bits ev : EV_SYN EV_KEY EV_SW
    
    /dev/input/event11
       bustype : BUS_I8042
       vendor  : 0x2
       product : 0x1
       version : 0
       name    : "PS/2 Generic Mouse"
       phys    : "isa0060/serio1/input0"
       bits ev : EV_SYN EV_KEY EV_REL
    Thanks for all your work!

  7. #1587
    Join Date
    Apr 2009
    Location
    Nashville
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    I have hacked dell-wmi.c for the Dell XT2 with a newer BIOS. My specific BIOS is A11. I used rafi's hack as a starting point, but I wasn't receiving the right codes for magick-rotation to work. I was seeing this in the syslog:
    Code:
    Nov 6 18:44:24 laplace kernel: [ 8521.786646] dell wmi got code d0
    Nov 6 18:44:24 laplace kernel: [ 8521.786655] dell-wmi: Unknown key ffd2 pressed
    Nov 6 18:44:25 laplace kernel: [ 8523.579676] dell wmi got code d0
    Nov 6 18:44:25 laplace kernel: [ 8523.579685] dell-wmi: Unknown key ffd3 pressed
    So, I dove into dell-wmi.c, changed a few of the values in the keymap, and now it is working. I am only an amateur hacker, but at least now magick-rotation is working for me. If brettprim or rafi are around, I'd love some testing and input on the hack. Also what is the best way to make the patch and the standard way to attach it? What is standard extension ? compress it?

    Thanks all for your hard work, special thanks to favux for the conversation and suggestions. Look forward to contributing.
    Attached Files Attached Files
    Last edited by Michael Knap; November 9th, 2011 at 05:26 AM.

  8. #1588
    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 drem,

    You do need the custum dell-wmi.ko in MagickExtras in order for Magick to work. Install that and then let me know how it works.

    If you are using magick-rotation 1.5 all devices are now on the magick-rotation symlink so the command becomes:
    Code:
    udevadm info -a -p $(udevadm info -q path -n /dev/input/magick-rotation)

  9. #1589
    Join Date
    May 2007
    Beans
    6

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

    Thanks for the reply.
    I have the dell-wmi.ko from the extras. Now it behaves like this:
    - screen rotation works (automatically), but the tochpad and pen don't rotate
    - when rotated back, the touchpad doesn't lose calibration anymore
    - I get the phantom clicks: the cursor constatnly and annoyingly jumps somewhere in the left part of the screen (I did not have this behaviour right after installing kubuntu 11.10; I don't have it in windows7; bios version: A09)

    The output of udevadm and lsinput:

    Code:
    $ udevadm info -a -p $(udevadm info -q path -n /dev/input/magick-rotation)
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/virtual/input/input8/event8':
        KERNEL=="event8"
        SUBSYSTEM=="input"
        DRIVER==""
    
      looking at parent device '/devices/virtual/input/input8':
        KERNELS=="input8"
        SUBSYSTEMS=="input"
        DRIVERS==""
        ATTRS{name}=="Dell WMI hotkeys"
        ATTRS{phys}=="wmi/input0"
        ATTRS{uniq}==""
        ATTRS{properties}=="0"
    Code:
    sudo lsinput
    
    /dev/input/event0
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x5
       version : 0
       name    : "Lid Switch"
       phys    : "PNP0C0D/button/input0"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event1
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x1
       version : 0
       name    : "Power Button"
       phys    : "PNP0C0C/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event2
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x3
       version : 0
       name    : "Sleep Button"
       phys    : "PNP0C0E/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event3
       bustype : BUS_I8042
       vendor  : 0x1
       product : 0x1
       version : 43841
       name    : "AT Translated Set 2 keyboard"
       phys    : "isa0060/serio0/input0"
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
    
    /dev/input/event4
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x6
       version : 0
       name    : "Video Bus"
       phys    : "LNXVIDEO/video/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event5
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig Pen"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
    
    /dev/input/event6
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig MultiTouch"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS
    
    /dev/input/event7
       bustype : BUS_USB
       vendor  : 0x1b96
       product : 0x1
       version : 272
       name    : "N-Trig Touchscreen"
       phys    : "usb-0000:00:13.1-2/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
    
    /dev/input/event8
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "Dell WMI hotkeys"
       phys    : "wmi/input0"
       bits ev : EV_SYN EV_KEY EV_SW
    
    /dev/input/event9
       bustype : BUS_I8042
       vendor  : 0x2
       product : 0x1
       version : 0
       name    : "PS/2 Generic Mouse"
       phys    : "isa0060/serio1/input0"
       bits ev : EV_SYN EV_KEY EV_REL
    
    /dev/input/event10
       bustype : (null)
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "HDA ATI SB Mic at Ext Left Jack"
       phys    : "ALSA"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event11
       bustype : (null)
       vendor  : 0x0
       product : 0x0
       version : 0
       name    : "HDA ATI SB HP Out at Ext Left Ja"
       phys    : "ALSA"
       bits ev : EV_SYN EV_SW

  10. #1590
    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

    With the A09 BIOS and the modified dell-wmi.ko from Magick Extras rotation of the input tools should be working for you. So there's something else going on.

    What is the output of this command:
    Code:
    xinput list
    in a terminal?

    Check 'Debugging tool logging on?' in Advanced Setup and Save. Then rotate to tablet and back and post the log file.
    I get the phantom clicks: the cursor constantly and annoyingly jumps somewhere in the left part of the screen
    It sounds like you might need to calibrate the N-trig digitizer. That's calibrate as in eliminate noise not find coordinates. Last entry in Miscellaneous Notes near the top of the HOW TO.

Page 159 of 169 FirstFirst ... 59109149157158159160161 ... 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
  •