Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2021 23:55:54 +0800
From:      Archimedes Gaviola <archimedes.gaviola@gmail.com>
To:        mike@karels.net
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Raspberry Pi 4B does not detect devices in USB 3.0
Message-ID:  <CAJFbk7EAoit=e-14sg7YGHMtf7qWA5VjDgnnn4xt9tMERjt17Q@mail.gmail.com>
In-Reply-To: <202112231500.1BNF0FgX014693@mail.karels.net>
References:  <CAJFbk7E=t4ezXVgTTGQdsxNbAEgUJfRU5Phk=gy4m2ovBMzhww@mail.gmail.com> <202112231500.1BNF0FgX014693@mail.karels.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000087745905d3d24665
Content-Type: text/plain; charset="UTF-8"

On Thu, Dec 23, 2021 at 11:00 PM Mike Karels <mike@karels.net> wrote:

> > Hi,
>
> > I have successfully installed FreeBSD 13.0-RELEASE #0
> > releng/13.0-n244733-ea31abc261f in Raspberry Pi 4B with 2GB RAM. USB
> > devices work well and get detected with the USB 2.0 ports however when
> > tried with USB 3.0 ports all these devices can't be detected thus will
> not
> > work. My config.txt has the following contents. Anything I missed? I also
> > attached the dmesg output.
>
> > freebsd@freebsd13:/boot/msdos % cat config.txt
> > [all]
> > arm_64bit=1
> > dtparam=audio=on,i2c_arm=on,spi=on
> > dtoverlay=mmc
> > dtoverlay=disable-bt
> > device_tree_address=0x4000
> > kernel=u-boot.bin
>
> Is that all?  The standard config.txt for RPI on 13.0 looks like this:
>
> [all]
> arm_64bit=1
> dtparam=audio=on,i2c_arm=on,spi=on
> dtoverlay=mmc
> dtoverlay=disable-bt
> device_tree_address=0x4000
> kernel=u-boot.bin
>
> [pi4]
> hdmi_safe=1
> armstub=armstub8-gic.bin
>
> I am running -current on an RPI4 with a USB3 SSD with that config.txt
> except that hdmi_safe is commented out.
>

Sorry, here's the complete config.txt file that I have. I removed
hdmi_safe=1 into hdmi_group=2 and hdmi_mode=14 since I used the tty console
for display.

[all]
arm_64bit=1
dtparam=audio=on,i2c_arm=on,spi=on
dtoverlay=mmc
dtoverlay=disable-bt
device_tree_address=0x4000
kernel=u-boot.bin

[pi4]
hdmi_group=2
hdmi_mode=14
armstub=armstub8-gic.bin


>
> 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: <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



>                 Mike
>
> > Thanks and best regards,
> > Archimedes
>

--00000000000087745905d3d24665
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 23, 2021 at 11:00 PM Mike Kar=
els &lt;<a href=3D"mailto:mike@karels.net">mike@karels.net</a>&gt; wrote:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; Hi,<br>
<br>
&gt; I have successfully installed FreeBSD 13.0-RELEASE #0<br>
&gt; releng/13.0-n244733-ea31abc261f in Raspberry Pi 4B with 2GB RAM. USB<b=
r>
&gt; devices work well and get detected with the USB 2.0 ports however when=
<br>
&gt; tried with USB 3.0 ports all these devices can&#39;t be detected thus =
will not<br>
&gt; work. My config.txt has the following contents. Anything I missed? I a=
lso<br>
&gt; attached the dmesg output.<br>
<br>
&gt; freebsd@freebsd13:/boot/msdos % cat config.txt<br>
&gt; [all]<br>
&gt; arm_64bit=3D1<br>
&gt; dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don<br>
&gt; dtoverlay=3Dmmc<br>
&gt; dtoverlay=3Ddisable-bt<br>
&gt; device_tree_address=3D0x4000<br>
&gt; kernel=3Du-boot.bin<br>
<br>
Is that all?=C2=A0 The standard config.txt for RPI on 13.0 looks like this:=
<br>
<br>
[all]<br>
arm_64bit=3D1<br>
dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don<br>
dtoverlay=3Dmmc<br>
dtoverlay=3Ddisable-bt<br>
device_tree_address=3D0x4000<br>
kernel=3Du-boot.bin<br>
<br>
[pi4]<br>
hdmi_safe=3D1<br>
armstub=3Darmstub8-gic.bin<br>
<br>
I am running -current on an RPI4 with a USB3 SSD with that config.txt<br>
except that hdmi_safe is commented out.<br></blockquote><div><br></div><div=
>Sorry, here&#39;s the complete config.txt file that I have. I removed=20
hdmi_safe=3D1 into=20
hdmi_group=3D2 and hdmi_mode=3D14 since I used the tty console for display.

</div><div><br></div><div>[all]<br>arm_64bit=3D1<br>dtparam=3Daudio=3Don,i2=
c_arm=3Don,spi=3Don<br>dtoverlay=3Dmmc<br>dtoverlay=3Ddisable-bt<br>device_=
tree_address=3D0x4000<br>kernel=3Du-boot.bin<br><br>[pi4]<br>hdmi_group=3D2=
<br>hdmi_mode=3D14<br>armstub=3Darmstub8-gic.bin<br>=C2=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex">
<br>
Are you using the boot files that came with 13.0 (dtb, etc)?<br></blockquot=
e><div><br></div><div>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 car=
d.</div><div><br></div><div>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 wel=
l with USB 2.0. Below dmesg log shows the drivers of my printer and RFID ca=
rd 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.<br></div><div=
><br></div><div>ugen0.3: &lt;EPSON EPSON UB-U03II&gt; at usbus0<br>ugen0.4:=
 &lt;Sycreader RFID Technology Co., Ltd SYC IDIC USB Reader&gt; at usbus0<b=
r>ukbd0 on uhub1<br>ukbd0: &lt;USB Standard Keyboard&gt; on usbus0<br>kbd1 =
at ukbd0<br>uhid0 on uhub1<br>uhid0: &lt;USB Vender Hid&gt; on usbus0</div>=
<div></div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Mike<br>
<br>
&gt; Thanks and best regards,<br>
&gt; Archimedes<br>
</blockquote></div></div>

--00000000000087745905d3d24665--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7EAoit=e-14sg7YGHMtf7qWA5VjDgnnn4xt9tMERjt17Q>