From owner-freebsd-x11@freebsd.org Thu Mar 15 09:01:06 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A293F5AA4E for ; Thu, 15 Mar 2018 09:01:06 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A2AA751DC for ; Thu, 15 Mar 2018 09:01:05 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lf0-x242.google.com with SMTP id q69-v6so8933725lfi.10 for ; Thu, 15 Mar 2018 02:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8esXWvAuIfUnP97zQi3+WvKAChuGqNed/1URd2fpuTU=; b=lBv4GVxhiGv6bOzw6t32HQRXK2o5jhFBBLifa5nnGbpJtR9ndmzdGxEBQjGu1+zwzf LESqmPiYjmqFM6fGb3oZlQHQvv3xvY5OrERqY+oE+zcEDyhwdsGm1EuYQIrDmE5tHHnv PZF7KAbrj6fu9dlmM0gSuzXp0Dkz6DJ5WlhUb3/x3M+MaGinD4xw4TpKT1eijzsR7IBw 8KRLcsNVQ50xAxO4coVNotd1VnmV0lWvsw0p3KPQgEfQwm+maKGAj31FvkgzHLZhozpW 9aksfBzLgsHFVPKa4jeMlDH5CVfmDcYDYsEl1QDiT6Oh+OTujRpTm0HQjvOIAZ9yYI3i mDWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8esXWvAuIfUnP97zQi3+WvKAChuGqNed/1URd2fpuTU=; b=rHDU+6EB4lM6rQppmDj23+NbWBcXxZ+wNK9YZSac8tWOgO6DjhCD2yM+7fBBx3o35z NFYEGPwU5Fd7R3MDUu9ll/joR3snN2NIWXm0s2OX6miiEdMAjUjFZNGjfntoGMvov7Cc NWHZb9YBc74CIMKq4h2u6j5IBRv2mzvvkNjY4+/qg0yHuSfPJqXyWIBgoDPwut0DSRMt 4hxdIXK92MzVC6s+4eHbv48HemIQMRk9ShPQhR8OP7JdZcglirC2Jlbc9+vCf8nyCiY9 dQh+KC9RR4bwFros8iuRoEy/1PNgMK+bcVyAsyl1ls4QSJKU4yl3ZUDo1TG8Us+NytXF vEFQ== X-Gm-Message-State: AElRT7GOTyEbNwEMkNXwB+DJ+cubN1nsxnukeypMrbGiNHxcFNr6iXOE agCyOvKyMRqCoyhQbjF9KQZ260GKrRpUXpj1AlfdyA== X-Google-Smtp-Source: AG47ELsKFzcY4xVPbSI7TWrVXa8qmj6LisAy2e7Q22g+bReoHR06R/bOj5sYNlP/qMMe5XcQBUT6DlAdcmZESIT6tLM= X-Received: by 10.46.44.6 with SMTP id s6mr5797924ljs.111.1521104463751; Thu, 15 Mar 2018 02:01:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.3.10 with HTTP; Thu, 15 Mar 2018 02:01:03 -0700 (PDT) From: Andreas Nilsson Date: Thu, 15 Mar 2018 10:01:03 +0100 Message-ID: Subject: xorg crashes with evdev and udev input device detection To: FreeBSD X11 mailing list Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 09:01:06 -0000 Hello, I recently spent some time trying to enable touchscreen+pen on my lenovo x1 yoga ( gen 1). I now run FreeBSD 12.0-CURRENT #9 3fa80706a55(master)-dirty: Tue Mar 13 20:34:13 CET 2018 and config include GENERIC-NODEBUG ident NOVESA nooptions VESA device evdev options EVDEV_SUPPORT device uinput I also rebuilt xorg-server according to Bug #196678 to enable udev. This works great, no config needed in /usr/local/etc/X11/xorg.conf.d to get touchscreen+pen working, as well as keyboard. However, my touchpad and trackpoint stops working. The work if I start moused or add a config snippet explicitly pointing to /dev/psm0 as device. However, every once in a while when have touchpad "working", xorg crashes as I touch it: ff 0 0 0 18 0 0 0 [ 57201.001] [ 57201.001] 70 02 00 00 69 d1 68 03 [ 57201.002] 0c 00 00 00 0c 00 00 00 [ 57201.002] 00 00 00 00 00 00 00 00 [ 57201.005] (EE) [ 57201.005] (EE) Backtrace: [ 57201.007] (EE) 0: /usr/local/bin/X (valuator_mask_fetch_unaccelerated+0xdf) [0x45712f] [ 57201.008] (EE) 1: /usr/local/bin/X (mieqEnqueue+0x23) [0x595c53] [ 57201.010] (EE) 2: /usr/local/bin/X (QueuePointerEvents+0x4b) [0x450d4b] [ 57201.011] (EE) 3: /usr/local/bin/X (xf86PostMotionEvent+0x123) [0x48f063] [ 57201.013] (EE) 4: /usr/local/lib/xorg/modules/input/mouse_drv.so (_init+0x529d) [0x80a6bd1bd] [ 57201.014] (EE) 5: /usr/local/lib/xorg/modules/input/mouse_drv.so (_init+0x2561) [0x80a6b7971] [ 57201.015] (EE) 6: /usr/local/lib/xorg/modules/input/mouse_drv.so (_init+0x1519) [0x80a6b5af9] [ 57201.017] (EE) 7: /usr/local/bin/X (xf86AddEnabledDevice+0x58) [0x4803b8] [ 57201.018] (EE) 8: /usr/local/bin/X (xf86InstallSIGIOHandler+0x3a7) [0x4a5027] [ 57201.019] (EE) 9: /lib/libthr.so.3 (_pthread_sigmask+0x538) [0x801e70828] [ 57201.021] (EE) 10: /lib/libthr.so.3 (pthread_getspecific+0xe61) [0x801e705a1] [ 57201.022] (EE) 11: ? (?+0xe61) [0x7ffffffffff4] [ 57201.024] (EE) 12: /lib/libc.so.7 (_select+0xa) [0x802042d64] [ 57201.026] (EE) 13: /lib/libthr.so.3 (pthread_suspend_all_np+0x1632) [0x801e6e7b2] [ 57201.027] (EE) 14: /usr/local/bin/X (WaitForSomething+0x295) [0x5b08e5] [ 57201.029] (EE) 15: /usr/local/bin/X (UpdateCurrentTimeIf+0x38a) [0x4329ea] [ 57201.031] (EE) 16: /usr/local/bin/X (remove_fs_handlers+0x717) [0x43cda7] [ 57201.032] (EE) 17: /usr/local/bin/X (_start+0x95) [0x425835] [ 57201.034] (EE) 18: ? (?+0x95) [0x800847095] [ 57201.034] (EE) [ 57201.034] (EE) Fatal server error: [ 57201.034] (EE) Wrong event type 255. Aborting server [ 57201.034] (EE) [ 57201.034] (EE) Has anybody seen this before? Best regards Andreas