From nobody Fri Dec 24 04:32:41 2021 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 094EB19048DD for ; Fri, 24 Dec 2021 04:32:52 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JKvLW6bhRz3nLS for ; Fri, 24 Dec 2021 04:32:51 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-ed1-x534.google.com with SMTP id z29so29018519edl.7 for ; Thu, 23 Dec 2021 20:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yNBR9KNKT6svpQi1JBgLnSbtontEoGKwz+drMdfoiN4=; b=XPGK4PqrUmoa3X3HT3O3vaPWNPR1RZnnMNIRfDEWmHT+qD7V+USKBw1dkOM3rAhohd LnDqSSXjJBR0bdw9IEhTDtGemolsT5YAqldabW91KBhfM9ZkB4AVQI11nP6JspcNk+AB 6ghB1d6gPmndrmz1QzT22UDv5xM9+/YyKnrnetNE0D5GSISCK10NK6oy7dw09GjhIOh5 j3dWvRFWffZCzSIEnr6NhrK/sFHrAkjzFhx0CR/ayFLR8WhuHGuslTLTKN3qKi6kU3oL 9S614RWcOfhDnMrtb02HF0afQr9gruqcSLkAHKDvZwgcCWZ7Hdc793aFkXZNYLQmAT3G SsRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yNBR9KNKT6svpQi1JBgLnSbtontEoGKwz+drMdfoiN4=; b=vySc0m/GRDUrMrD5WXwBzGY9xT2EnuMEYl0OszdJ6cUhSlw34pOYIwhYqL43cDLYxz 3n3cbz+wVlgs441tc3iX7n5alDMbYiqlKZoE4DPtARHSXKH6d2hxChiVJ9YqU9YYLT1W ra+VY6HZMo1ormGWsj487meg1ux/Y1iBjca6B3n2nB+6AmsLQxWpn9T15P9NnTUuA26S mTQVZgz3DB8GWDMrX8u5YACpLJM4Z+e7lPyL6BI+Rdh7zDQrtmZAGR77MZIE4Sq/5Rt0 iaLwBRhoq/m5l7129IoNOFvkdQYjVhQDphoNhxeePUGbUbMNKQzOhJVzEIMBwkGThQfn /POA== X-Gm-Message-State: AOAM531nXkfEcyh6ET+haR4V1B7ZJtYbAaUxyDucaG8eFfa4P4l7Pe6s /l8V8IPVjIfh5o3+iOEd/sPtHtxvNZeBkfHfrn2iSeZYub4= X-Google-Smtp-Source: ABdhPJx2tcekVHe5taQYrXoPLUN8Br73+/vFpxN+opDhcIqWiLriYZmZVpRNwB4XpGDz/OWlFczBrpf3GB8ectEQ/as= X-Received: by 2002:a17:906:990c:: with SMTP id zl12mr3963715ejb.370.1640320369227; Thu, 23 Dec 2021 20:32:49 -0800 (PST) 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 References: <202112231500.1BNF0FgX014693@mail.karels.net> In-Reply-To: From: Archimedes Gaviola Date: Fri, 24 Dec 2021 12:32:41 +0800 Message-ID: Subject: Re: Raspberry Pi 4B does not detect devices in USB 3.0 To: "Daniel O'Connor" Cc: mike@karels.net, freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ecfa7a05d3dcd87a" X-Rspamd-Queue-Id: 4JKvLW6bhRz3nLS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000ecfa7a05d3dcd87a Content-Type: text/plain; charset="UTF-8" On Fri, Dec 24, 2021 at 10:49 AM Daniel O'Connor wrote: > > > > On 24 Dec 2021, at 02:25, Archimedes Gaviola < > archimedes.gaviola@gmail.com> wrote: > > Are you using the boot files that came with 13.0 (dtb, etc)? > > > > Yes, I am. I have not changed anything that came from 13.0 files, it's > all intact since I wrote the image to the microSD card. > > > > To be specific with my USB devices, this is an input and an output > device. I have an RFID card reader and an Epson TM-U22B USB printer > (self-powered) which are detected and work well with USB 2.0. Below dmesg > log shows the drivers of my printer and RFID card reader. As soon as these > devices are transferred to the blue-colored USB 3.0 ports these drivers > will no longer show up in the dmesg. > > > > ugen0.3: at usbus0 > > ugen0.4: at > usbus0 > > ukbd0 on uhub1 > > ukbd0: on usbus0 > > kbd1 at ukbd0 > > uhid0 on uhub1 > > uhid0: on usbus0 > > For what it's worth I have successfully used USB devices on the USB3 ports > with FreeBSD 13 on an RPi4: > ugen0.1: <0x1106 XHCI root HUB> at usbus0 > ... > uhub0 on usbus0 > uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > ... > uhub1 on uhub0 > uhub1: on > usbus0 > uhub1: 4 ports with 4 removable, self powered > ugen0.3: at usbus0 > ugen0.4: at usbus0 > ukbd0 on uhub1 > ukbd0: on > usbus0 > kbd1 at ukbd0 > > I have also used a custom Cypress FX2 based board on it with no problems. > > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > Thanks Daniel for sharing your experience with your RPi4! My next step will be to secure another board (with the same specs) and check if it behaves the same. I'll burn another 13.0 image to further verify just in case it still fail. --000000000000ecfa7a05d3dcd87a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Dec 24, 2021 at 10:49 AM Dani= el O'Connor <darius@dons.net.a= u> wrote:


> On 24 Dec 2021, at 02:25, Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:
> Are you using the boot files that came with 13.0 (dtb, etc)?
>
> Yes, I am. I have not changed anything that came from 13.0 files, it&#= 39;s all intact since I wrote the image to the microSD card.
>
> To be specific with my USB devices, this is an input and an output dev= ice. I have an RFID card reader and an Epson TM-U22B USB printer (self-powe= red) which are detected and work well with USB 2.0. Below dmesg log shows t= he drivers of my printer and RFID card reader. As soon as these devices are= transferred to the blue-colored USB 3.0 ports these drivers will no longer= show up in the dmesg.
>
> ugen0.3: <EPSON EPSON UB-U03II> at usbus0
> ugen0.4: <Sycreader RFID Technology Co., Ltd SYC IDIC USB Reader>= ; at usbus0
> ukbd0 on uhub1
> ukbd0: <USB Standard Keyboard> on usbus0
> kbd1 at ukbd0
> uhid0 on uhub1
> uhid0: <USB Vender Hid> on usbus0

For what it's worth I have successfully used USB devices on the USB3 po= rts with FreeBSD 13 on an RPi4:
ugen0.1: <0x1106 XHCI root HUB> at usbus0
...
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on us= bus0
...
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> o= n usbus0
uhub1: 4 ports with 4 removable, self powered
ugen0.3: <PixArt Microsoft USB Optical Mouse> at usbus0
ugen0.4: <BTC USB Multimedia Keyboard> at usbus0
ukbd0 on uhub1
ukbd0: <BTC USB Multimedia Keyboard, class 0/0, rev 1.10/1.00, addr 3>= ; on usbus0
kbd1 at ukbd0

I have also used a custom Cypress FX2 based board on it with no problems.
--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
=C2=A0-- Andrew Tanenbaum

--000000000000ecfa7a05d3dcd87a--