webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
Hardware is a Raspberry Pi3 with current r330034. I'm trying to run a USB touchscreen. Tested wmt and uep, but neither wants to attach, although the Waveshare display I'm using is likely running an egalaxy firmware. However webcamd accepts the device and creates a /dev/input/event0. But I can't get

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Hans Petter Selasky
On 03/08/18 17:16, Bernd Walter wrote: Hardware is a Raspberry Pi3 with current r330034. I'm trying to run a USB touchscreen. Tested wmt and uep, but neither wants to attach, although the Waveshare display I'm using is likely running an egalaxy firmware. However webcamd accepts the device and cre

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Greg
On 03/08, Hans Petter Selasky wrote: On 03/08/18 17:16, Bernd Walter wrote: Hardware is a Raspberry Pi3 with current r330034. I'm trying to run a USB touchscreen. Tested wmt and uep, but neither wants to attach, although the Waveshare display I'm using is likely running an egalaxy firmware. Howe

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Roberto Fernandez Cueto
Roberto Fernandez-Cueto schrieb am 08.03.2018 17:36 _ You have to explicitely tell Xorg that you want to use the touch with the layout. Something like, Section "ServerLayout" Identifier "MyLayout" InputDevic

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 07:30:26PM +0300, Greg wrote: > On 03/08, Hans Petter Selasky wrote: > >On 03/08/18 17:16, Bernd Walter wrote: > >>Hardware is a Raspberry Pi3 with current r330034. > >>I'm trying to run a USB touchscreen. > >>Tested wmt and uep, but neither wants to attach, although the Wav

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: > This is what I have right now: > [20]sa# cat /etc/X11/xorg.conf > > Section "InputDevice" > Identifier "Touchscreen" > Driver "evdev" > Option "Device" "/dev/input/event0" > EndSection >

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Oleksandr Tymoshenko
Bernd Walter (ti...@cicely7.cicely.de) wrote: > On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: > https://github.com/gonzoua/evdev-dump/tree/freebsd > ... > checking for unistd.h... yes > checking linux/input.h usability... no > checking linux/input.h presence... no > checking for lin

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 09:08:49PM +0100, Bernd Walter wrote: > On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: > > This is what I have right now: > > [20]sa# cat /etc/X11/xorg.conf > > > > Section "InputDevice" > > Identifier "Touchscreen" > > Driver "

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Hans Petter Selasky
On 03/08/18 22:08, Bernd Walter wrote: On Thu, Mar 08, 2018 at 09:08:49PM +0100, Bernd Walter wrote: On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: This is what I have right now: [20]sa# cat /etc/X11/xorg.conf Section "InputDevice" Identifier "Touchscreen"

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 12:38:38PM -0800, Oleksandr Tymoshenko wrote: > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: > > https://github.com/gonzoua/evdev-dump/tree/freebsd > > ... > > checking for unistd.h... yes > > checking linux/

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Oleksandr Tymoshenko
Bernd Walter (ti...@cicely7.cicely.de) wrote: > On Thu, Mar 08, 2018 at 12:38:38PM -0800, Oleksandr Tymoshenko wrote: > > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > > On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: > > > https://github.com/gonzoua/evdev-dump/tree/freebsd > > >

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 02:29:44PM -0800, Oleksandr Tymoshenko wrote: > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > On Thu, Mar 08, 2018 at 12:38:38PM -0800, Oleksandr Tymoshenko wrote: > > > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > > > On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Oleksandr Tymoshenko
Bernd Walter (ti...@cicely7.cicely.de) wrote: > On Thu, Mar 08, 2018 at 02:29:44PM -0800, Oleksandr Tymoshenko wrote: > > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > > On Thu, Mar 08, 2018 at 12:38:38PM -0800, Oleksandr Tymoshenko wrote: > > > > Bernd Walter (ti...@cicely7.cicely.de) wrote: >

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 02:41:50PM -0800, Oleksandr Tymoshenko wrote: > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > On Thu, Mar 08, 2018 at 02:29:44PM -0800, Oleksandr Tymoshenko wrote: > > > Bernd Walter (ti...@cicely7.cicely.de) wrote: > > > > On Thu, Mar 08, 2018 at 12:38:38PM -0800, Oleks

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Bernd Walter
On Thu, Mar 08, 2018 at 10:10:47PM +0100, Hans Petter Selasky wrote: > You can try running usbdump to capture USB packets. > > ktrace is also your friend. > > dd if=/dev/input/event0 bs=1 > > Also check ownership of devices, that X.org can read from them. It happens earlier, /dev/input/event0 d

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Hans Petter Selasky
On 03/09/18 01:44, Bernd Walter wrote: On Thu, Mar 08, 2018 at 10:10:47PM +0100, Hans Petter Selasky wrote: You can try running usbdump to capture USB packets. ktrace is also your friend. dd if=/dev/input/event0 bs=1 Also check ownership of devices, that X.org can read from them. It happens

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Roberto Fernandez Cueto
Roberto Fernandez-Cueto schrieb am 09.03.2018 09:19 _ I do not if this helps, but what I usually do when I get to work with a new touchscreen is to see if FreeBSD detects it as UHID. If it is recognized, then I check if the touch

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Bernd Walter
On Fri, Mar 09, 2018 at 09:40:00AM +0100, Hans Petter Selasky wrote: > On 03/09/18 01:44, Bernd Walter wrote: > >On Thu, Mar 08, 2018 at 10:10:47PM +0100, Hans Petter Selasky wrote: > >>You can try running usbdump to capture USB packets. > >> > >>ktrace is also your friend. > >> > >>dd if=/dev/inpu

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Bernd Walter
On Fri, Mar 09, 2018 at 09:19:11AM +0100, Roberto Fernandez Cueto wrote: > Roberto Fernandez-Cueto schrieb am 09.03.2018 09:19 > _ > > I do not if this helps, but what I usually do when I get to work with a > new touchscreen is to

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Hans Petter Selasky
On 03/09/18 12:40, Bernd Walter wrote: Will do the quirk test later. I don't see any stalls during plug-in, so it might be a request webcamd issues, which the device doesn't support. Try building webcamd with debug support. --HPS ___ freebsd-curre

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Bernd Walter
On Fri, Mar 09, 2018 at 01:19:54PM +0100, Hans Petter Selasky wrote: > On 03/09/18 12:40, Bernd Walter wrote: > >Will do the quirk test later. > > I don't see any stalls during plug-in, so it might be a request webcamd > issues, which the device doesn't support. Try building webcamd with > debug

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Bernd Walter
On Fri, Mar 09, 2018 at 02:25:39PM +0100, Bernd Walter wrote: > On Fri, Mar 09, 2018 at 01:19:54PM +0100, Hans Petter Selasky wrote: > > On 03/09/18 12:40, Bernd Walter wrote: > > >Will do the quirk test later. > > > > I don't see any stalls during plug-in, so it might be a request webcamd > > is

Re: webcamd based touchscreen problem on Pi3

2018-03-12 Thread Bernd Walter
On Sat, Mar 10, 2018 at 01:03:39AM +0100, Bernd Walter wrote: > On Fri, Mar 09, 2018 at 02:25:39PM +0100, Bernd Walter wrote: > > On Fri, Mar 09, 2018 at 01:19:54PM +0100, Hans Petter Selasky wrote: > > > On 03/09/18 12:40, Bernd Walter wrote: > > > >Will do the quirk test later. > > > > > > I don

Re: webcamd based touchscreen problem on Pi3

2018-03-25 Thread Bernd Walter
On Mon, Mar 12, 2018 at 12:12:47PM +0100, Bernd Walter wrote: > On Sat, Mar 10, 2018 at 01:03:39AM +0100, Bernd Walter wrote: > > On Fri, Mar 09, 2018 at 02:25:39PM +0100, Bernd Walter wrote: > > So the older 7" HDMI C Rev 1.1 with the non IPS panel won't even attach, but > > it always needed some

Re: webcamd based touchscreen problem on Pi3

2018-03-25 Thread Bernd Walter
On Mon, Mar 26, 2018 at 01:11:28AM +0200, Bernd Walter wrote: > On Mon, Mar 12, 2018 at 12:12:47PM +0100, Bernd Walter wrote: > > On Sat, Mar 10, 2018 at 01:03:39AM +0100, Bernd Walter wrote: > > > On Fri, Mar 09, 2018 at 02:25:39PM +0100, Bernd Walter wrote: > > > So the older 7" HDMI C Rev 1.1 wi

Re: webcamd based touchscreen problem on Pi3

2018-03-26 Thread Bernd Walter
On Mon, Mar 26, 2018 at 01:28:06AM +0200, Bernd Walter wrote: > I somehow suspect that the device is dropping data, when the driver isn't > retrieving it fast enough. > I can't say for sure however, because usbdump has more interupt packets than > there is events on the /dev/input , although X and