From owner-freebsd-current@freebsd.org Mon Feb 22 18:15:22 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0655AB07C2; Mon, 22 Feb 2016 18:15:22 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE118139E; Mon, 22 Feb 2016 18:15:22 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=qShuvjZ7nQJVD5lXwwXKMgcrxEmX5DTzorSZnpPko90=; b=tcGX3csSGrxFPWYUHjh3VY3al+ zWjYRR+qss27eXWwZG8nxAj+WHvYKBntkWOGOMDl6JB0YiYUKp6PKucRX/boqum2ZyuDcYQv1trGN eYK5vWQGnt91pWs7QiO8c27u02N3FhVvi/40ycYFMvF6fBsr6jxMwPTovKVHtZyfkeNs=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:23313 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aXv0y-000LOb-D4; Mon, 22 Feb 2016 12:15:20 -0600 Received: from fakenat.motive.com ([64.186.184.132]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Mon, 22 Feb 2016 12:15:20 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 22 Feb 2016 12:15:20 -0600 From: Larry Rosenman To: Hans Petter Selasky Cc: Anthony Jenkins , freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org Subject: Re: Touchscreen support (was Re: new computer, strange usb messages at boot) In-Reply-To: <56CB5042.5060701@selasky.org> References: <20160220051951.GA47875@lrosenman-dell.lerctr.org> <20160220120401.GA91220@kib.kiev.ua> <20160220122416.GA1026@lrosenman-dell.lerctr.org> <2575cfd714188f7ffbc873cb5d87cc97@thebighonker.lerctr.org> <56CA6F67.4000001@yahoo.com> <56CAB4A7.8080604@selasky.org> <56CB39B0.3020307@yahoo.com> <56CB3C74.7050103@selasky.org> <2502f08287eabc10f35de01adedafd41@thebighonker.lerctr.org> <56CB5042.5060701@selasky.org> Message-ID: <2996bff108604e47e226ca6c532aa114@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.4 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:15:23 -0000 On 2016-02-22 12:15, Hans Petter Selasky wrote: > On 02/22/16 19:11, Larry Rosenman wrote: >> On 2016-02-22 10:51, Hans Petter Selasky wrote: >>> On 02/22/16 17:39, Anthony Jenkins wrote: >>>> >>>> >>>> On 02/22/2016 02:11 AM, Hans Petter Selasky wrote: >>>>> On 02/22/16 03:16, Anthony Jenkins wrote: >>>>>> Yes. I have an eGalax touchscreen and it's doing the same thing. >>>>>> The >>>>>> number of items it's reporting is 256 (according to my preliminary >>>>>> debugging), causing the warning. I think these things are a >>>>>> special >>>>>> subclass of HID for multitouch touchscreens which we don't support >>>>>> (yet). >>>>> >>>>> /usr/ports/multimedia/webcamd will most likely attach if invoked >>>>> manually, to this device and provide an event device for you! >>>>> >>>>> --HPS >>>> >>>> Okay that's /amazing/, and not at all intuitive! I mean I'd expect >>>> multimedia/webcamd to only attach to "video" devices, but lo and >>>> behold >>>> I get a /dev/input/event0 device which spits out gibberish when >>>> cat(1)'ed and I touch the screen! >>>> >>>> My intentions were to port Linux's hid-multitouch device in whole to >>>> FreeBSD (it's what attaches to my eGalax device and probably to OP's >>>> touchscreen device) and add support for the device to moused(8), but >>>> it's not very high on my priority list... >>>> >>> >>> Hi, >>> >>> If you apply these patches, will work with your X-org :-) >>> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 >>> >>> --HPS > > Hi, > > Run: > > webcamd -l > > Then find your device, and run that command line. > > --HPS > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" Aha. $ sudo webcamd -l Available device(s): webcamd [-d ugen0.1] -N XHCI-root-HUB-0x8086 -S unknown -M 0 webcamd [-d ugen0.2] -N IntegratedWebcamHD-CN06307G7248759DE3VFA03 -S unknown -M 0 webcamd [-d ugen0.3] -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0 Show webcamd usage: webcamd -h $ sudo webcamd -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0 Attached to ugen0.3[0] Creating /dev/input/event0 ^Z[1] + Suspended sudo webcamd -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0 $ bg [1] sudo webcamd -N Atmel-maXTouch-Digitizer-Atmel -S unknown -M 0 $ ls /dev/input/event0 /dev/input/event0 $ -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961