From owner-freebsd-usb@freebsd.org Sat May 22 08:11:44 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C24176472B3 for ; Sat, 22 May 2021 08:11:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 ESMTPS id 4FnGQl5z67z4kLy for ; Sat, 22 May 2021 08:11:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id DB2A42600DF; Sat, 22 May 2021 10:11:35 +0200 (CEST) Subject: Re: eGalax USB touchscreen issues From: Hans Petter Selasky To: Mark Kane Cc: freebsd-usb@freebsd.org References: <24ab05f3-86f3-5da7-0485-2839eba43975@selasky.org> Message-ID: <8a7a7402-95e3-3fe3-bde2-01b4a16a97fd@selasky.org> Date: Sat, 22 May 2021 10:10:16 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <24ab05f3-86f3-5da7-0485-2839eba43975@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FnGQl5z67z4kLy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-usb] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2021 08:11:44 -0000 On 5/22/21 10:02 AM, Hans Petter Selasky wrote: > On 5/21/21 7:36 PM, Mark Kane wrote: >> On 2021-05-21 01:48, Hans Petter Selasky wrote: >>> Try adding -i 1 then -i 2 and so on. >>> >>> Not sure if you need to attach to a specific interface. >>> >>> -6 means: >>> >>>  6 ENXIO Device not configured. >> >> With -i 0 there is the same -6 error as without -i. With -i 1 through >> 100 there is no ERR, only "webcamd: Cannot find USB device". > > Linux driver is here: > > drivers/input/touchscreen/usbtouchscreen.c:    {USB_DEVICE(0x0eef, > 0x0001), .driver_info = DEVTYPE_EGALAX}, > drivers/input/touchscreen/usbtouchscreen.c:    {USB_DEVICE(0x0eef, > 0x0002), .driver_info = DEVTYPE_EGALAX}, > > Can you try adding: > > CONFIG_TOUCHSCREEN_EGALAX=y > > To: > > config_input.in > > diff --git a/config_input.in b/config_input.in > index b1c8158..4e19459 100644 > --- a/config_input.in > +++ b/config_input.in > @@ -112,6 +112,7 @@ CONFIG_TOUCHSCREEN_COMPOSITE=y >  CONFIG_TOUCHSCREEN_DMC_TSC10=y >  CONFIG_TOUCHSCREEN_E2I=y >  CONFIG_TOUCHSCREEN_EASYTOUCH=y > +CONFIG_TOUCHSCREEN_EGALAX=y >  CONFIG_TOUCHSCREEN_ETT_TC45USB=y >  CONFIG_TOUCHSCREEN_ETURBO=y >  CONFIG_TOUCHSCREEN_GENERAL_TOUCH=y > > Before building webcamd after "make extract patch". > > It might not build, but if it does, should fix support for your device. > > --HPS I see there are some build failures there which need to be fixed. --HPS