Using kernel 2.6.15+ and udev 084+Ahad, 09 Juli 2006 | Software dan OSPiter Punk With kernel 2.6.15, udev can listen directly the events given by some devices, through netlink. Sysfs provides a interface to send events, when we wrote to "uevent" file in some device directory, one event will be sent and udev can catch this event and do something. This is the great idea, now udev can be used to handle all device node creation AND module loading. The hotplug binary is no more and all configuration can be done using only udev.rules. Packages To use these great new features, you'll need module-init-tools-3.2 or higher, kernel 2.6.15 or higher and udev 084 or higher. To make all this things work in slackware, i do some new packages with new configurations:
Installation Install/upgrade all packages. After that, in /etc/rc.d copy rc.S.new, rc.M.new, rc.udev.new and rc.pcmcia.new over rc.S, rc.M, rc.udev and rc.pcmcia. Do the same with /etc/modprobe.conf.new and /etc/modprobe.conf. Maybe is a good idea make some backups before this copies. If your rc.udev is disabled, chmod +x the /etc/rc.d/rc.udev. Download and compile 2.6.15.2 kernel. Remember, these file ONLY WORKS with kernel 2.6.15+ (rc works) and newer. Never try to use an older kernel or the things doesn't works. Reboot your machine Final The system is tested and working fine in five machines with many different PCI, ISA and PCMCIA cards. Probably it won't burn your machine, but i don't give to you any warranties. Piter PUNK piterpk AT terra dot com dot br Komentar |
|