I added some debugging into my /etc/hotplug2-common.rules file, and log events.

What I'm seeing for the first entry is:

Jan 17 19:02:13 OpenWrt daemon.info hotplug: name=nsc_gpio, 
path=/module/nsc_gpio, major=%MAJOR%, minor=%MINOR%, subsystem=module
Jan 17 19:02:13 OpenWrt daemon.info hotplug: name=ppp_synctty, 
path=/module/ppp_synctty, major=%MAJOR%, minor=%MINOR%, subsystem=module
Jan 17 19:02:16 OpenWrt daemon.info hotplug: name=cs5535_gpio, 
path=/module/cs5535_gpio, major=%MAJOR%, minor=%MINOR%, subsystem=module
Jan 17 19:02:17 OpenWrt daemon.info hotplug: name=i2c_gpio, 
path=/module/i2c_gpio, major=%MAJOR%, minor=%MINOR%, subsystem=module
Jan 17 19:02:18 OpenWrt daemon.info hotplug: name=i2c-gpio, 
path=/bus/platform/drivers/i2c-gpio, major=%MAJOR%, minor=%MINOR%, 
subsystem=drivers


so it looks like the major and minor device numbers aren't getting mapped for 
the devices.

When you're using modules-init-tools, that usually gets mapped via "alias 
block-major-xxx" settings, I believe.

But I'm not sure how it works in the absence of modules-init-tools.

Anyone want to venture a guess as to what needs tweaking?

Thanks,

-Philip


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to