Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2021 10:34:59 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Mark Kane <mark@kane.mn>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: eGalax USB touchscreen issues
Message-ID:  <74c359d7-512d-0fcd-381f-82161cc20078@selasky.org>
In-Reply-To: <8a7a7402-95e3-3fe3-bde2-01b4a16a97fd@selasky.org>
References:  <cd7bd8d9eb9bee6cdc7e4d416b7b8153@kane.mn> <e02aa9c7-0b50-0bd4-39de-25cb334c0d07@selasky.org> <e217bcce5b4b4fe957ce34bce19e94b9@kane.mn> <daa5b22c-29a6-4757-33b5-fe2f683350b6@selasky.org> <b92ac0ad72b777d2f707d6e6316273b5@kane.mn> <24ab05f3-86f3-5da7-0485-2839eba43975@selasky.org> <8a7a7402-95e3-3fe3-bde2-01b4a16a97fd@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/22/21 10:10 AM, Hans Petter Selasky wrote:
> 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.

This patch should work:

https://github.com/hselasky/webcamd/commit/816f17ac38ce32879f6eb5b610305468b1b24de9

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74c359d7-512d-0fcd-381f-82161cc20078>