Date: Fri, 9 Mar 2018 09:19:11 +0100 From: Roberto Fernandez Cueto <r.fernandez-cueto@bally-wulff.de> To: <ticso@cicely.de> Cc: Hans Petter Selasky <hps@selasky.org>, <freebsd-arm@freebsd.org>, <freebsd-current@freebsd.org>, Bernd Walter <ticso@cicely7.cicely.de> Subject: Re: webcamd based touchscreen problem on Pi3 Message-ID: <20180309081911.GA65154@BWEPCFERNANDEZ> In-Reply-To: <20180309004433.GI86413@cicely7.cicely.de> References: <20180308161645.GF80981@cicely7.cicely.de> <20180308163605.GA61875@BWEPCFERNANDEZ> <20180308161645.GF80981@cicely7.cicely.de> <818e1917-0472-c0dd-a9d6-b7532faf4d4b@selasky.org> <20180308163026.z3ptrc7376smnsrt@unrelenting.technology> <20180308191131.GB86413@cicely7.cicely.de> <20180308200849.GC86413@cicely7.cicely.de> <20180308210805.GE86413@cicely7.cicely.de> <ef53e666-237f-bb96-efaa-d8b9e020488e@selasky.org> <20180309004433.GI86413@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 touchscreen send absolute coordinates or relative coordinates. You can do it with usbhidctl(1). See the collection, items and get the values parsed by the HID layer. If it helps, let me know. Roberto Fernandez Cueto On Fri, Mar 09, 2018 at 01:44:34AM +0100, 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. > >=20 > > ktrace is also your friend. > >=20 > > dd if=3D/dev/input/event0 bs=3D1 > >=20 > > Also check ownership of devices, that X.org can read from them. >=20 > It happens earlier, /dev/input/event0 delivers nothing at all. > But usbdump is interesting. > I've booted with webcamd disabled, started usbdump and started webcamd. >=20 > This is what I get: > [22]sa# usbdump -v -f 4 > 00:30:09.379930 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.382401 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.382448 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.385398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.385439 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 02 03 09 04 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.388398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 12 03 42 00 -- -- -- -- -- -- -- -- -- -- -- -- |..B. = | > 00:30:09.388434 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 02 03 09 04 12 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 18 bytes > 00:30:09.391399 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D20,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 18 bytes > 0000 12 03 42 00 79 00 20 00 5A 00 48 00 38 00 35 00 |..B.y. .Z.H.8.5= .| > 0010 31 00 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |1. = | > 00:30:09.391474 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.394398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.394435 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.397398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.397436 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 01 03 09 04 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.400398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 14 03 42 00 -- -- -- -- -- -- -- -- -- -- -- -- |..B. = | > 00:30:09.400433 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 01 03 09 04 14 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 20 bytes > 00:30:09.403398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D20,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 20 bytes > 0000 14 03 42 00 59 00 5A 00 48 00 59 00 59 00 5A 00 |..B.Y.Z.H.Y.Y.= Z.| > 0010 48 00 59 00 -- -- -- -- -- -- -- -- -- -- -- -- |H.Y. = | > 00:30:09.403440 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.406398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.406437 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.409397 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.409434 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 03 03 09 04 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.412398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 1A 03 1A 00 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.412434 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 03 03 09 04 1A 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 26 bytes > 00:30:09.415398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D28,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 26 bytes > 0000 1A 03 1A 00 95 00 50 00 33 00 39 00 31 00 31 00 |......P.3.9.1.1= .| > 0010 06 00 32 00 33 00 39 00 38 00 -- -- -- -- -- -- |..2.3.9.8. = | > 00:30:09.420243 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.422400 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.422441 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.425398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.425436 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 03 03 09 04 04 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 4 bytes > 00:30:09.428398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 4 bytes > 0000 1A 03 1A 00 -- -- -- -- -- -- -- -- -- -- -- -- |.... = | > 00:30:09.428436 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 80 06 03 03 09 04 1A 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 26 bytes > 00:30:09.431398 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D28,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 26 bytes > 0000 1A 03 1A 00 95 00 50 00 33 00 39 00 31 00 31 00 |......P.3.9.1.1= .| > 0010 06 00 32 00 33 00 39 00 38 00 -- -- -- -- -- -- |..2.3.9.8. = | > 00:30:09.431941 usbus0.4 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 21 0A 00 00 00 00 00 00 -- -- -- -- -- -- -- -- |!....... = | > 00:30:09.433396 usbus0.4 DONE-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN= =3D0,IVAL=3D0,ERR=3DSTALLED > frame[0] WRITE 8 bytes > 00:30:09.433442 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 81 06 00 22 00 00 FB 00 -- -- -- -- -- -- -- -- |...".... = | > frame[1] READ 251 bytes > 00:30:09.439403 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D252,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 251 bytes > 00:30:09.447376 usbus0.4 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D8,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 A1 01 02 03 00 00 02 00 -- -- -- -- -- -- -- -- |........ = | > frame[1] READ 2 bytes > 00:30:09.450400 usbus0.4 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN= =3D4,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] READ 2 bytes > 0000 02 0A -- -- -- -- -- -- -- -- -- -- -- -- -- -- |.. = | > 00:30:09.451878 usbus0.4 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D2,SLEN= =3D12,IVAL=3D0 > frame[0] WRITE 8 bytes > 0000 21 09 03 03 00 00 03 00 -- -- -- -- -- -- -- -- |!....... = | > frame[1] WRITE 3 bytes > 0000 03 02 00 -- -- -- -- -- -- -- -- -- -- -- -- -- |... = | > 00:30:09.454404 usbus0.4 DONE-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D2,SLEN= =3D0,IVAL=3D0,ERR=3D0 > frame[0] WRITE 8 bytes > frame[1] WRITE 3 bytes > 00:30:09.466235 usbus0.4 SUBM-INTR-EP=3D00000082,SPD=3DFULL,NFR=3D1,SLEN= =3D0,IVAL=3D10 > frame[0] READ 14 bytes > 00:30:09.523430 usbus0.4 DONE-INTR-EP=3D00000082,SPD=3DFULL,NFR=3D0,SLEN= =3D0,IVAL=3D10,ERR=3DCANCELLED >=20 > It is obvious that the communication fails very early. >=20 > --=20 > B.Walter <bernd@bwct.de> http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > _______________________________________________ > 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= " BALLY WULFF Games & Entertainment GmbH, Maybachufer 48-51, 12045 Berlin, Po= stanschrift: Postfach 44 01 57, 12001 Berlin Tel.: 030-620 02-0 FAX: 030-62= 0 02-200, Geschaeftsfuehrer: Thomas Niehenke, Lars Rogge, Thomas Wendt, Amt= sgericht Berlin-Charlottenburg HRB 139020 B, UST-IdNr. DE815328376 _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von Bally Wulff Games & Entertainment GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder Bally Wulff Games & Entertainment GmbH noch der Absender uebernehmen die Haftung fuer Viren. Es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 09.03.2018 09:19 von Fernandez-Cueto Roberto
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180309081911.GA65154>