We don't include ones, but the hotplug scripts we ship will use the USB one if they it's there (the pci one is commented out, sorry.)
what values do they contain? It seems hotplug can perfectly work without them.
Whatever someone wants, I suppose. We just use the stock scripts that refer to them.
And Olaf had the right idea to ship the /etc/sysconfig/* files that are referenced. I'm just thinking that just a "usb" file would be enough; nothing much is shared between the different agents, and having a "hotplug" file with only USB-specific options seems wrong.
And it would make much sense to load hid.o, mousedev.o and keybdev.o per default anyway, so this x11 hack is obsolete. Or is there a reason why one would not load the usb hid drivers? I dont see any.
We actually load them outside of the usb hotplug framework.
Which is a bit of a problem in terms of getting convergence. It'd be good to have a standard way to start up USB, and that's exactly what "/etc/hotplug/usb.rc start" was intended to do.
If I understand why RedHat's rc.sysinit does it that way, there are a few reasons. One is (a) to use "kudzu" static config data, which knows various USB-specific, overlapping /etc/sysconfig/usb a bit. The better (IMO) reason is (b) to ensure that USB keyboards/mice can be used during system bootstrap, if the kernel (or its initrd) didn't build them in. That's early for "usb.rc start", since hotplug agents often can't run that early (filesystems unmounted or readonly, etc). And it also doesn't use the same conventions as "usb.rc" does.
Seems like we would win by having an "rc.usb boot" way for RC scripts to solve that input device problem, calling it later to handle the "coldplug" problem like "rc.usb start" does today (synthesizing the events that couldn't be handled that early).
- Dave
------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel