Date: Mon, 13 Jan 2020 15:44:50 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: Hans Petter Selasky <hps@selasky.org> Cc: Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID Message-ID: <alpine.BSF.2.20.2001131539550.36878@puchar.net> In-Reply-To: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> References: <alpine.BSF.2.20.2001131439440.2189@puchar.net> <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Can you check the USB speed used between PC and RPI-zero ? Is one perhaps > High-Speed, while the other is, Full-Speed? > > If yes, try to connect a high-speed USB hub in between. > > Output from: > usbconfig > > > You can also check using "usbdump -i usbus0 -s 65536" to see the actual > timing of the commands. > output is like that 15:35:24.495838 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.503590 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.503829 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.519580 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.519823 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.521235 usbus0.2 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:35:24.527603 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.527631 usbus0.2 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:35:24.527861 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.535588 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.535848 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.543648 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.543978 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.559587 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.559839 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.567584 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.567823 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.575585 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.575824 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.583587 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.583824 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.599583 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.599827 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.607586 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.607830 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.615583 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.615826 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 there is over 10ms between each transmission. same on PC 15:43:31.331678 usbus1.6 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:43:31.332370 usbus1.6 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:43:31.332523 usbus1.6 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:43:31.333372 usbus1.6 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:43:31.333491 usbus1.6 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:43:31.334376 usbus1.6 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:43:31.334403 usbus1.6 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:43:31.334461 usbus1.6 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:43:31.335498 usbus1.6 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:43:31.335612 usbus1.6 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 device is the same hardware with the same firmware. What causes larger delays?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2001131539550.36878>