tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57446 and touchscreen patch re-evaluation plea



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



Home | Main Index | Thread Index | Old Index