|
|||||||
| Linux Operating Systems Talk about all Linux distributions and software here! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Freedom is a feature.
|
udev/hotplug/coldplug in Gentoo
Did I get this straight?
1) In Gentoo, hotplug is split into hotplug and coldplug package; colplug searches for hardware, and hotplug loads firmware. 2) Lastest udev has all the functions of hotplug and is supposed to make it obsolete. I ask because: 1) ipw2200-firmware has dependancy on hotplug 2) In case I remove hotplug/coldplug from boot, udev DOES NOT probe device or load firmware, therefore I see no ipw2200 network device (eth1 in my case) and I need to manually modprobe it. So: 1) How come I still need hotplug, even I use udev 084? 2) Did I miss something in udev configuration? In Ubuntu (and other distros), new udev made hotplug obsolete and everything works normally.
__________________
-- Vedran |
|
|
|
|
|
#2 |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70 ![]() |
The key part you're missing is coldplug.
the "coldplug" package has a coldplug init script which does what you need. Or you can enable udev coldplugging be editing /lib/rcscripts/addons/udev-start.sh and uncommenting the line regarding coldplug.
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
|
|
|
Freedom is a feature.
|
Quote:
__________________
-- Vedran |
|
|
|
|
|
|
#4 |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70 ![]() |
double post
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
#5 | |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 70 ![]() |
Quote:
In theory yes, but I can tell you that it won't work :P You need to replicate the coldplug code there in a coldplug init script - I'm trying to get the udev maintainer to do this ![]() It has to happen in an init script otherwise coldplugging of network interfaces (or anything that triggers a script in /etc/init.d) would happen too early and we forceably block this. I may look into posting such a script if/when I can be bothered to write one as the existing coldplug package works fine for me.
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|