Skip to content

if rpi usb gadget is enabled the installation process hangs #18

@kan3nas

Description

@kan3nas

I have enabled the rpi-usb-gadget on my raspberry pi zero 2 w
when I have installed the initial image from the rpi imager.
The installation hangs with the following error:

System Reliability Features Enabled:

  • Hardware watchdog: Auto-reboot on system hang (watchdog.service)
  • Service auto-restart: All services restart on failure
  • Memory limits: Services limited to prevent OOM crashes
  • Kernel panic auto-reboot: 10 second timeout
  • WiFi auto-reconnect: Active monitoring (wifi-monitor.service)
  • WiFi power-save disabled: Prevents sleep-related disconnects

Loading USB gadget kernel modules...
USB gadget hardware detected. Switching to present mode...
./setup_usb.sh: line 1438: /home/pi/TeslaUSB/scripts/present_usb.sh: No such file or directory

doing again the
sudo ./setup_usb.sh

hangs again using the following error:

Network optimization complete!
CPU Governor: performance
CPU Freq: 1000000 kHz
TX Queue: 2000
Read-ahead: 2048 KB
Job for gadget_web.service failed because the control process exited with error code.
See "systemctl status gadget_web.service" and "journalctl -xeu gadget_web.service" for details.
Job for gadget_web.service failed because the control process exited with error code.
See "systemctl status gadget_web.service" and "journalctl -xeu gadget_web.service" for details.

rebooting and doing again the
sudo ./setup_usb.sh

hangs again with the same error

Loading USB gadget kernel modules...
USB gadget hardware detected. Switching to present mode...
./setup_usb.sh: line 1438: /home/pi/TeslaUSB/scripts/present_usb.sh: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions