From owner-freebsd-x11@freebsd.org Thu Mar 15 14:42:02 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 195DEF57216; Thu, 15 Mar 2018 14:42:02 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp.infotel.ru (corp.infotel.ru [195.170.219.3]) by mx1.freebsd.org (Postfix) with ESMTP id 93BCB84271; Thu, 15 Mar 2018 14:42:01 +0000 (UTC) (envelope-from vladimir@kondratyev.su) Received: from corp (corp.infotel.ru [195.170.219.3]) by corp.infotel.ru (Postfix) with ESMTP id 188B3109AD; Thu, 15 Mar 2018 17:41:59 +0300 (MSK) X-Virus-Scanned: amavisd-new at corp.infotel.ru Received: from corp.infotel.ru ([195.170.219.3]) by corp (corp.infotel.ru [195.170.219.3]) (amavisd-new, port 10024) with ESMTP id roQSCqr6SUiH; Thu, 15 Mar 2018 17:41:50 +0300 (MSK) Received: from mail.cicgroup.ru (unknown [195.170.219.74]) by corp.infotel.ru (Postfix) with ESMTP id BCF8B109A6; Thu, 15 Mar 2018 17:41:49 +0300 (MSK) Received: from mail.cicgroup.ru (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTP id 7CE4A3ACAFB; Thu, 15 Mar 2018 17:41:42 +0300 (MSK) X-Virus-Scanned: amavisd-new at cicgroup.ru Received: from mail.cicgroup.ru ([127.0.0.1]) by mail.cicgroup.ru (mail.cicgroup.ru [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 5KvD5r6pOUek; Thu, 15 Mar 2018 17:41:39 +0300 (MSK) Received: from localhost (localhost [127.0.0.1]) by mail.cicgroup.ru (Postfix) with ESMTPA id 03CF43AC8C5; Thu, 15 Mar 2018 17:41:39 +0300 (MSK) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 15 Mar 2018 17:41:38 +0300 From: Vladimir Kondratyev To: Andreas Nilsson Cc: FreeBSD X11 mailing list , owner-freebsd-x11@freebsd.org Subject: Re: xorg crashes with evdev and udev input device detection In-Reply-To: References: Message-ID: <73a80be3eff111542328dc8eda66d913@kondratyev.su> X-Sender: vladimir@kondratyev.su User-Agent: Roundcube Webmail/1.2.5 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 14:42:02 -0000 Try to deinstall xf86-input-mouse before starting Xorg Patch from Bug #196678 needs some extra work to handle kernels compiled with "options EVDEV_SUPPORT" On 2018-03-15 12:01, Andreas Nilsson wrote: > 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 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- WBR Vladimir Kondratyev