<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 - switching to libinput crashes gnome-shell for touchpad input on laptop"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99245">99245</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>switching to libinput crashes gnome-shell for touchpad input on laptop
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>1.5.0
          </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>major
          </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>mehmet.giritli@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm on a gentoo distro and I have: 

dev-libs/libinput
      Latest version available: 1.5.2
      Latest version installed: 1.5.2

x11-drivers/xf86-input-libinput
      Latest version available: 0.22.0
      Latest version installed: 0.22.0


I can not get gnome or even gdm started since I get a segfault for
gnome-session. I traced the issue down to libinput switch from synaptics.
Switching back to synaptics+evdev resolves the issue. This is what I see in
journal:

Dec 10 17:33:55 frodo gnome-session-binary[472]: WARNING: App
'org.gnome.Shell.desktop' exited with code 1
Dec 10 17:33:55 frodo org.gnome.Shell.desktop[495]: Current serial number in
output stream:  259
Dec 10 17:33:55 frodo org.gnome.Shell.desktop[495]: Serial number of failed
request:  258
Dec 10 17:33:55 frodo org.gnome.Shell.desktop[495]: Value in failed request: 
0x12c
Dec 10 17:33:55 frodo org.gnome.Shell.desktop[495]: Minor opcode of failed
request:  57 ()
Dec 10 17:33:55 frodo org.gnome.Shell.desktop[495]: Major opcode of failed
request:  131 (XInputExtension)
Dec 10 17:33:55 frodo org.gnome.Shell.desktop[495]: X Error of failed request: 
BadValue (integer parameter out of range for operation)



In the Xorg logs I see: (I suspect that "no resolution or size hints, assuming
a size of 69x50mm" could be a hint, but I dont really know)

    38.393] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint
(/dev/input/event9)
[    38.393] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput
touchpad catchall"
[    38.393] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 22
paused 0
[    38.393] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS GlidePoint'
[    38.394] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[    38.394] (**) Option "Device" "/dev/input/event9"
[    38.394] (**) Option "_source" "server/udev"
[    38.394] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event9 is
tagged by udev as: Touchpad
[    38.395] (II) AlpsPS/2 ALPS GlidePoint: no resolution or size hints,
assuming a size of 69x50mm
[    38.395] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event9 is
a touchpad
[    38.395] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio1/input/input8/event9"
[    38.395] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS
GlidePoint" (type: TOUCHPAD, id 10)
[    38.396] (**) Option "AccelerationScheme" "none"
[    38.396] (**) AlpsPS/2 ALPS GlidePoint: (accel) selected scheme none/0
[    38.396] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
[    38.396] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[    38.397] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event9 is
tagged by udev as: Touchpad
[    38.397] (II) AlpsPS/2 ALPS GlidePoint: no resolution or size hints,
assuming a size of 69x50mm
[    38.397] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event9 is
a touchpad
[    38.397] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint
(/dev/input/mouse0)
[    38.398] (II) No input driver specified, ignoring this device.
[    38.398] (II) This device may have been added with another device file.


libinput-list-devices gives:

Device:           AlpsPS/2 ALPS GlidePoint
Kernel:           /dev/input/event9
Group:            5
Seat:             seat0, default
Size:             73.07x51.13mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: enabled
Calibration:      n/a
Scroll methods:   *edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a</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>