home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
4.82k stars 963 forks source link

RPI5 Ethernet port LEDs not turned off #3333

Open hollow-frenk opened 5 months ago

hollow-frenk commented 5 months ago

Describe the issue you are experiencing

As per the detailed description included in the list of steps to follow to reproduce the problem, although I entered the correct parameters in the config.txt file the leds do not turn off.

What operating system image do you use?

rpi5-64 (Raspberry Pi 5 64-bit OS)

What version of Home Assistant Operating System is installed?

6.1.73-haos-raspi

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Type login in the home assistant shell then press enter
  2. Type vi /mnt/boot/config.txt then press enter
  3. Edit the file by entering
    dtparam=eth_led0=4<br>dtparam=eth_led1=4
  4. Save your changes and restart the system
  5. The LEDs on the Ethernet port should be turned off but they are not. ...

Anything in the Supervisor logs that might be useful for us?

No

Anything in the Host logs that might be useful for us?

No

System information

System Information

version core-2024.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Europe/Rome
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1401 Downloaded Repositories | 9 HACS Data | ok
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.04.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 228.5 GB disk_used | 6.4 GB healthy | true supported | true board | rpi5-64 supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.112.1), Samba share (12.3.1), Tailscale (0.18.0), Advanced SSH & Web Terminal (17.2.0), Filebrowser (2.23.0_14)
Dashboards dashboards | 2 -- | -- resources | 2 views | 11 mode | storage
NextDNS can_reach_server | ok -- | --
Recorder oldest_recorder_run | 20 aprile 2024 alle ore 22:51 -- | -- current_recorder_run | 28 aprile 2024 alle ore 19:54 estimated_db_size | 218.75 MiB database_engine | sqlite database_version | 3.44.2

Additional information

No response

fkbidi commented 3 months ago

Hi, I have the same problem. It seems to be due to the firmware. The parameters have not been implemented and a firmware update is required. However, I don't know if this is possible without updating the whole HA.

ArthFink commented 2 months ago

This is the code that needs to be added to the config.txt when using rasbian-64bit. All LEDs are off.

# Turn off Power LED
dtparam=pwr_led_trigger=default-on
dtparam=pwr_led_activelow=off
# Turn off Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
# Turn off Ethernet ACT LED
dtparam=eth_led0=45
# Turn off Ethernet LNK LED
dtparam=eth_led1=44 

When moving this configuration, only the pw led is off, the eth_leds stay on. I have tried locating the device tree to see how the pins are mapped, but I could not find it in the repo.