Skip to contentSkip to conversation

Hotplug docs?

DISCUSSION Erik Harrison 2 participants 5 messages Apr 22, 2004 – May 7, 2004

lore
Share & tools
lore
#0 lore raw

I'm sure I'm just missing something, but I've perused the hotplug webpage, and googled till my eyes were sore, but I couldn't find it.

Is there a comprehensive list of the hotplug events generated by the kernel? Specifically by 2.6? A quick comparison of the .agent files on my machine tells me that the list on the sourceforge page is probably not comprehensive. Any pointers?

-Erik

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 5 lines · Erik Harrison

I'm sure I'm just missing something, but I've perused the hotplug webpage, and googled till my eyes were sore, but I couldn't find it.

Is there a comprehensive list of the hotplug events generated by the kernel?

Not really :(

Quoted 1 line

Specifically by 2.6?

Everything that contains a kobject in sysfs will generate a hotplug event in the 2.6 kernel. That's a lot of different things these days.

Quoted 3 lines

A quick comparison of the .agent files on my machine tells me that the list on the sourceforge page is probably not comprehensive. Any pointers?

If you do want to retify this lack of documentation, I would be glad to add it to the hotplug web site or whereever.

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Erik Harrison
Quoted 19 lines · Greg KH
Quoted 5 lines · Erik Harrison

I'm sure I'm just missing something, but I've perused the hotplug webpage, and googled till my eyes were sore, but I couldn't find it.

Is there a comprehensive list of the hotplug events generated by the kernel?

Not really :(

Quoted 1 line

Specifically by 2.6?

Everything that contains a kobject in sysfs will generate a hotplug event in the 2.6 kernel. That's a lot of different things these days.

Quoted 7 lines
Quoted 3 lines

A quick comparison of the .agent files on my machine tells me that the list on the sourceforge page is probably not comprehensive. Any pointers?

If you do want to retify this lack of documentation, I would be glad to add it to the hotplug web site or whereever.

Given that the term "kobject" is a new one to me, I doubt I am equipped to. But I'll dive in. I'm nothing if not enthusiastic. A pointer to any info would be appreciated.

-Erik

Quoted 6 lines

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Erik Harrison
Quoted 24 lines · Greg KH
Quoted 5 lines · Erik Harrison

I'm sure I'm just missing something, but I've perused the hotplug webpage, and googled till my eyes were sore, but I couldn't find it.

Is there a comprehensive list of the hotplug events generated by the kernel?

Not really :(

Quoted 1 line

Specifically by 2.6?

Everything that contains a kobject in sysfs will generate a hotplug event in the 2.6 kernel. That's a lot of different things these days.

Quoted 3 lines

A quick comparison of the .agent files on my machine tells me that the list on the sourceforge page is probably not comprehensive. Any pointers?

Quoted 8 lines

If you do want to retify this lack of documentation, I would be glad to add it to the hotplug web site or whereever.

thanks,

greg k-h

TO return to this old chestnut, I ran a grep -r through the 2.6.5 source tree for kobject_add and kobject_register, and found pitifully few entries - where else should I search to generate some docs?

-Erik

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Erik Harrison
Quoted 3 lines · Erik Harrison

TO return to this old chestnut, I ran a grep -r through the 2.6.5 source tree for kobject_add and kobject_register, and found pitifully few entries - where else should I search to generate some docs?

Realize that all struct device objects contain a kobject. The creation and destruction of them cause the majority of hotplug events in the kernel... Also follow the hotplug_ops and see who uses them...

Good luck,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel