Difference between revisions of "Quartz64"

Jump to navigation Jump to search
(→‎How-To: add info on how to disable the heartbeat LED)
Line 528: Line 528:
  $ picocom -b 1500000 /dev/ttyUSB0
  $ picocom -b 1500000 /dev/ttyUSB0


=== Disable Heartbeat LED (Linux) ===
The flashing LED is called the "heartbeat LED", it blinks in a heart rhythm like fashion once the kernel is running. To disable it, you can run
# echo none > /sys/class/leds/user-led/trigger
On a system with systemd, you can do this as soon as the system is ready to be logged in with a systemd unit like this:
[Unit]
Description=Turn off heartbeat LED
Wants=multi-user.target
After=multi-user.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
ExecStart=sh -c 'echo none > /sys/class/leds/user-led/trigger'
Place it in <tt>/etc/systemd/system/user-led.service</tt>, and run
# systemctl daemon-reload
# systemctl enable user-led.service
Upon rebooting, you will now notice that the heartbeat LED will blink during boot-up, but stops blinking as soon as the multi-user target is reached (i.e. the user can log in).


[[Category:Quartz64]]
[[Category:Quartz64]]