mrrl-mdev-conf

mdevd configuration for mrrl; fork of Alpine's mdev-conf
git clone https://ccx.te2000.cz/git/mrrl-mdev-conf
Log | Files | Refs | README | LICENSE

commit 395634340de8349996fd273b055ae4bac9d2897c
parent e83083ea00d1fbb8c53244746f8cea78d84d68a3
Author: ccx <ccx@te2000.cz>
Date:   Sun, 31 Mar 2024 16:30:51 +0000

Print info about USB devices

Diffstat:
Musbdev | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/usbdev b/usbdev @@ -1,5 +1,8 @@ #!/bin/sh +printf '%s:\t' "$(basename "$0")" +env | tr '\n' '\t' + # mdev -s will not set SUBSYSTEM or DEVNAME so we trigger a hotplug event if [ "$SUBSYSTEM" != "usb" ] || [ "$DEVTYPE" != "usb_device" ]; then uev=/sys/bus/usb/devices/$MDEV/uevent