In embedded platforms (Beaglebone Black in particular) there are uncommitted LEDs that might be useful to have display "disk" activity. The attached patch adds a kern.geom.disk.%s.activity_led SYSCTL that could be used for this purpose. Apply the attached patch. Add the following to your KERNCONF: options GEOM_DISK_ACTIVITY_LED # blinky lights for GEOM disk access Add the following to /boot/loader.conf on that platform to have blinky lights for SD/MMC access: kern.geom.disk.mmcsd0.activity_led="led2" kern.geom.disk.mmcsd1.activity_led="led1" To have the LEDs default on, and go off for any activity, prefix the LED name with bang: kern.geom.disk.mmcsd0.activity_led="!led2" kern.geom.disk.mmcsd1.activity_led="!led1" Fix: See above. Patch attached with submission follows: How-To-Repeat: NA
With release later than roughly r283307 the BBB example becomes: kern.geom.disk.mmcsd0.activity_led="beaglebone:green:mmc0" With the APU led patch (see Bug 189772) an APU example might be: kern.geom.disk.ada0.activity_led="!led1" ...keith
For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open"
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>