Results 1 to 9 of 9

Thread: N-trig touchscreen setup

  1. #1

    Default N-trig touchscreen setup

    Hello.

    Please advise how to setup N-trig support on SuSE 11.4.
    It works out of the box on 11.3, but now stylus doesn't work...

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: N-trig touchscreen setup

    Hi
    Is the hid-ntrig module loaded? Do you see the device appear in the output of the dmesg command?

    So details on your system would help as well and what desktop environment are you running?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: N-trig touchscreen setup

    Here is a problem. hid-ntrig is not a module anymore, it is compiled in kernel-desktop.
    ntrig catched by usbhid module by default, I can unbind/bind it from usbhid.

    cd /sys/bus/usb/drivers/usbhid
    echo 7-2:1.0 > unbind
    echo 7-2:1.1 > unbind
    But can't bind to ntrig driver
    cd /sys/bus/hid/drivers/ntrig
    echo 7-2:1.0 > bind
    # bash: echo: write error: No such device
    echo 7-2:1.1 > bind
    # bash: echo: write error: No such device
    After binding to usbhid only finger works, stylus doesn't.
    cd /sys/bus/usb/drivers/usbhid
    echo 7-2:1.0 > bind
    echo 7-2:1.1 > bind
    Here is my uname and dmesg after binding.
    Linux clarity 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

    [ 1504.728054] ntrig 0003:1B96:0001.0007: hidraw0: USB HID v1.10 Device [N-trig DuoSense] on usb-0000:00:14.5-2/input0
    [ 1504.729722] ntrig 0003:1B96:0001.0007: Firmware version: 4.6.5.8.5 (1808 05a1)
    [ 1504.738423] input: N-trig DuoSense as /devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/input/input25
    [ 1504.738643] input: N-trig DuoSense as /devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/input/input26
    [ 1504.738780] input: N-trig DuoSense as /devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/input/input27
    [ 1504.739101] ntrig 0003:1B96:0001.0008: input,hidraw1: USB HID v1.10 Device [N-trig DuoSense] on usb-0000:00:14.5-2/input1
    [ 1504.741079] ntrig 0003:1B96:0001.0008: Firmware version: 4.6.5.8.5 (1808 05a1)

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: N-trig touchscreen setup

    On Sat, 2011-04-09 at 12:06 +0000, sergey1369 wrote:
    > Here is a problem. hid-ntrig is not a module anymore, it is compiled in
    > kernel-desktop.
    > ntrig catched by usbhid module by default, I can unbind/bind it from
    > usbhid.

    Hi
    Are there any entries for your ntrig device
    in /etc/X11/xorg.con.d/10-wacom.conf

    Else try adding the following at the end of the file;
    Code:
    Section "InputClass"
    Identifier "Wacom N-Trig class"
    MatchProduct "HID 1b96:0001|N-Trig Pen"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    Option "Button2" "3"
    EndSection
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
    up 2 days 20:53, 2 users, load average: 2.35, 1.44, 1.26
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26


  5. #5

    Default Re: N-trig touchscreen setup

    Yes, I have it.

    Here is my xorg.0.log.

    [ 26.838] (II) config/udev: Adding input device N-Trig Pen (/dev/input/event2)
    [ 26.838] (**) N-Trig Pen: Applying InputClass "evdev tablet catchall"
    [ 26.838] (**) N-Trig Pen: Applying InputClass "Wacom N-Trig class"
    [ 26.838] (**) Option "Device" "/dev/input/event2"
    [ 26.841] (II) N-Trig Pen: type not specified, assuming 'stylus'.
    [ 26.841] (II) N-Trig Pen: other types will be automatically added.
    [ 26.841] (**) N-Trig Pen stylus: always reports core events
    [ 26.841] (**) Option "Button2" "3"
    [ 26.841] (--) N-Trig Pen stylus: using pressure threshold of 27 for button 1
    [ 26.841] (--) N-Trig Pen stylus: Wacom Unknown USB tablet maxX=9600 maxY=7200 maxZ=256 resX=1016 resY=1016 tilt=enabled
    [ 26.841] (II) N-Trig Pen stylus: hotplugging dependent devices.
    [ 26.841] (**) N-Trig Pen eraser: Applying InputClass "evdev tablet catchall"
    [ 26.841] (**) N-Trig Pen eraser: Applying InputClass "Wacom N-Trig class"
    [ 26.841] (**) Option "Device" "/dev/input/event2"
    [ 26.844] (**) N-Trig Pen eraser: always reports core events
    [ 26.844] (**) Option "Button2" "3"
    [ 26.844] (--) N-Trig Pen eraser: Wacom Unknown USB tablet maxX=9600 maxY=7200 maxZ=256 resX=1016 resY=1016 tilt=enabled
    [ 26.847] (II) XINPUT: Adding extended input device "N-Trig Pen eraser" (type: ERASER)
    [ 26.847] (--) N-Trig Pen eraser: top X=0 top Y=0 bottom X=9600 bottom Y=7200 resol X=1016 resol Y=1016
    [ 26.858] (II) N-Trig Pen stylus: hotplugging completed.
    [ 26.861] (II) XINPUT: Adding extended input device "N-Trig Pen stylus" (type: STYLUS)
    [ 26.861] (--) N-Trig Pen stylus: top X=0 top Y=0 bottom X=9600 bottom Y=7200 resol X=1016 resol Y=1016
    [ 26.862] (II) config/udev: Adding input device N-Trig Pen (/dev/input/mouse1)
    [ 26.862] (II) No input driver/identifier specified (ignoring)
    [ 26.863] (II) config/udev: Adding input device N-Trig MultiTouch (/dev/input/event3)
    [ 26.863] (**) N-Trig MultiTouch: Applying InputClass "evdev touchscreen catchall"
    [ 26.864] (**) N-Trig MultiTouch: always reports core events
    [ 26.864] (**) N-Trig MultiTouch: Device: "/dev/input/event3"
    [ 26.868] (--) N-Trig MultiTouch: Found absolute axes
    [ 26.868] (--) N-Trig MultiTouch: Found x and y absolute axes
    [ 26.868] (--) N-Trig MultiTouch: Found absolute touchscreen
    [ 26.868] (II) N-Trig MultiTouch: Configuring as touchscreen
    [ 26.868] (**) N-Trig MultiTouch: YAxisMapping: buttons 4 and 5
    [ 26.868] (**) N-Trig MultiTouch: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 26.868] (II) XINPUT: Adding extended input device "N-Trig MultiTouch" (type: TOUCHSCREEN)
    [ 26.868] (II) N-Trig MultiTouch: initialized for absolute axes.
    [ 26.869] (II) config/udev: Adding input device N-Trig MultiTouch (/dev/input/mouse2)
    [ 26.869] (II) No input driver/identifier specified (ignoring)
    [ 26.870] (II) config/udev: Adding input device N-Trig Touchscreen (/dev/input/event4)
    [ 26.870] (**) N-Trig Touchscreen: Applying InputClass "evdev touchscreen catchall"
    [ 26.870] (**) N-Trig Touchscreen: always reports core events
    [ 26.870] (**) N-Trig Touchscreen: Device: "/dev/input/event4"
    [ 26.874] (--) N-Trig Touchscreen: Found absolute axes
    [ 26.874] (--) N-Trig Touchscreen: Found x and y absolute axes
    [ 26.874] (--) N-Trig Touchscreen: Found absolute touchscreen
    [ 26.874] (II) N-Trig Touchscreen: Configuring as touchscreen
    [ 26.874] (**) N-Trig Touchscreen: YAxisMapping: buttons 4 and 5
    [ 26.874] (**) N-Trig Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 26.874] (II) XINPUT: Adding extended input device "N-Trig Touchscreen" (type: TOUCHSCREEN)
    [ 26.874] (II) N-Trig Touchscreen: initialized for absolute axes.
    [ 26.875] (II) config/udev: Adding input device N-Trig Touchscreen (/dev/input/mouse3)

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: N-trig touchscreen setup

    Hi
    So was it an upgrade from 11.3, or a fresh install?

    I feel a bug report may be in order for this, since it worked in 11.3....
    openSUSE:Submitting bug reports - openSUSE
    You also need to follow this as well, since it's X related;
    openSUSE:Bugreport X - openSUSE
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: N-trig touchscreen setup

    It was upgrade.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: N-trig touchscreen setup

    Hi
    I would submit a bug, if you can post back the bug number, I will add myself to the CC list.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: N-trig touchscreen setup

    I doesn't find similar bugs and fill a new one. It's number 686498. Unsure is it x11 or kernel related, marked as kernel. You can take a look and submit.

Posting Permissions

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