<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Default resolution fallback for libinput missing / devices changing resolution"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105342">105342</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Default resolution fallback for libinput missing / devices changing resolution
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sur3@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi I tried to use gfxtablet (<a href="https://github.com/rfc2822/GfxTablet">https://github.com/rfc2822/GfxTablet</a>) 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
<a href="https://wayland.freedesktop.org/libinput/doc/1.9.4//absolute_coordinate_ranges.html">https://wayland.freedesktop.org/libinput/doc/1.9.4//absolute_coordinate_ranges.html</a>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>