From nobody Mon Feb 14 22:22:33 2022 X-Original-To: freebsd-arm@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 287A419C23ED for ; Mon, 14 Feb 2022 22:23:00 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net [IPv6:2403:5800:5200:4700:225:90ff:fe47:39b4]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "dons.net.au", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JyJdF5rRqz3D2w for ; Mon, 14 Feb 2022 22:22:57 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.17.1/8.16.1) with ESMTPS id 21EMMbNv001308 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 15 Feb 2022 08:52:37 +1030 (ACDT) (envelope-from darius@dons.net.au) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1644877363; bh=DyH/6cOrBvFNicySGUjkRHSS+bJ9Pa6loAdwkNBrXbE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=EBN7aYbAvYIP3qHyIX0o1nvkE+Ksram4mu0g35KKEnJ+6nOQRk3TDSa0b0QFTlCns a1QUStCowwLmzgqjegxWmJ68KZpMnLzbpkHJhfzHCFy7Qjxx+PtJ+R3YIVq+AW3Td3 QglcqI037Cscr4Odj7lZ8m81ijUcbQrxBdD1Vlcc= Received: (from mailnull@localhost) by midget.dons.net.au (8.17.1/8.16.1/Submit) id 21EMMYRx001305 for ; Tue, 15 Feb 2022 08:52:34 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-0ce1a11234c790b6ab6410cd70c6fdb820520472: 2403:5800:5200:4700:71db:5efa:17ee:434c Received: from smtpclient.apple (2403-5800-5200-4700-71db-5efa-17ee-434c.ip6.aussiebb.net [2403:5800:5200:4700:71db:5efa:17ee:434c]) by 2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net (envelope-sender ) (MIMEDefang) with ESMTP id 21EMMYao001298; Tue, 15 Feb 2022 08:52:34 +1030 Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: Raspberry Pi 4B does not detect devices in USB 3.0 From: "Daniel O'Connor" In-Reply-To: Date: Tue, 15 Feb 2022 08:52:33 +1030 Cc: mike@karels.net, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202112231500.1BNF0FgX014693@mail.karels.net> To: Archimedes Gaviola X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Spam-Score: 0.6 () No, score=0.6 required=5.0 tests=KHOP_HELO_FCRDNS, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.5 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4JyJdF5rRqz3D2w X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dons.net.au header.s=default header.b=EBN7aYbA; dmarc=pass (policy=quarantine) header.from=dons.net.au; spf=pass (mx1.freebsd.org: domain of darius@dons.net.au designates 2403:5800:5200:4700:225:90ff:fe47:39b4 as permitted sender) smtp.mailfrom=darius@dons.net.au X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 1572 Lines: 35 > On 14 Feb 2022, at 23:10, Archimedes Gaviola = wrote: > I just tried my new RPI4 board and it seems to work fine the same as = my old board. I just observed that the problem is when my VFD (vacuum = fluorescent display) device is connected to either of the two USB 3.0 = ports, this device having uplcom(4) driver is not detected. I wonder if the VFD is causing interference - it likely has a high = voltage supply and those are notorious for generating electrical noise. > It's a Prolific USB-serial device having PL2303 chipset. However, when = plugged-in to USB 2.0 ports, this device is detected and functioning. I = can send characters with the echo command and redirect it to /dev/cuaU0 = for display without any problem. Other observations when this VFD device = is connected to either 3.0 ports, the 2.0 ports will not function i.e. = plugging-in any USB devices like my keyboard or my EMV reader. When this = device is also connected to either of the 2.0 ports, the other 2.0 port = is functioning for other USB devices while 3.0 ports are not. I attached = two dmesg outputs when the device is detected with 2.0 ports and = undetected with 3.0. I also include kldstat and usbdump. I would be curious if putting the VFD on a longer cable, or wrapping the = cable through a ferrite, or using an external hub fixes it. Any of those would give a bit more isolation between the VFD and USB3 = hardware. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum