View previous topic :: View next topic |
Author |
Message |
tnt Veteran
Joined: 27 Feb 2004 Posts: 1227
|
Posted: Thu Jun 22, 2006 2:25 am Post subject: use of coldplug/hotplug |
|
|
coldplug - "Description: coldplug init.d program to load modules at bootime"
(starts in the 'boot' runlevel)
hotplug - "Description: USB and PCI hotplug scripts"
(starts in the 'default' runlevel)
what do I need for coldplug and what do I need for hotplug?
what kind of devices/services will fail to work correctly if I miss cold/hotplug from boot/default runlevel? _________________ gentoo user |
|
Back to top |
|
|
swingkyd Guru
Joined: 13 Jan 2005 Posts: 334
|
Posted: Thu Jun 22, 2006 2:40 am Post subject: |
|
|
if my memory serves me correctly, when you install "hotplug", it now takes care of what "coldplug" used to do. So in short, install hotplug and forget about coldplug.
you should definitely use hotplug in the "boot" runlevel (softlevel).
Quote: | hotplug is a program which is used by the kernel to notify user mode
software when some significant (usually hardware-related) events take
place. An example is when a USB or Cardbus device has just been
plugged in. This is useful for automatically loading and setting up
drivers, packaged either as kernel modules or as user mode programs.
| from the man page
i don't know if that helps but hey... |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Thu Jun 22, 2006 6:38 pm Post subject: |
|
|
Both hotplug and coldplug are deprecated (at least in ~arch). This functionality is now handled by the kernel and udev. |
|
Back to top |
|
|
skally n00b
Joined: 16 Mar 2004 Posts: 33
|
Posted: Thu Jun 22, 2006 10:13 pm Post subject: |
|
|
Are they? How come capi4k-utils still depend on hotplug then?
Is the ebuild dated? _________________ -- skally |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1227
|
Posted: Thu Jun 22, 2006 10:43 pm Post subject: |
|
|
I guess there's no hotplug in the latest gentoo handbook, so it's possible that it's out-of-date.
however, coldplug is still there... _________________ gentoo user |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Fri Jun 23, 2006 4:50 am Post subject: |
|
|
Yeah I've been curious about hotplug/colgplug. From what I know, coldplug starts hardware plugged into the system always and hotplug loads hardware that you plug randomly. I have noticed that hotplug isn't in the handbook anymore.
I'd be curious what the new changes are... |
|
Back to top |
|
|
pholthau Guru
Joined: 27 Nov 2005 Posts: 361 Location: Bielefeld, Germany
|
Posted: Fri Jun 23, 2006 8:51 am Post subject: |
|
|
i just merged sys-fs/udev-090-r1 and it told me to "rc-update del coldplug" and "rm -f /etc/init.d/coldplug".
i think coldplug is deprecated, too. _________________ The message is Feierei, alder! The message is Gude Laune, alder! [Sven] |
|
Back to top |
|
|
lmcogs Guru
Joined: 03 Apr 2005 Posts: 340
|
Posted: Wed Jul 26, 2006 3:23 pm Post subject: |
|
|
What do we go by? Do we follow this http://www.gentoo.org/doc/en/udev-guide.xml. I am having terrible trouble with cups/usb, hotplug not loading and have lost the usb printer, keyboard and mouse. Cups does not load on boot nor hotplug but coldplug does after following the above doc I inserted it into boot runlevel. Everything was working fine up to couple of days ago without coldplug, not sure if I had hotplug in rc. Does hotplug go into 'default' or 'boot'? I had it in default but it did not load on boo, will try boot runlevelt. Anyway could we have definitive instructions about udev, hotplug, and a set of rules maybe to load most common hardware, please.
I have removed all kde stuff from /etc/portage/package.keyword and reinstalling kde meta 3.5.2 again. After this and it's still not fixed I am seriously thinking of changing to suse or something. I like fiddling but not hours and hours of it and going through massive amount of threads, one telling us one thing while other are the opposite.
Sorry but I just had to give out! |
|
Back to top |
|
|
|