Skip to contentSkip to conversation

2001-04-24 release of hotplug scripts

DISCUSSION Greg KH 3 participants 4 messages Apr 24, 2001 – Sep 20, 2001 USB

lore
Share & tools
lore

Greg KH

author
#0 lore raw

I've just packaged up the latest Linux hotplug scripts into a release, which can be found at:

	http://sourceforge.net/project/showfiles.php?group_id=17679

This release adds the Debian scripts to the tarball, although all of the debian specific changes were not merged into the main scripts, it would have caused too much conflict, sorry. But the Debian patch is now much smaller :) It also adds a hotplug manpage donated by Debian developer Fumitoshi UKAI.

Numerous little changes were also added to the scripts, here is the full changelog:
- added debian hotplug.8 manpage by Fumitoshi UKAI
- bugfixes to modprobing
- make sure setup scripts run even when there is no module
- "event not supported" only seen if debugging
- added debian directory filled with things needed to package the scripts for a debian release.
- make sure setup scripts (for usermode drivers/apps) will run even without a kernel driver
- bugfix match_flags support from Gioele Barabuci; might require bash2-isms
- add kernel 2.2.18 bcdDevice bug workaround (Ben Woodard)
- cleanups from Gioele Barabuci
- tweaked the post and preun sections to fix problem of hotplug not starting automatically when the package is upgraded.

I've built RedHat 6.x and 7.x specific rpms due to some small differences in where the two version place their documentation. The individual releases are at:

For RedHat 6.x:

	http://prdownloads.sourceforge.net/linux-hotplug/hotplug-2001_04_24-1_6.x.noarch.rpm
	http://prdownloads.sourceforge.net/linux-hotplug/hotplug-2001_04_24-1_6.x.src.rpm

For RedHat 7.x:

	http://prdownloads.sourceforge.net/linux-hotplug/hotplug-2001_04_24-1_7.x.noarch.rpm
	http://prdownloads.sourceforge.net/linux-hotplug/hotplug-2001_04_24-1_7.x.src.rpm

Source tarball:

	http://prdownloads.sourceforge.net/linux-hotplug/hotplug-2001_04_24.tar.gz

greg k-h

author
#1 lore raw

2001-09-19 release of hotplug scripts

I've just packaged up the latest Linux hotplug scripts into a release, which can be found at:

	http://sourceforge.net/project/showfiles.php?group_id=17679

This release adds ieee1394 support and a try at SuSE support :)

Here's the full changelog:
- Added ieee1394.agent from Kristian Hogsberg <[email protected]>
- with docs, "sh -x" debug support, minor fix. Needs kernel 2.4.10 and modutils 2.4.9 to hotplug.
- Some of the updates from SuSE:
* add/use debug_msg macro in hotplug_functions modprobe -s (to syslog)
* various agent tweaks/fixes
* more usb.handmap entries (from usbmgr)
- Added the fxload program
- Rework root makefile and hotplug.spec to install in prefix location without need of spec file for install.
- Added installation directions to make the /var/run/usb directory, and updated the rpm spec file to match.
- added half of Stephen Williams <[email protected]> REMOVER patch. It is up to the install script to create the /var/run/usb directory. Something like the following would be enough:
mkdir /var/run/usb
chmod 0700 /var/run/usb

Thanks,

greg k-h

#2 lore raw

Re: 2001-09-19 release of hotplug scripts

In reply to Greg KH
Quoted 5 lines

I've just packaged up the latest Linux hotplug scripts into a release, which can be found at:
http://sourceforge.net/project/showfiles.php?group_id=17679

This release adds ieee1394 support and a try at SuSE support :)

And various bugfixes ... :)

Quoted 5 lines

Here's the full changelog:
- Added ieee1394.agent from Kristian Hogsberg <[email protected]>
- with docs, "sh -x" debug support, minor fix. Needs kernel 2.4.10 and modutils 2.4.9 to hotplug.

To clarify, the ieee1394 support is what needs software that's as-yet not quite released. Other hotplugging (USB, PCI, network) still works just fine with 2.4.0 (and, for USB, 2.2.current). The release is not (as one person suspected :) Science Fiction!

Quoted 1 line

- Some of the updates from SuSE:

... excluding most of the SuSE-specific admin stuff, so for now SuSE users will need to get an RPM from SuSE that knows and uses those hooks. (Much like the way the Debian and RedHat distros re-use this software.)

I figure converging admin between such distros is not a near term possibility, but testing for each distro's admin hooks and then using them is achievable. We're not quite there yet, but the size of the distro-specific patches should be shrinking over time ... :)

- Dave

#3 lore raw

Re: 2001-09-19 release of hotplug scripts

Quoted 10 lines · David Brownell
Quoted 5 lines

Here's the full changelog:
- Added ieee1394.agent from Kristian Hogsberg <[email protected]>
- with docs, "sh -x" debug support, minor fix. Needs kernel 2.4.10 and modutils 2.4.9 to hotplug.

To clarify, the ieee1394 support is what needs software that's as-yet not quite released. Other hotplugging (USB, PCI, network) still works just fine with 2.4.0 (and, for USB, 2.2.current). The release is not (as one person suspected :) Science Fiction!

Actually, it appears that the option to enable CONFIG_HOTPLUG was taken out in 2.2.19, and is not in any of the 2.2.20-pre's. I emailed Greg K-H about this earlier this week.

I enabled it and it's "working for me" with hotplug-2001_04_24. One-liner follows:

drivers/usb/Config.in Sun Dec 10 19:49:43 2000 renamed from drivers/usb/Config.in Sun Mar 25 11:37:37 2001 +1 -0
@@ -10,6 +10,7 @@
 
 comment 'Miscellaneous USB options'
    bool '  Preliminary USB device filesystem' CONFIG_USB_DEVICEFS
+   bool '  Support for hot-pluggable USB devices' CONFIG_HOTPLUG
    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
       bool '  Enforce USB bandwidth allocation (EXPERIMENTAL)' CONFIG_USB_BANDWIDTH
    else

Cheers,
Ryan

 +-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --+
   Ryan W. Maple          "I dunno, I dream in Perl sometimes..."  -LW
   Guardian Digital, Inc.                     [email protected]
 +-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --+