Skip to content

Commit

Permalink
Merge pull request #24 from RadxaStephen/main
Browse files Browse the repository at this point in the history
feat: radxa-e52c: add netdev LED config
  • Loading branch information
RadxaYuntian authored Jul 31, 2024
2 parents aa00e71 + e864dfc commit b237156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include /usr/share/dpkg/architecture.mk

override_dh_installudev:
dh_installudev -ptask-rock-2 --name=led-netdev --priority=50
dh_installudev -ptask-radxa-e52c --name=led-netdev --priority=50

override_dh_builddeb:
dh_builddeb -- -Zxz
2 changes: 2 additions & 0 deletions debian/task-radxa-e52c.led-netdev.udev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SUBSYSTEM=="leds", KERNEL=="wan-led", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="enP3p49s0", ATTR{link}="1", ATTR{tx}="1", ATTR{rx}="1"
SUBSYSTEM=="leds", KERNEL=="lan-led", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="enP4p65s0", ATTR{link}="1", ATTR{tx}="1", ATTR{rx}="1"

0 comments on commit b237156

Please sign in to comment.