Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev loading ipw3945
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grantonstar
n00b
n00b


Joined: 07 Feb 2007
Posts: 16

PostPosted: Sat Mar 10, 2007 2:30 am    Post subject: udev loading ipw3945 Reply with quote

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
View user's profile Send private message
mfyahya
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2006
Posts: 110

PostPosted: Fri Apr 27, 2007 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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