Changes between Version 1 and Version 2 of OpenWrt/hotplug
- Timestamp:
- 06/24/2020 01:18:56 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenWrt/hotplug
v1 v2 4 4 Our modern OpenWrt based BSP's use OpenWrt procd as PID1. One of procd's features is to catch messages from the kernel and act upon them, much in the way a conventional linux system uses a hotplug helper and udev. The /etc/hotplug.json file configures how various 5 5 events are handled: 6 * using makedev to create device nodes in /dev on 'add' events and 7 removing the nodes on 'remove' events 6 * using makedev to create device nodes in /dev on 'add' events and removing the nodes on 'remove' events 8 7 * facilitate firmware loading 9 8 * calling /sbin/hotplug-call on platform subsystem events 10 9 * calling /etc/rc.button/$BUTTON on button events 11 * calling /sbin/hotplug-call on various subsystem events (such as 12 net, input, usb, block, atm, tty, button) 10 * calling /sbin/hotplug-call on various subsystem events (such as net, input, usb, block, atm, tty, button) 13 11 14 12 Button events: