From nobody Mon Oct 3 23:35:47 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MhHJk5Dw0z4V46S; Mon, 3 Oct 2022 23:35:50 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout5.lrau.net (mailout5.lrau.net [IPv6:2a05:bec0:26:5::73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailout5.lrau.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MhHJj3gL6z3Y8W; Mon, 3 Oct 2022 23:35:49 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=2022; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type :Message-Id:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=BV7zLkLIfPvLGwJBSbY45l/hG6g3N1kSi+nW+wS/aX4=; b=lZwtJWIVEQtpZBg0Qg1wfrFQAT Y4VPtedwH/MLDBLOVBKgvD7MTUruZC7+Hq+1sKYheRn4dO5PEGwAPSbFciQe2NCITMWgHKTQ3VWUw kviQ0+tH6ASrZcTAXs8aSMruhtKhTDHEobtfK628HgtGqC+HcMvvOvh6G+E7+UXY6sVWBzai0RlQr LK8xiNodzDUb6kbMDpkjsb06ID+/i8pqgialFU9tUjZidAsf40pOE0zH61ORo8K9kRn75diylSSUj AGgaCQe34Z8kVBfNjDUBUBhEtbDqjLWZEw6bkYKEEnCX7drSiRrXRMHBG7/u58/TJXKSwxPzXXOtW jeH0HANg==; Received: from [2a05:bec0:26:5::74] (helo=imap5.lrau.net) by mailout5.lrau.net with esmtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1ofUyS-0004v4-7T; Mon, 03 Oct 2022 23:35:48 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1664840147-10753-8168/7/134; Mon, 3 Oct 2022 23:35:47 +0000 From: Axel Rau Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_1FC94436-7C1D-49C5-8D20-E39F94CC131C" List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Subject: Re: Accessing I2C-Bus via ELV USB-I2C Date: Tue, 4 Oct 2022 01:35:47 +0200 In-Reply-To: <2cb6203f-03da-9a05-24a5-c851f1424503@selasky.org> Cc: hardware@freebsd.org, freebsd-hackers@freebsd.org To: Hans Petter Selasky References: <996df5c0-ffa7-f1bf-a9e2-6dd47d7b49e6@Chaos1.DE> <35D556D7-56EC-4295-93D6-80A4CFE6DCE9@Chaos1.DE> <37c55124-5cd5-6fd1-ca46-9265ebe47b18@selasky.org> <602324D8-515B-4061-8689-5638E9A82759@Chaos1.DE> <2cb6203f-03da-9a05-24a5-c851f1424503@selasky.org> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4MhHJj3gL6z3Y8W X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=2022 header.b=lZwtJWIV; dmarc=none; spf=none (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE has no SPF policy when checking 2a05:bec0:26:5::73) smtp.mailfrom=Axel.Rau@Chaos1.DE X-Spamd-Result: default: False [-4.00 / 15.00]; DWL_DNSWL_LOW(-1.00)[chaos1.de:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_LOW(-0.20)[2a05:bec0:26:5::73:from,2a05:bec0:26:5::74:received]; R_DKIM_ALLOW(-0.20)[chaos1.de:s=2022]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_NA(0.00)[no SPF record]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:197071, ipnet:2a05:bec0::/29, country:DE]; MLMMJ_DEST(0.00)[hardware@freebsd.org,freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[chaos1.de:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[chaos1.de]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_1FC94436-7C1D-49C5-8D20-E39F94CC131C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 03.10.2022 um 17:57 schrieb Hans Petter Selasky : >=20 > Can you show the full sequence from the SUBM-CTRL-EP ? - - - 15:46:38.538480 usbus1.3 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 41 07 01 01 00 00 00 00 -- -- -- -- -- -- -- -- |A....... = | flags 0 <0> status 0xca1a3 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 15:46:38.539719 usbus1.3 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 41 07 02 02 00 00 00 00 -- -- -- -- -- -- -- -- |A....... = | flags 0 <0> status 0xea1a3 15:46:38.540291 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 0xea1a1 - - - Axel =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius --Apple-Mail=_1FC94436-7C1D-49C5-8D20-E39F94CC131C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
=

= Am 03.10.2022 um 17:57 schrieb Hans Petter Selasky <hps@selasky.org>:

Can you show the full sequence from the SUBM-CTRL-EP ?<= br style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; font-style: normal; font-variant-caps: normal; font-weig= ht: normal; 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;" class=3D"">
- - -
15:46:38.538480 usbus1.3 = SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D8,IVAL=3D0
 frame[0] WRITE 8 bytes
 0000 =  41 07 01 01 00 00 00 00  -- -- -- -- -- -- -- --  |A.....= ..        |
 flags 0 = <0>
 status 0xca1a3 <OPEN|TRANSFERRING= |STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|= DOING_CALLBACK|0>
15:46:38.539679 usbus1.3 = DONE-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
 frame[0] WRITE 8 bytes
 = flags 0 <0>
 status 0xca1a1 <OPEN|STAR= TED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMMED|DOING= _CALLBACK|0>
15:46:38.539719 usbus1.3 SUBM-CTRL-E= P=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D8,IVAL=3D0
&n= bsp;frame[0] WRITE 8 bytes
 0000  41 07 = 02 02 00 00 00 00  -- -- -- -- -- -- -- --  |A.......   =      |
 flags 0 <0>
<= div class=3D""> status 0xea1a3 <OPEN|TRANSFERRING|STARTED|CONTROL= _XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOI= NG_CALLBACK|0>
15:46:38.540291 usbus1.3 DONE-CTRL= -EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
 frame[0] WRITE 8 bytes
 flags = 0 <0>
 status 0xea1a1 <OPEN|STARTED|CO= NTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMME= D|DOING_CALLBACK|0>
- - -
Axel
---
PGP-Key: CDE74120  =E2=98=80 =  computing @ chaos claudius

--Apple-Mail=_1FC94436-7C1D-49C5-8D20-E39F94CC131C--