From nobody Wed Nov 8 15:48:32 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4SQTyY1czxz508gR for ; Wed, 8 Nov 2023 15:48:37 +0000 (UTC) (envelope-from freebsd-usb@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4SQTyX603Tz4Z2g for ; Wed, 8 Nov 2023 15:48:36 +0000 (UTC) (envelope-from freebsd-usb@dino.sk) Authentication-Results: mx1.freebsd.org; none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000023D2154.00000000654BADD2.00010A28; Wed, 08 Nov 2023 16:48:34 +0100 Date: Wed, 8 Nov 2023 16:48:32 +0100 From: Milan Obuch To: Tomek CEDRO Cc: freebsd-usb@freebsd.org Subject: Re: Touch screen driver for Acer T231H1 Message-ID: <20231108164832.31fbffa9@zeta.dino.sk> In-Reply-To: References: <20231108110119.7fa5d462@zeta.dino.sk> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK] X-Rspamd-Queue-Id: 4SQTyX603Tz4Z2g On Wed, 8 Nov 2023 15:47:32 +0100 Tomek CEDRO wrote: > On Wed, Nov 8, 2023 at 11:01=E2=80=AFAM Milan Obuch wrote: > > years ago I bought Acer monitor with touch screen, but did not try > > to use it, it works for me just as an ordinary monitor. I decided > > to give it a try now... > > When plugged into USB port, I see just > > kernel: ugen0.6: at usbus0 > > line in console/dmesg output. Looking into usbconfig output in an > > attempt to get some info, I see > > # usbconfig -d ugen0.6 dump_all_desc > > ugen0.6: at usbus0, cfg=3D0 md=3DHOST > > spd=3DFULL (12Mbps) pwr=3DON (500mA) =20 >=20 > Hey there Milan :-) Some time ago I did work with Panasonic Toughbook > laptop touchscreen using x11-drivers/xf86-input-wacom driver [1]. You > may also try the multimedia/webcamd [2] or sysutils/iichid [3] as the > driver. Good luck :-) >=20 > [1] https://www.freshports.org/x11-drivers/xf86-input-wacom/ > [2] https://www.freshports.org/multimedia/webcamd/ > [3] https://www.freshports.org/sysutils/iichid/ Do you have some notes from Toughbook? Just to compare... Also, according to sample config, x11-drivers/xf86-input-wacom uses /dev/input/event for input, I don't know how those get created. (There are four of them.) With webcam, I am getting # webcamd -d ugen0.6 webcamd 4480 - - Attached to ugen0.6[0] webcamd 4480 - - Creating /dev/input/event6 and now I see some action on touch, but it looks like some calibration is necessary - I have two monitor setup and position set is correct in one axis but offset in the other. As there is USB used for connection, iichid probably is no help for me :) So I am a bit better now, with single monitor setup, it would probably work as is (a bit), so some more investigation is necessary. Regards, Milan