Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2022 13:55:22 +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:  <752FCC61-496D-40C5-8A99-143F15B1EE84@Chaos1.DE>
In-Reply-To: <84c5bc0b-1c72-d50d-6289-ac91a0878bd1@selasky.org>
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> <F81783C4-F79F-48A1-A5BE-25D997DF29DA@Chaos1.DE> <beafa2e5-17e7-491a-d104-a0ede1b69ce3@selasky.org> <490EBA38-E103-4DC1-8A42-E16A8279980D@Chaos1.DE> <017C6EBE-910E-43E7-AAF7-A3D9ECE85EFF@Chaos1.DE> <84c5bc0b-1c72-d50d-6289-ac91a0878bd1@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]


> Am 04.10.2022 um 13:43 schrieb Hans Petter Selasky <hps@selasky.org>:
> 
> Did you clear the endpoint halt condition (for RX BULK endpoint and TX BULK endpoint), to reset the so-called USB data-toggle, before starting to communicate with the device? Else you risk loosing a USB packet?

If I do not want to touch th USB stuff, can I get the same effect by close/open of the serial device?

Axel
---
PGP-Key: CDE74120  ☀  computing @ chaos claudius


[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 04.10.2022 um 13:43 schrieb Hans Petter Selasky &lt;<a href="mailto:hps@selasky.org" class="">hps@selasky.org</a>&gt;:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Did you clear the endpoint halt condition (for RX BULK endpoint and TX BULK endpoint), to reset the so-called USB data-toggle, before starting to communicate with the device? Else you risk loosing a USB packet?</span><br class=""></div></blockquote><br class=""></div><div>If I do not want to touch th USB stuff, can I get the same effect by close/open of the serial device?</div><div><br class=""></div><div>Axel</div><div><span style="orphans: 2; text-align: -webkit-auto; widows: 2;" class="">---</span></div><div class=""><div dir="auto" style="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-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="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-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="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=""><div style="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=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: 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=""><div class="">PGP-Key:&nbsp;CDE74120 &nbsp;☀ &nbsp;computing @ chaos claudius</div></div></div></div></div></div>
</div>
<br class=""></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?752FCC61-496D-40C5-8A99-143F15B1EE84>