GfxTablet and Archlinux



  • Hi guys, I need your help. I want to try GfxTablet (http://rfc2822.github.com/GfxTablet/) on my archlinux pc with gimp.
    I compiled and ran this software (as explained on installation guide), but the input device (NetworkTablet) doesn't appear either in xinput list or in gimp input device.
    The software starts and receives datas from the android app, but probably it could create the input device on arch. So I tryed to run it with sudo and to use this guide (https://wiki.archlinux.org/index.php/Wiimote#Unable_to_open_uinput) but nothing. Any solutions?


  • developer

    Is there a /dev/uinput driver and do you have the privileges to access it? Running the driver as root should always work. And there should be an error message if /dev/uinput can't be accessed so I think the problem must be some other thing.

    The interface between uinput and Xorg is the xorg-evdev driver. So maybe it's not running? Then the uinput driver would be active but the kernel devices wouldn't be visible for the X server. Can you verify that xorg-evdev is installed or install it?



  • Yes, in fact, gfxtablet can access to /dev/uinput.

    About xorg-evdev driver, it is installed and it's automatically loaded by systemd (also because it is required to use mouse and touchpad).


  • developer

    1. When the uinput driver starts, it should create a device in /dev/input/. You can check that by looking into that directory before and after starting uinput-networktablet.

    2. To check whether the device is being connected to Xorg, you may have a look into Xorg.0.log. In my case, when I start uinput-networktablet, these lines are printed to my Xorg.0.log:

    [ 11338.830] (II) No input driver specified, ignoring this device.
    [ 11338.830] (II) This device may have been added with another device file.
    [ 11338.830] (II) config/udev: Adding input device Network Tablet (/dev/input/event17)
    [ 11338.830] (**) Network Tablet: Applying InputClass "evdev touchscreen catchall"
    [ 11338.830] (II) Using input driver 'evdev' for 'Network Tablet'
    [ 11338.830] (**) Network Tablet: always reports core events
    [ 11338.830] (**) evdev: Network Tablet: Device: "/dev/input/event17"
    [ 11338.831] (--) evdev: Network Tablet: Vendor 0x1 Product 0x1
    [ 11338.831] (--) evdev: Network Tablet: Found absolute axes
    [ 11338.831] (--) evdev: Network Tablet: Found x and y absolute axes
    [ 11338.831] (--) evdev: Network Tablet: Found absolute touchscreen
    [ 11338.831] (II) evdev: Network Tablet: Configuring as touchscreen
    [ 11338.831] (**) evdev: Network Tablet: YAxisMapping: buttons 4 and 5
    [ 11338.831] (**) evdev: Network Tablet: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 11338.831] (**) Option "config_info" "udev:/sys/devices/virtual/input/input17/event17"
    [ 11338.831] (II) XINPUT: Adding extended input device "Network Tablet" (type: TOUCHSCREEN, id 11)
    [ 11338.831] (II) evdev: Network Tablet: initialized for absolute axes.
    [ 11338.833] (**) Network Tablet: (accel) keeping acceleration scheme 1
    [ 11338.833] (**) Network Tablet: (accel) acceleration profile 0
    [ 11338.833] (**) Network Tablet: (accel) acceleration factor: 2.000
    [ 11338.833] (**) Network Tablet: (accel) acceleration threshold: 4
    [ 11340.557] (II) config/udev: removing device Network Tablet
    [ 11340.567] (II) evdev: Network Tablet: Close
    [ 11340.567] (II) UnloadModule: "evdev"
    


  • I have just solved uncommenting touchscreen input device lines in /etc/X11/xorg.conf.d/10-evdev.conf
    10-evdev.conf before:

    # 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
    
    
    

    now:

    # 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
    

    I suggest you to add this troubleshooting to the project site.
    Anyway, thanks you for your support!


  • developer

    I tried with another ArchLinux installation but the 10-evdev.conf was correct there. Added it to docs anyway, thx.


 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.