I purchased the Waveshare ETH/USB hub hat which adds an ethernet port and 3 USB-A ports to a Raspberry Pi Zero however I am finding difficulties to get it working with the DietPi distribution.
These are the steps I followed:
I have added it to my Raspberry Pi ZW and loaded up the latest version of the DietPi 8.14.2 (ARM v6) for the Raspberry Pi 1/Zero.
After doing the changes in the dietpi.txt and dietpi-wifi.txt files (to automatically add the WiFi details) and editing the config.txt file (to add “dtoverlay=dwc2,dr_mode=host” in order to enable the hub, as per the instructions from the Wiki) y get the microSd card into the Pi, let it boot for the first time and give it a few minutes to do its first boot.
I connect via SSH, do the initial configuration, change passwords, install software etc, and done.
I then execute the dietpi-config to go onto option 7 “Network Options : Adapters” and can see that the Ethernet Adapter options appear as “Not Found [Off] Disconnected”. Selecting it indicates “No ethernet adapter was detected on your device”.
If I am honest, I have not tried the USB ports yet, and I have not tested with the Raspberry Pi OS yet either. I will try both and will report once done.
When I plug a USB stick nothing happens.
fdisk -l does now show any additional devices (other than the ram and sd card ones associated with the dietpi install) in /dev/
It seems that your suspicion about the lack of power may be it, although the USB charger I am using to power the R.Pi Zero is rated 5v 1A and should be enough for it.
I will try a different charger rated 2A in a bit,
Jep, that looks pretty much like a USB powering issue, affecting the whole HAT that way, or bad physical connection. What does vcgencmd get_throttled show?
Changing to a 2 amps microusb charger did not resolve the issue.
Ethernet Adapter options stil appear as “Not Found [Off] Disconnected” / “No ethernet adapter was detected on your device” in 7 “Network Options : Adapters” from dietpi-config.
Well, it behaves the same in a freshly Raspberry Pi OS Lite installed. Same behaviour (Flash drives do not appear anywhere) so I must be doing something wrong.
The hat itself can be connected to one of my laptop USBs and is recognised (pluggin a USB drive in the hat will automount the contents) so the hat does work.
I have had enough for today, so will try again in a few days. If anyone has had experience with these hats and can suggest anything, please do. Many thanks.
I will attach the full dmesg output from the Rasperry Pi OS for reference, but I cannot see any errors.
Make sure those pogopins are touching the little pads underneath good too…if they all aren’t touching properly USB won’t work, plus the RPi0 needs to be snuggly attached to the board
I have several of those and the newer PoE hat as well
If they are touching…and it still doesn’t work…rma it and get a new one
What version of RPi0 do you have…some of these hats only work with the later revisions
Make sure you don’t have it mounted backwards (ask me how I know )
Yeah, sounds like you might have gotten a bum unit…if it’s not working on the hardware something either the pi, or the hat is not working, especially if you replaced the os and it does the same thing