Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
use of coldplug/hotplug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Thu Jun 22, 2006 2:25 am    Post subject: use of coldplug/hotplug Reply with quote

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
View user's profile Send private message
swingkyd
Guru
Guru


Joined: 13 Jan 2005
Posts: 334

PostPosted: Thu Jun 22, 2006 2:40 am    Post subject: Reply with quote

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
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Thu Jun 22, 2006 6:38 pm    Post subject: Reply with quote

Both hotplug and coldplug are deprecated (at least in ~arch). This functionality is now handled by the kernel and udev.
Back to top
View user's profile Send private message
skally
n00b
n00b


Joined: 16 Mar 2004
Posts: 33

PostPosted: Thu Jun 22, 2006 10:13 pm    Post subject: Reply with quote

Are they? How come capi4k-utils still depend on hotplug then?
Is the ebuild dated?
_________________
-- skally
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Thu Jun 22, 2006 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Jun 23, 2006 4:50 am    Post subject: Reply with quote

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
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Fri Jun 23, 2006 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Wed Jul 26, 2006 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum