On Tue, Jun 10, Bill Nottingham wrote:

> David Brownell ([EMAIL PROTECTED]) said: 
> > Olaf Hering wrote:
> > > I missed /etc/sysconfig/hotplug in usb.rc, fixed patch:
> > > 
> > > - do not use /etc/sysconfig/usb anymore, use /etc/sysconfig/hotplug
> > >   instead
> > 
> > But is anything except USB using that?  This is an area it'd
> > be good to see RedHat, SuSE, and others agree, but I'd take
> > SuSE as a start.
> 
> We just have the stock references to /etc/sysconfig/{pci,usb};
> we don't use /etc/sysconfig/hotplug.

I see no /etc/sysconfig/{pci,usb} on a redhat system, but hotplug is
installed.

Such a sysconfig file would make sense to add static drivers that must
be loaded at hotplug start, but that may not trigger events.

The hostcontroller list is maybe not needed, pci hotplug could take care
of this. The potential problem that I see with pci hotplug is, that it
does load all drivers for a system, it loads them in a random order
(unverified), and it could load the wrong ones (uhci/usb-uhci).
Loading buggy drivers could lead to crashes, loading them in random
order could reorder your network interfaces if there are more than one
kind of network card (eth0 could become eth1), and so on.
I have an ieee1394.rc script for that reason, just to avoid pci.rc
usage.

Further, we have a patch to beep on /dev/console when a driver is
loaded. And also a patch that allows more verbose logging of hotplug
events.
So we have now 4 users of such a /etc/sysconfig/hotplug file.

Now, Debian has its stuff in /etc/default/... Too bad that the standard
leaves the sysconfig stuff undefined.



Gruss Olaf

-- 
USB is for mice, FireWire is for men!


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to