Skip to contentSkip to conversation

2001-02-14 release of hotplug scripts

DISCUSSION Greg KH 4 participants 7 messages Feb 14, 2001 – Feb 25, 2001

lore
Share & tools
lore

Greg KH

author
#0 lore raw

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

        http://download.sourceforge.net/linux-hotplug/hotplug-2001_02_14.tar.gz
        http://download.sourceforge.net/linux-hotplug/hotplug-2001_02_14-1.noarch.rpm
        http://download.sourceforge.net/linux-hotplug/hotplug-2001_02_14-1.src.rpm

depending on which format you prefer.

Changes in this version from the last release are:
- rpm makes the subsystem scripts executable
- some logging fixes
- insistence on having a writable /tmp so bash works properly
- added support for pcimodules
- Fixes some problems seen with Redhat 7 systems when the partial USB setup in /etc/rc.sysinit was not disabled. The failure mode was that all USB modules got loaded, rather than only modules for the devices that were connected.
- In conjunction with the "usbmodules" and "pcimodules" patches to "usbutils-0.7" and "pciutils-2.1.8", devices that are connected at boot time will also be configured. If you don't have those utilities, you'll need to plug USB and CardBus devices in after the system is booted, otherwise they can't be properly configured.
- other small fixes.

If you haven't patched your version of usbutils and pciutils, you can get the patch at:

	http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m˜141435915986&w=2

Hopefully updated versions of these two packages will be released with these changes in them soon.

thanks,

greg k-h

Signature · 6 lines
greg@(kroah|wirex).com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 5 lines · Greg KH

- insistence on having a writable /tmp so bash works properly
- Fixes some problems seen with Redhat 7 systems when the partial USB setup in /etc/rc.sysinit was not disabled. The failure mode was that all USB modules got loaded, rather than only modules for the devices that were connected.

These two problems are almost certainly very much related, yes?

Bill

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Greg KH

Yes. The trouble is the "<<" idiom used to parse some of the kernel environment variables) in the {usb,pci}.agent code ... if there's a better fix, please share!

There was another related issue, since initting USB "early" meant that some hotplug events would need to be faked which wouldn't otherwise need faking.

- Dave

----- Original Message -----
From: "Bill Nottingham" <[email protected]>
To: "Greg KH" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, February 14, 2001 4:43 PM
Subject: Re: 2001-02-14 release of hotplug scripts

Quoted 7 lines
Quoted 5 lines · Greg KH

- insistence on having a writable /tmp so bash works properly
- Fixes some problems seen with Redhat 7 systems when the partial USB setup in /etc/rc.sysinit was not disabled. The failure mode was that all USB modules got loaded, rather than only modules for the devices that were connected.

Quoted 8 lines

These two problems are almost certainly very much related, yes?

Bill

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Greg KH

There is one column missing in /etc/hotplug/usb.distmap

Quoted 39 lines

-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Thursday, February 15, 2001 12:49 AM
To: [email protected]; [email protected]; [email protected]; [email protected]
Subject: 2001-02-14 release of hotplug scripts

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

http://download.sourceforge.net/linux-hotplug/hotplug-2001_02_
14.tar.gz

http://download.sourceforge.net/linux-hotplug/hotplug-2001_02_
14-1.noarch.rpm

http://download.sourceforge.net/linux-hotplug/hotplug-2001_02_
14-1.src.rpm
depending on which format you prefer.

Changes in this version from the last release are:
- rpm makes the subsystem scripts executable
- some logging fixes
- insistence on having a writable /tmp so bash works properly
- added support for pcimodules
- Fixes some problems seen with Redhat 7 systems when the partial USB setup in /etc/rc.sysinit was not disabled. The failure mode was that all USB modules got loaded, rather than only modules for the devices that were connected.
- In conjunction with the "usbmodules" and "pcimodules" patches to "usbutils-0.7" and "pciutils-2.1.8", devices that are connected at boot time will also be configured. If you don't have those utilities, you'll need to plug USB and CardBus devices in after the system is booted, otherwise they can't be properly configured.
- other small fixes.

Quoted 3 lines

If you haven't patched your version of usbutils and pciutils, you can get the patch at:

http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=98141435915986&w=2

Hopefully updated versions of these two packages will be released with these changes in them soon.

thanks,

greg k-h

Signature · 16 lines
greg@(kroah|wirex).com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
---
Pøíchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.231 / Virová báze: 112 - datum vydání: 12.2.2001


_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
author
#4 lore raw
In reply to Greg KH
Quoted 1 line · Volf Martin

There is one column missing in /etc/hotplug/usb.distmap

Which column is that? The driver_info column? That's always never been there, from what I recall.

greg k-h

Signature · 6 lines
greg@(kroah|wirex).com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#5 lore raw
In reply to Greg KH

Adam Richter provided a better answer to the problem (second bullet) than the specific workaround (first bullet). His patch is now in CVS.

I could start to get used to seeing things "just work" when powering up a USB-oriented Linux laptop ... and they "just work" so much faster than with that Other "OS" that can't quite decide whether it's got to reinstall drivers each time! :-)

- Dave

Quoted 18 lines

From: "Bill Nottingham" <[email protected]>
To: "Greg KH" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, February 14, 2001 4:43 PM
Subject: Re: 2001-02-14 release of hotplug scripts

Quoted 11 lines
Quoted 5 lines · Greg KH

- insistence on having a writable /tmp so bash works properly
- Fixes some problems seen with Redhat 7 systems when the partial USB setup in /etc/rc.sysinit was not disabled. The failure mode was that all USB modules got loaded, rather than only modules for the devices that were connected.

These two problems are almost certainly very much related, yes?

Bill

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#6 lore raw
In reply to Greg KH
Quoted 3 lines · David Brownell

There was another related issue, since initting USB "early" meant that some hotplug events would need to be faked which wouldn't otherwise need faking.

I believe the fix for this was to load usbcore and mount /proc/bus/usb first, and load the host controller next.

Bill

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel