🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.netbsd.tech.kern
1 messages
1 total messages Started by Piotr Meyer Sun, 15 Nov 2026 16:02
PR/57446 and touchscreen patch re-evaluation plea
#25
Author: Piotr Meyer
Date: Sun, 15 Nov 2026 16:02
40 lines
2622 bytes
Hi,
I'm currently working on personal monitoring system based on RPI
(and I'm very positively surprised, how well NetBSD perform nowadays
in that area) - but I also hit a problem with heap touchscreen,
like that one described in PR/57446 [1]: "touchscreen has no range
report".

I tried a patch, described in PR/57446 discussion [2] and looks 
like it gave me somewhat working device (I'm able to read events
from /dev/wsmouse, but because I don't use a X11 layer I can only
test it by selecting a part of screen with wsmoused or reading
events on my own).

In my opinion there may be a plenty of devices without proper
Z-axis reporting in the wild, and more general (like [2]) approach,
like in mentioned patch, may be a good way to deal with them.

In my case this is WaveShare WS170120 based device and after 
manual kernel patching I got following dmesg:

uhidev3 at uhub3 port 3 configuration 1 interface 0
uhidev3: WaveShare (0x0eef) WS170120 (0x0005), rev 1.10/1.11, addr 6,
iclass 3/0
uhidev3: 4 report ids
uts0 at uhidev3 reportid 1
uhid7 at uhidev3 reportid 2: input=0, output=0, feature=1
uhid8 at uhidev3 reportid 3: input=0, output=0, feature=256
uhid9 at uhidev3 reportid 4: input=63, output=63, feature=0

1 - https://gnats.netbsd.org/57446
2 - https://mail-index.netbsd.org/tech-kern/2014/01/04/msg016400.html

Best regards,
-- 
Piotr 'aniou' Meyer


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads