On Tue, Mar 10, 2015 at 6:07 PM, Harald Becker <[email protected]> wrote: > Hi Dallas ! > > > Hi Harald, I was sort of expecting a mdev scan to discover and create > device nodes for usb. > > Sounds like I need some rules defined in /etc/mdev.conf. I just have a > default one. > > What consider you a default one? There are so many distros and systems out > in the wild, even the Busybox snapshot archives contain two or three > different mdev configurations (as examples). SO I can't tell you anything > specific, without seeing what your configuration describes. > > mdev either scans /sys/class/... for devices entries or picks up hotplug > event messages, then search the /etc/mdev.conf for a matching device entry. > Then it does create/remove device nodes according to the given information. > This includes moving location (e.g. into a subdirectory), creating > symlinks, setting owner, group and permissions. Everything mdev does is > controlled by the rules in mdev.conf, but it may contain catch all rules to > do some default action. > > A short search on the net gave me the following line: > > $DEVNAME=bus/usb/([0-9]+)/([0-9]+) root:plugdev 0660 =bus/usb/%1/%2 > > Put this in your mdev.conf, may be it catches the names of your kernel. > > .. > > Harald > > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox >
Thanks for the help Harald! I did not realize mdev was this sophisticated. It should work nicely for my needs.
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
