From owner-freebsd-usb@freebsd.org Sun Feb 28 09:03:28 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93D54564C41; Sun, 28 Feb 2021 09:03:28 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpHVl5TvWz3Kjp; Sun, 28 Feb 2021 09:03:27 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id k13so22453654ejs.10; Sun, 28 Feb 2021 01:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T9FoOdL4E+xg7eebdDquKjXp/qlUHEsTa3VY11xnUAA=; b=iBarBJUBHl5hfM6M7pXkZsHlh1KvWftKs2JqNRd2XmPf5F4gPtCp4tJiiZrUtA4kA/ fo5czoK45eMiU8kyAkLHMDbMWZFIRIAMA9fnBr8PcFz52y3gfJl2AGRM+0o7lFigrJeN dyj3uY/SXRl9AbIzMiM9Nxftrzl8CWU761dTV0mFny1TQ8GJkeup8gjdLI+xnpUF3UIn 7M0KxKyJAjekMrs/1bOxJ4/jRXCVgSyXBh7ogtk2MPi175b/lalJxB1jDxupJflm4XB4 FpFrdfzMaEdYC9dSSm9yqdb9OPHc58k9OvfUIbYumJfbXZy4+ZZZYOUNhusco+Yl5gYp kk3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T9FoOdL4E+xg7eebdDquKjXp/qlUHEsTa3VY11xnUAA=; b=HEDXgwebN53wt65XhpLFG3l9uxvuACe/ZTvkw/aJUQprxdvdInwfuYXTpCAulaexta dsZ9USsUn2v1FMmJvG/AR+3XHEziPhOvsddsNlRRwh0c53byUsenfL/EArLkOIbfPyf/ ENYaf1ZgZXbwIDoE+Q6yzdifxbZMM8G36IYcKU/9clVucs9zMGQV13sKjd5n8QIAzA03 qxh1TCPup2xSyBFLMfWpu8aUJhlLowkHnWBZSJ1njMF8GXz9y2cgAXjghfDacSZcnNAm Q3PLApj2kqsCAUvDWZ4PxTzOK3jkVfm11FVJ0Nuc5+/25igAa9u0dsPGDsoKK5Toeyd8 2ZKg== X-Gm-Message-State: AOAM532ECtAWcB3eBFQGcXmVv6dxCSAIpid++K9qqyf7W8b2/jXnpgGj 5QXFSm8J96ImEmF9JVPI2lNuoIsJbuLjKBPJ0yn6mf32Deo= X-Google-Smtp-Source: ABdhPJzTgBu3KOLmdNevF+sH+2fCGoZx76WS75n7YJ5xI8cyfpnzBu4qqju7mFaBfdIrhID4FMgPPMzCh5DWPaM8g4s= X-Received: by 2002:a17:906:110d:: with SMTP id h13mr8320043eja.357.1614503006051; Sun, 28 Feb 2021 01:03:26 -0800 (PST) MIME-Version: 1.0 References: <83f7a6dd-5d7e-cfd2-e580-4db0c7134220@capeaugusta.com> In-Reply-To: <83f7a6dd-5d7e-cfd2-e580-4db0c7134220@capeaugusta.com> From: KOT MATPOCKuH Date: Sun, 28 Feb 2021 12:03:06 +0300 Message-ID: Subject: Re: uchcom update To: Ian FREISLICH Cc: freebsd-usb@freebsd.org, FreeBSD Current , freebsd-stable List X-Rspamd-Queue-Id: 4DpHVl5TvWz3Kjp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iBarBJUB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of matpockuh@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=matpockuh@gmail.com X-Spamd-Result: default: False [-2.02 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(0.98)[0.976]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::629:from]; TO_DN_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::629:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-usb,freebsd-current,freebsd-stable]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Mailman-Approved-At: Sun, 28 Feb 2021 09:31:04 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 09:03:28 -0000 Hello! I'm using FreeBSD 12.2-STABLE r368656 and got usb-to-rs232 with this controller. I see /dev/cuaU0 after plugging in adapter, I can attach to serial line using cu, but after sending any symbol to device I have device reconnection= : uchcom0 on uhub0 uchcom0: on usbus0 uchcom0: CH340 detected uchcom0: at uhub0, port 9, addr 17 (disconnected) uchcom0: detached uchcom0 on uhub0 uchcom0: on usbus0 uchcom0: CH340 detected =D0=B2=D1=82, 5 =D0=B8=D1=8E=D0=BD. 2018 =D0=B3. =D0=B2 15:05, Ian FREISLIC= H : > On 05/22/2018 09:44 AM, Andriy Gapon wrote: > > Yesterday I committed some changes to uchcom (so far, only in CURRENT). > > Commits are r333997 - r334002. > > > > If you have a CH340/341 based USB<->RS232 adapter and it works for you, > could > > you please test that it still does? > > If you tried your adapter in the past and it did not work, there is a > chance it > > might start working now. Could you please test that as well? > > ugen5.4: at usbus5, cfg=3D0 md=3DHOST spd= =3DFULL > (12Mbps) pwr=3DON (96mA) > ugen5.4.0: uchcom0: > > It's not made it any worse. I'm not using this adapter by choice - it's > a USB to Maxim (Dallas) one-wire bus adapter. The manual used to state > that these are possibly the worst chips ever. Is that still the > prevailing opinion? > > Ian > > -- > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 MATPOCKuH