/sbin/hotplug-call assumes 2.6 kernel for firmware loads
|Reported by:||ian@…||Owned by:||developers|
|Priority:||normal||Milestone:||Barrier Breaker 14.07|
The first section of /sbin/hotplug-call hijacks the normal /etc/hotplug.d setup and tries to use sysfs to do the firmware load. This is only availble on 2.6 kernels, so it fails to load firmware on a 2.4 kernel.
The "bypass" section looks like a hack. It should at least check the kernel type and existence of a sysfs on /sys (it's not sufficient to just check for /sys).
Commenting out the "bypass" section is enough to get it working on a 2.4 kernel.