Bug 218347 - psm driver incorrectly detects trackpad as glidepoint
Summary: psm driver incorrectly detects trackpad as glidepoint
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-04 10:13 UTC by Kirill Radzikhovskyy
Modified: 2018-10-06 23:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Radzikhovskyy 2017-04-04 10:13:05 UTC
Hi,
so i have Lenovo Thinkpad e450.
Notably this laptops trackpad has dedicated mouse buttons above the track pad.
On linux its being detected as generic mouse ( unlike other thinkpads, as they get detected as thinkpad trackpads )

on FreeBSD my trackpad gets detected as Glidepoint, which makes left button to emit button 4 event ( which is i think is noted as one of quarks )
Result is when in browser i click left button it makes browser to back in history.

I had a quick look inside psm.c in akbdc driver.
simply removing MOUSE_MODEL_GLIDEPOINT from list of devices, which makes it detect as generic mouse fixes the issue.

So i guess, how do i start debugging this. Is it really Glidepoint trackpad? 

Or is it simply gets detected wrongly ?
I will provide whatever lspci outputs necessary.
Cheers
Kirill R
Comment 1 Kirill Radzikhovskyy 2018-10-06 23:45:30 UTC
I no longer have that laptop