Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2018 12:40:25 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        ticso@cicely.de, freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bernd Walter <ticso@cicely7.cicely.de>
Subject:   Re: webcamd based touchscreen problem on Pi3
Message-ID:  <20180309114025.GJ86413@cicely7.cicely.de>
In-Reply-To: <4765ef04-6fb1-f9dc-315d-c4419d6ba016@selasky.org>
References:  <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> <4765ef04-6fb1-f9dc-315d-c4419d6ba016@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/input/event0 bs=1
> >>
> >>Also check ownership of devices, that X.org can read from them.
> >
> 
> Can you try connecting the device through an external USB HUB?

This test has to wait for me to change the setup

> Can you capture the whole enumeration sequence. Can you also try setting 
> the UQ_NO_STRINGS quirk using usbconfig for this device and re-plug it?

This is on plug in:
[25]sa# usbdump -v -v -v -v -f 4
11:36:27.190408 usbus0.4 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  00 05 04 00 00 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0x50 <PROXY_BUFFER|MANUAL_STATUS|0>
 status 0xc03a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CONTROL_ACT|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.191546 usbus0.4 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 flags 0x50 <PROXY_BUFFER|MANUAL_STATUS|0>
 status 0xc03a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CONTROL_ACT|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.191568 usbus0.4 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0
 frame[0] WRITE 0 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc00a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.192542 usbus0.4 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 0 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc00a1 <OPEN|STARTED|CONTROL_XFR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.203447 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 01 00 00 08 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 8 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.206539 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 8 bytes
 0000  12 01 00 02 00 00 00 40  -- -- -- -- -- -- -- --  |.......@        |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.206618 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 01 00 00 12 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 18 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.209538 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 18 bytes
 0000  12 01 00 02 00 00 00 40  EF 0E 05 00 00 02 01 02  |.......@........|
 0010  03 01 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.209578 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 03 00 00 02 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 2 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.212537 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 2 bytes
 0000  04 03 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.212559 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 03 00 00 04 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 4 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.215537 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 4 bytes
 0000  04 03 09 04 -- -- -- --  -- -- -- -- -- -- -- --  |....            |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.215561 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 03 03 09 04 02 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 2 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.218536 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 2 bytes
 0000  1A 03 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.218557 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 03 03 09 04 1A 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 26 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.221536 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=28,IVAL=0,ERR=0
 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.      |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.221560 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 01 03 09 04 02 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 2 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.224537 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 2 bytes
 0000  14 03 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.224559 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 01 03 09 04 14 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 20 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.227536 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0
 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.            |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.227559 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 02 03 09 04 02 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 2 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.230537 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 2 bytes
 0000  12 03 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.230559 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 02 03 09 04 12 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 18 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.233536 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0
 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.              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.233590 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 02 00 00 09 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 9 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.236536 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=12,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 9 bytes
 0000  09 02 29 00 01 01 00 C0  32 -- -- -- -- -- -- --  |..).....2       |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.236560 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 06 00 02 00 00 29 00  -- -- -- -- -- -- -- --  |......).        |
 frame[1] READ 41 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.239537 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=44,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 41 bytes
 0000  09 02 29 00 01 01 00 C0  32 09 04 00 00 02 03 00  |..).....2.......|
 0010  00 00 09 21 10 01 00 01  22 FB 00 07 05 82 03 10  |...!....".......|
 0020  00 0A 07 05 01 03 40 00  10 -- -- -- -- -- -- --  |......@..       |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.239561 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  80 00 00 00 00 00 02 00  -- -- -- -- -- -- -- --  |........        |
 frame[1] READ 2 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.242536 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 2 bytes
 0000  00 00 -- -- -- -- -- --  -- -- -- -- -- -- -- --  |..              |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.242559 usbus0.4 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  00 09 01 00 00 00 00 00  -- -- -- -- -- -- -- --  |........        |
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.244538 usbus0.4 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.247225 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  81 06 00 22 00 00 FB 00  -- -- -- -- -- -- -- --  |..."....        |
 frame[1] READ 251 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.252550 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=252,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 251 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.252709 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
 frame[0] WRITE 8 bytes
 0000  81 06 00 22 00 00 FB 00  -- -- -- -- -- -- -- --  |..."....        |
 frame[1] READ 251 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a3 <OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
11:36:27.258546 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=252,IVAL=0,ERR=0
 frame[0] WRITE 8 bytes
 frame[1] READ 251 bytes
 flags 0x10 <PROXY_BUFFER|0>
 status 0xc01a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|CAN_CANCEL_IMMED|DOING_CALLBACK|0>

Will do the quirk test later.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180309114025.GJ86413>