Running FreeBSD on the Lenovo Thinkpad T470s (success)

Michael Gmelin freebsd at grem.de
Mon Jan 8 21:05:53 UTC 2018



> On 8. Jan 2018, at 22:02, René Ladan <r.c.ladan at gmail.com> wrote:
> 
>> On 08-01-2018 21:28, Greg V via freebsd-x11 wrote:
>> 
>> On 01/08/2018 23:23, Michael Gmelin wrote:
>>>> On 8. Jan 2018, at 21:15, René Ladan <rene at freebsd.org> wrote:
>>>> 
>>>>> On 30-12-2017 15:58, Michael Gmelin wrote:
>>>>> Hi,
>>>>> 
>>>>> 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.
>>>>> 
>>>>> 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:
>>>>> 
>>>>> https://blog.grem.de/pages/t470s.html
>>>>> 
>>>> I followed your instructions to try to get the touchpad working on my
>>>> laptop (Acer E5-773G-78RN) but that didn't work.
>>>> 
>>>> libinput-debug-events sees the touchpad (I think, event0) but it doesn't
>>>> respond to it:
>>>> 
>>>> root at 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
>>>> 
>>>> 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.
> 
> 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 wrong directory. If you're struggling I can send you the patched port skeleton directly.

Best,
Michael



> 
>> If libinput doesn't list it, it's not time to mess with xorg yet :)
>> 
>> I guess EVDEV_SUPPORT is enabled since there's a "PixArt USB Optical
>> Mouse" (ums) device.
>> 
> That PixArt thing is physical USB mouse, which always works ;)
> 
>> Is the psm module loaded? Is there anything in dmesg about psm?
> 
> Not currently I think:
> rene at e17:~ % grep -i psm /root/dmesg-v-20180108
> psm0: unable to allocate IRQ
> rene at e17:~ % kldstat -v|grep psm
>        439 acpi/psmcpnp
>        438 isa/psmcpnp
>        437 atkbdc/psm
> rene at e17:~ % ls /boot/kernel/*psm*
> ls: No match.
> rene at e17:~ %
> 
> René
>> _______________________________________________
>> freebsd-x11 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"



More information about the freebsd-x11 mailing list