----- Original Message -----
From: "David Brownell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, 11 July, 2000 11:26 AM
Subject: Updated "Kernel USBD" patch
> Attached are some interesting (IMHO) ingredients ...
>
> - hotplug.patch, creates /proc/sys/kernel/hotplug
> which by default contains the string "/sbin/hotplug".
> #ifdef CONFIG_HOTPLUG
>
> - kusbd2.patch, which contains
>
> * a version of the 'khubd' patch Thomas posted earlier;
> * same problem fixed less a different way, for 'kapmd'
> * code to call /sbin/hotplug on USB hotplug events
>
> Probably the simplest way to use this is to get the current Linux-USB
> policy scripts (http://www.linux-usb.org/policy.html) and install
> them in /etc/usb as usual, and write /etc/usb/policy into that kernel
> parameter. Or, write a shell script to do that if the first parameter
> is "usb" ... instead of "pci", "video", or what have you! ;-)
>
> I'm sending this out for further comments. The main one I have
> just now is that we really ought to have a routine something like
>
> int spawn_usermodehelper (char *prog, char **argv, char **envp)
>
> returning what kernel_thread returns. I'd gladly convert to use
> such code ... and I suspect others would, too. (Ditto with those
> patches to enable the thread forking.) Other hotpluggable busses
> could easily leverage such stuff.
>
> However, if folk don't have strong negative comments about this
> by Friday, I expect I'll submit this into the 2.4.0 process some
> time this weekend ... expecting later changes.
>
> - Dave
>
> p.s. Not only have the Geocrawler archives taken pleasure in
> mangling patches, but they also don't even seem to be up
> lately. I'll send this to the [EMAIL PROTECTED] list so
> the electricrain archives can do that job.
>
>
>
hotplug.patch
kusbd2.patch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]