🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.kern
Article #25

PR/57446 and touchscreen patch re-evaluation plea

#25
From: 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
Technical Details
Message-ID: <20261115160242.GA14866@czajka.smutek.pl>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Piotr Meyer <aniou+netbsd@smutek.pl>
Newsgroups: muc.lists.netbsd.tech.kern
Subject: PR/57446 and touchscreen patch re-evaluation plea
Date: Sun, 15 Nov 2026 17:02:43 +0100
Organization: Newsgate at muc.de e.V.
Sender: tech-kern-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <20261115160242.GA14866@czajka.smutek.pl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="48257"; mail-complaints-to="news-admin@muc.de"
User-Agent: Mutt/1.9.4 (2018-02-28)
X-Greylist: delayed 532 seconds by postgrey-1.37 at homeworld.NetBSD.org; Sun, 15 Nov 2026 16:11:36 UTC
Content-Disposition: inline
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes