From owner-freebsd-current@freebsd.org Tue Mar 1 05:33:08 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 86AD7ABDC07 for ; Tue, 1 Mar 2016 05:33:08 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EBF6108E for ; Tue, 1 Mar 2016 05:33:08 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id n186so19395060wmn.1 for ; Mon, 29 Feb 2016 21:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dV0awrD1xKPqgPMZXXT2HBN8+8pEYWNE/tOESBLtk/Q=; b=GmYYnSeH3vk/M41h0JxlTcyR+xzWEYpVFdhLdum5ubWb/7A5j14kPoGIGkM0t/oA55 FZP6N3kcH+fUR6DdhBH+T46wcNCXXMvx1nGodcCedpnRyPgaLSrrT/1x0SLXbIKHmImR dDD9asBMvqnNDFt+8qc7c+wB8YfqWTEjzBOUKNjpQbLu/ayObACTtzRatC7mIcZiTEvj kPauIhcHVjTrSpzDX/B1Pm7thIRRQLahnAq1SmTvWWFmuOir+UkAi0VZBkRU24wHMH/N WnDiG/G7S+NvNfaW51FyoAYt7Nc43PEsaQ2k2gugX3araa14MAIP0lTqW3Iec7hxpLrE AJig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dV0awrD1xKPqgPMZXXT2HBN8+8pEYWNE/tOESBLtk/Q=; b=FdPSDHgYumN/KdtM7lvQrdsrR2TmX9PP8WJ+PxAP9DtpVwmfQ/kfjHZq5vwW3I0Ase z53FKcecYwhimAWZmFiP0J+uORyMQJoewkqqAMqEeYZz5eyMZlxZn9jYrTc5c++32u9S ZmsttQYs6fF1vOqaGuX6egqGczQ1I/1MXt23EJJnC+9m2Ep4gi4ii3fJUcun03J3hsdH oJqRgYZ6F6bJwbvzEJF1yZeNp58sEQlhZAzPtretf0GjvK1CWP61bYehpWEZxjDo9ZMo BbDdXQieAhAhvo5YZdsXI5JAepV5oFchYxxYpEuyfeHNGDQasGuLvQ3rn6R/0fU5raFx Huog== X-Gm-Message-State: AD7BkJLL2+dt9rqqg1b+LyuPZeH8vvyXRyOs3yXLtHr1Z8+/BJo/nP8e3lpBae1smrxZ3A== X-Received: by 10.28.141.141 with SMTP id p135mr1590435wmd.30.1456810386076; Mon, 29 Feb 2016 21:33:06 -0800 (PST) Received: from laptop.minsk.domain (minsk.nivalnetwork.com. [86.57.144.74]) by smtp.gmail.com with ESMTPSA id e19sm19595393wmd.1.2016.02.29.21.33.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Feb 2016 21:33:05 -0800 (PST) Date: Tue, 1 Mar 2016 08:30:06 +0300 From: "Sergey V. Dyatko" To: Hans Petter Selasky Cc: freebsd-current@freebsd.org Subject: Re: Touchscreen support (was Re: new computer, strange usb messages at boot) Message-ID: <20160301083006.671d3987@laptop.minsk.domain> In-Reply-To: <56CB3C74.7050103@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> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 01 Mar 2016 05:33:08 -0000 On Mon, 22 Feb 2016 17:51:00 +0100 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 > wow... Thanks for your work :) Yesterday I update -CURRENT on my lenovo z400 touch ( r296180), after suspend-resume I spotted that is my usb mouse didn't work (touchpad works as before) I had the feeling that I read something about hid_get_item: Number of items(256) truncated to 255 on ML, so I'm here. What I do: laptop# webcamd -l Available device(s): .... webcamd [-d ugen0.2] -N Synaptics-Large-Touch-Screen-SYNAPTICS -S unknown -M 0 ... Show webcamd usage: webcamd -h laptop# webcamd -N Synaptics-Large-Touch-Screen-SYNAPTICS -S unknown -M 0 Attached to ugen0.2[0] Creating /dev/input/event0 after that I reconnect my mouse and 'it works' (c) How I can do this automatically right? -- wbr, tiger