You are not logged in.
Pages: 1
Hi, I am trying to make super-fast-booting system, so I disabled udev.
But now the wifi isn't detected. I have custom kernel, same as I use on my normal system with udev. I have both iwlagn and iwlwifi modules compiled in. I have read, that I must put some .ucode file in /usr/lib/firmware. But that is, when UDev is running. How does UDev inform iwlwifi module about that .ucode file? Do I have to cat something to /sys/somewhere ?
My poor English is fault of Google Translator.
Offline
Udev is required for loading firmware unless you want to write your own netlink subscriber to know when and what firmware to send back to the kernel.
Relevant kernel code is request_firmware(). The kernel asks.user space for a specific filename which it wants written to a node in sysfs.
Last edited by falconindy (2012-05-25 16:39:26)
Offline
You should be able to build your firmware into the kernel.
Failing that, this is how to make a user-space firmware helper: http://git.kernel.org/?p=linux/kernel/g … 9a;hb=HEAD and this is a sample script: http://git.kernel.org/?p=linux/kernel/g … d9;hb=HEAD .
Edit: using a script instead of udev is probably a bad idea. Actually, even if you compile all your modules and firmware into your kernel, using udev is probably still a good idea (as lots of stuff rely on it), and it should not slow down boot significantly (if you don't use "udevadm settle").
Last edited by tomegun (2012-05-25 23:06:39)
Offline
Thank you very much! I will try when I will have time.
My poor English is fault of Google Translator.
Offline
Pages: 1