Date: Mon, 3 Oct 2022 17:50:57 +0200 From: Axel Rau <Axel.Rau@Chaos1.DE> To: Hans Petter Selasky <hps@selasky.org> Cc: hardware@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Accessing I2C-Bus via ELV USB-I2C Message-ID: <602324D8-515B-4061-8689-5638E9A82759@Chaos1.DE> In-Reply-To: <37c55124-5cd5-6fd1-ca46-9265ebe47b18@selasky.org> References: <996df5c0-ffa7-f1bf-a9e2-6dd47d7b49e6@Chaos1.DE> <35D556D7-56EC-4295-93D6-80A4CFE6DCE9@Chaos1.DE> <37c55124-5cd5-6fd1-ca46-9265ebe47b18@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_9287BA0D-147A-4061-AAD0-D00C73E2A288 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 03.10.2022 um 17:38 schrieb Hans Petter Selasky <hps@selasky.org>: >=20 > On 10/3/22 17:26, Axel Rau wrote: >> Questions: >> 1. On usbdump, why is the hexdump mssing on some lines like >> frame[0] WRITE <n> bytes ? >=20 > The -s arguments tells to only grab the first 1024 bytes. Maybe it is = truncated. >=20 > Try setting -s to 65536 >=20 That does not help: - - -=20 usbdump -d ugen1.3 -v -v -v -s 65536 > usb.txt - - - 15:46:38.539679 usbus1.3 DONE-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D= 0,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes flags 0 <0> status 0xca1a1 <OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SE= TUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0> - - - Axel =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius --Apple-Mail=_9287BA0D-147A-4061-AAD0-D00C73E2A288 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbs= p-mode: space; line-break: after-white-space;" class=3D""><br class=3D"">= <div><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">= Am 03.10.2022 um 17:38 schrieb Hans Petter Selasky <<a href=3D"mailto:= hps@selasky.org" class=3D"">hps@selasky.org</a>>:</div><br class=3D"Ap= ple-interchange-newline"><div class=3D""><div class=3D"">On 10/3/22 = 17:26, Axel Rau wrote:<br class=3D""><blockquote type=3D"cite" class=3D""= >Questions:<br class=3D"">1. On usbdump, why is the hexdump mssing on = some lines like<br class=3D""><span class=3D"Apple-tab-span" style=3D"whi= te-space:pre"> </span>frame[0] WRITE <n> bytes ?<br class=3D"= "></blockquote><br class=3D"">The -s arguments tells to only grab the = first 1024 bytes. Maybe it is truncated.<br class=3D""><br class=3D"">Try= setting -s to 65536<br class=3D""><br class=3D""></div></div></blockquot= e><br class=3D""></div><div>That does not help:</div><div>- - - </di= v><div><div><span style=3D"font-family: Monaco; font-size: 11px; = background-color: rgb(255, 255, 255);" class=3D"">usbdump -d ugen1.3 -v = -v -v -s 65536 > usb.txt</span></div><div>- - -</div><div>15:46:38.539= 679 usbus1.3 DONE-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D0,IVAL=3D0= ,ERR=3D0</div><div> frame[0] WRITE 8 bytes</div><div> flags 0 = <0></div><div> status 0xca1a1 <OPEN|STARTED|CONTROL_XFR|CON= TROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING_CALLBACK|0></di= v><div class=3D"">- - -</div><div class=3D""><br class=3D""></div></div>A= xel<br class=3D""><div class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, = 0); letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tex= t-stroke-width: 0px; text-decoration: none; word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div= dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); = letter-spacing: normal; text-align: start; text-indent: 0px; text-transfo= rm: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-wid= th: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-li= gatures: normal; font-variant-position: normal; font-variant-caps: = normal; font-variant-numeric: normal; font-variant-alternates: normal; = font-variant-east-asian: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; orphans: 2; text-align: -webkit-auto; = text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;= -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><di= v class=3D"">---<br class=3D"">PGP-Key: CDE74120 =E2=98=80 = computing @ chaos claudius</div></div></div></div></div></div> </div> <br class=3D""></body></html> --Apple-Mail=_9287BA0D-147A-4061-AAD0-D00C73E2A288--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?602324D8-515B-4061-8689-5638E9A82759>