On Sun, Nov 01, 2015 at 10:37:28AM +0100, Linus Walleij wrote:
> On Fri, Oct 30, 2015 at 11:54 PM, Arnd Bergmann <a...@arndb.de> wrote:
> 
> > For character devices, udev has a complex set of (user-overridable) rules
> > to derive one or more stable name(s) from the sysfs attributes.
> 
> OK I'll go read these I think.
> 
> Doesn't help much with Busybox' mdev though, which I recently discussed
> with Greg and turns out to need a rewrite :/

Just stick to the bus unique names (e.g. gpiochip7) rather than try to
come up with udev rules to rename these. Look at the USB path I just
posted for an example of what you'd need to parse and encode.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to