View previous topic :: View next topic |
Author |
Message |
grantonstar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Feb 2007 Posts: 16
|
Posted: Sat Mar 10, 2007 2:30 am Post subject: udev loading ipw3945 |
|
|
Hi everyone,
I've a quick question. I've got a working udev/ipw3945 installing but I am having to force load ipw3945 via /etc/modules.autoload.d/kernel-2.6 for udev to recognise it and start the "device initiated service". Is there a way to get udev to load the module itself?
My /etc/udev/rules.d/70-persistent-net.rules contains the following line for the ipw3945 device:
Code: |
# PCI device 0x8086:0x4222 (ipw3945)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:19:d2:02:42:5c", NAME="eth1"
|
Thanks,
grantonstar |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mfyahya Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Feb 2006 Posts: 110
|
Posted: Fri Apr 27, 2007 7:11 am Post subject: |
|
|
From the udev faq :
Q: But udev will not automatically load a driver if a /dev node is opened
when it is not present like devfs will do.
A: Right, but Linux is supposed to load a module when a device is discovered
not to load a module when it's accessed.
Q: Oh come on, pretty please. It can't be that hard to do.
A: Such a functionality isn't needed on a properly configured system. All
devices present on the system should generate hotplug events, loading
the appropriate driver, and udev will notice and create the
appropriate device node. If you don't want to keep all drivers for your
hardware in memory, then use something else to manage your modules
(scripts, modules.conf, etc.) This is not a task for udev. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|