I cant say exacly how much power the Laptop is giving to the Pi but iam 99% sure its enough, the Raspberry is connected through a thunderbolt port which should be more than capable of delivering enough power for the RaspberryPi.Power might also be an issue. If the Pi is solely powered by the laptop enough current may not be available. USB2 devices shouldn't draw more than 500mA (100mA before enumeration), USB3 devices without PD should draw no more than 900mA. 500mA is border line for a 4B let a lone a Pi5.
Don't know much about the thunderbolt specs. The Pi5 uses USB PD and requires a 5V/5A mode for full functionality. If the other end doesn't support that I'd expect the most you'll get is 5V/3A but that very much depends on what the laptop offers/defaults to.
On your config.txt:
- You could remove . It should never be active on a P5.
Code:
[cm5]dtoverlay=dwc2,dr_mode=peripheral
- Try changingto
Code:
[all]dtoverlay=dwc2,dr_mode=peripheral
There is no ID pin on the USB C connector and the SoC pin is left floating so peripheral is the default.Code:
[all]dtoverlay=dwc2
I usually pass module parameters in cmdline.txt not via a .conf file. For example:
Code:
modules-load=dwc2,g_ether g_ether.dev_addr=12:22:33:44:55:66 g_ether.host_addr=16:22:33:44:55:66
That's not the way I do it. I generally create a non-sparse file then partition and format it on the target OS by passing it to g_mass_Storage.
You need to start looking at your logs. Bookworm doesn't use /var/log/syslog so see the ouput from dmesg and journalctl
Bottom Line: if your current g_multi setup can be seen on the same laptop after booting/outside its BIOS the BIOS is almost certainly the problem.
Statistics: Posted by thagrol — Tue Jul 23, 2024 12:34 pm