[Wayland-bugs] [Bug 105342] Default resolution fallback for libinput missing / devices changing resolution

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 5 09:27:37 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105342

            Bug ID: 105342
           Summary: Default resolution fallback for libinput missing /
                    devices changing resolution
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: sur3 at gmx.de

Hi I tried to use gfxtablet (https://github.com/rfc2822/GfxTablet) to use my
android tablet as an input device, but libinput-1.9.4 says:

[ 39879.453] (II) config/udev: Adding input device Network Tablet
(/dev/input/mouse3)
[ 39879.453] (**) Network Tablet: Applying InputClass "joystick-all"
[ 39879.453] (II) No input driver specified, ignoring this device.
[ 39879.453] (II) This device may have been added with another device file.
[ 39879.490] (II) config/udev: Adding input device Network Tablet
(/dev/input/event17)
[ 39879.490] (**) Network Tablet: Applying InputClass "evdev tablet catchall"
[ 39879.490] (**) Network Tablet: Applying InputClass "libinput tablet
catchall"
[ 39879.490] (**) Network Tablet: Applying InputClass "joystick-all"
[ 39879.490] (**) Network Tablet: Applying InputClass "libinput tablet
catchall"
[ 39879.490] (II) Using input driver 'libinput' for 'Network Tablet'
[ 39879.490] (**) Network Tablet: always reports core events
[ 39879.490] (**) Option "Device" "/dev/input/event17"
[ 39879.490] (**) Option "_source" "server/udev"
[ 39879.490] (II) event17 - (II) Network Tablet: (II) is tagged by udev as:
Tablet
[ 39879.490] (EE) event17 - (EE) Network Tablet: (EE) libinput bug: missing
tablet capabilities: resolution.Ignoring this device.
[ 39879.490] (II) event17 - (II) Network Tablet: (II) device is a tablet
[ 39879.529] (II) event17 - failed to create input device '/dev/input/event17'.
[ 39879.529] (EE) libinput: Network Tablet: Failed to create a device for
/dev/input/event17
[ 39879.529] (EE) PreInit returned 2 for "Network Tablet"
[ 39879.529] (II) UnloadModule: "libinput"
[ 41531.488] (II) Axis 0x1 value 1236 is outside expected range [1237, 4990]
See
https://wayland.freedesktop.org/libinput/doc/1.9.4//absolute_coordinate_ranges.html
for details

So libinput ignores the device because of missing resolution, but actually it
should instead fall back to a default resolution.
Also this absolute coordinates out outside range confuses me, can't libinput
handle devices with a bigger range?

touchpad-edge-detector gave me this results for my motorola zoom, but other
android devices have of course other screen dimensions..
evdev:name:Network
Tablet:dmi:bvnLENOVO:bvr83ET76WW(1.46):bd07/05/2013:svnLENOVO:pn4180CE9:pvrThinkPadT420:rvnLENOVO:rn4180CE9:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:*
 EVDEV_ABS_00=12:65534:596
 EVDEV_ABS_01=0:65533:312

I think libinput should add devices anyway with a default resolution and
provide a user interface to change resolutions on the fly, e.g. to change
between different android devices.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180305/daf936ed/attachment.html>


More information about the wayland-bugs mailing list