From owner-freebsd-x11@freebsd.org Mon Jan 8 21:05:53 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B77C2E623F7 for ; Mon, 8 Jan 2018 21:05:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 22DD874C25 for ; Mon, 8 Jan 2018 21:05:52 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 85894 invoked by uid 89); 8 Jan 2018 21:05:51 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@93.104.64.114) by mail.grem.de with ESMTPA; 8 Jan 2018 21:05:51 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: Michael Gmelin X-Mailer: iPhone Mail (14G60) In-Reply-To: Date: Mon, 8 Jan 2018 22:05:50 +0100 Cc: freebsd-x11@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <64F6370C-63CB-41F2-BCAA-C22AA6147C6E@grem.de> References: <20171230155857.3ba51994@bsd64.grem.de> <97dc9da5-30f6-0c8d-a3f9-662469974bb2@freebsd.org> <8f19b64f-255f-fd14-7b47-dfd149c76e12@unrelenting.technology> To: =?utf-8?Q?Ren=C3=A9_Ladan?= 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: Mon, 08 Jan 2018 21:05:53 -0000 > On 8. Jan 2018, at 22:02, Ren=C3=A9 Ladan wrote: >=20 >> On 08-01-2018 21:28, Greg V via freebsd-x11 wrote: >>=20 >> On 01/08/2018 23:23, Michael Gmelin wrote: >>>> On 8. Jan 2018, at 21:15, Ren=C3=A9 Ladan wrote: >>>>=20 >>>>> On 30-12-2017 15:58, Michael Gmelin wrote: >>>>> Hi, >>>>>=20 >>>>> I found some time to play with FreeBSD on a Lenovo Thinkpad T470s and >>>>> I'm quite happy with the results, as all important features work, >>>>> especially essentials like graphics, touchpad and suspend to RAM. >>>>>=20 >>>>> The configuration is pretty straightforward, but a few things required= >>>>> research (like evdev, udev and libinput), that's why I documented my >>>>> setup here, hoping that it might help others: >>>>>=20 >>>>> https://blog.grem.de/pages/t470s.html >>>>>=20 >>>> I followed your instructions to try to get the touchpad working on my >>>> laptop (Acer E5-773G-78RN) but that didn't work. >>>>=20 >>>> libinput-debug-events sees the touchpad (I think, event0) but it doesn'= t >>>> respond to it: >>>>=20 >>>> root@e17:~ # libinput-debug-events >>>> -event0 DEVICE_ADDED System mouse seat0 >>>> default group1 cap:p left scroll-nat scroll-button >>>> -event1 DEVICE_ADDED System keyboard multiplexer seat0 >>>> default group2 cap:k >>>> -event2 DEVICE_ADDED AT keyboard seat0 >>>> default group3 cap:k >>>> -event3 DEVICE_ADDED PixArt USB Optical Mouse, class 0/0, rev >>>> 1.10/1.00, addr 1 seat0 default group4 cap:p left scroll-nat >>>> scroll-button >>>>=20 >>>> I have Xorg.0.log and verbose dmesg available >>> Did you install a patched version of xorg (with UDEV enabled) and a >>> custom kernel (device and option added)? What is the output of xinput? >>> What is the output of evemu-record from devel/evemu? Feel free to >>> email me all config- and log files off-list. >=20 > Hmm, there is no option UDEV in 'make config' for xorg-server, only DEVD > (default) and HAL? Did you path xorg-server like described? Maybe you applied "patch" in the wr= ong directory. If you're struggling I can send you the patched port skeleton= directly. Best, Michael >=20 >> If libinput doesn't list it, it's not time to mess with xorg yet :) >>=20 >> I guess EVDEV_SUPPORT is enabled since there's a "PixArt USB Optical >> Mouse" (ums) device. >>=20 > That PixArt thing is physical USB mouse, which always works ;) >=20 >> Is the psm module loaded? Is there anything in dmesg about psm? >=20 > Not currently I think: > rene@e17:~ % grep -i psm /root/dmesg-v-20180108 > psm0: unable to allocate IRQ > rene@e17:~ % kldstat -v|grep psm > 439 acpi/psmcpnp > 438 isa/psmcpnp > 437 atkbdc/psm > rene@e17:~ % ls /boot/kernel/*psm* > ls: No match. > rene@e17:~ % >=20 > Ren=C3=A9 >> _______________________________________________ >> 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" >=20 > _______________________________________________ > 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"