Bug 258214 - Touchpad does not work, even when appropriate mouse drivers/settings are installed.
Summary: Touchpad does not work, even when appropriate mouse drivers/settings are inst...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2021-09-02 13:43 UTC by kingstewie
Modified: 2021-09-05 23:00 UTC (History)
4 users (show)

See Also:


Attachments
This is a picture of what shows up in mouse settings on the xfce 4.16-desktop. (116.01 KB, image/png)
2021-09-02 13:43 UTC, kingstewie
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kingstewie 2021-09-02 13:43:03 UTC
Created attachment 227607 [details]
This is a picture of what shows up in mouse settings on the xfce 4.16-desktop.

Running XFCE 4.16. Here is my system: https://bsd-hardware.info/?probe=4e83c9da3f
Currently using a Microsoft Mouse in order to post this. The mouse does not respond to ANY input whatsoever. No output at all when running "dmesg | grep psm". Here is another related output: https://pastebin.com/pRtwst3K.  hw.psm.synaptics_support is enabled. moused is enabled in rc.conf.
Comment 1 rkoberman 2021-09-02 21:47:33 UTC
Just to give someone, probably not me, a better chance of figuring this out, what version of FreeBSD are you running? What device is your touchpad? GENERIC config? If not, a copy of your configuration would help. Anything in /etc/make.conf or /etc/src.conf?

freebsd_version -ku and/or uname -a should provide the first item.r. Since it does not appear as a psm device, it might be  USB device. usbconfig(8) should tell you if it's USB. 

Does the device work in a vty? In other words, is it an X issue or is it a total mouse failure? I assume the latter from your ticket.
Comment 2 Vladimir Kondratyev freebsd_committer 2021-09-02 23:00:29 UTC
Can you share bootlog with

debug.psm.loglevel=5

line inserted in /boot/loader.conf?
Comment 3 kingstewie 2021-09-04 00:26:40 UTC
(In reply to rkoberman from comment #1)
Here you go! I hope this helps: https://pastebin.com/44077fzc
Comment 4 kingstewie 2021-09-04 00:42:56 UTC
(In reply to Vladimir Kondratyev from comment #2)
Here you go: https://pastebin.com/TD9rRfBU
Comment 5 Vladimir Kondratyev freebsd_committer 2021-09-04 23:00:36 UTC
(In reply to kingstewie from comment #4)

> Here you go: https://pastebin.com/TD9rRfBU
This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.
Comment 6 kingstewie 2021-09-05 05:26:21 UTC
(In reply to Vladimir Kondratyev from comment #5)
Im very sorry, apparently it was removed but not by me: 
https://hastebin.com/ugeyiciyas.properties
Comment 7 Vladimir Kondratyev freebsd_committer 2021-09-05 10:39:29 UTC
(In reply to kingstewie from comment #6)

Try to add the following statement to /boot/device.hints,

hint.psm.0.flags="0x0400"
Comment 8 kingstewie 2021-09-05 22:58:27 UTC
(In reply to Vladimir Kondratyev from comment #7)
It works! Currently using the touchpad to type this. Here is the boot logs(I had to break them up as a result of them being too big to paste):

Part 1:
https://hatebin.com/nquzeiqjhp

Part 2:
https://hatebin.com/awmjpblwhb
Comment 9 kingstewie 2021-09-05 23:00:46 UTC
(In reply to Vladimir Kondratyev from comment #7)
Also I forgot to mention that my /boot/device.hints was read only so I decided to throw it into my /boot/loader.conf instead.