From: Otto W. <ott...@bl...> - 2001-05-22 18:46:29
|
> someone have to change types for curblink, noaccel and default_vram to > int and then add > > MODULE_PARM(curblink, "i"); MODULE_PARM(noaccel, "i") ... and so on. > I'm not a kernel/driver developer and have not enough time to get used to it. > If you compiled driver as module, then mode database is not available > (it is __init thing), so there is no way how to get non-default resolution. > But you can add > > post-install atyfb fbset 1280x1024@100 -a > > into modules.conf. > I tried it and the post-install works on the first console but not on others. Besides fbset needs HHHHxVVVV-RR (note the "-" before the refresh rate). What's the meaning of the "-a" at the end? Neither man modules.conf nor man fbset shows its meaning. > > Why do they have to wait after / is mounted r/w? If a driver doesn't > > write to the drive there is no need. What's the difference between a > > linked and a modularized driver besides just store in different places. > > /etc/modules is usually parsed after / remounted r/w. If you trigger > module load by accessing /dev/fb*, then it is different, of course. > Difference between built in and modularized driver is that builtin > driver can get options from kernel commandline and is initialized before > system comes up. Modularized drivers can be loaded only after / filesystem > was mounted (at least read-only), so couple of things have to happen > before. You should built-in all drivers for hardware your machine has into > kernel unless you are just developing that drivers. It saves you from > couple of troubles... > [OFF TOPIC ON] With only 3 different graphics card I could easily compile all into the kernel. But I thought it might be a good time to try the modularized versions. It's just a matter of time until all drivers where able to run as modules and only the absolute essentials will be kept in the kernel. With the introduction of the hotplug feature drivers slowly will be uses as modules and than made hotplugable even if the never get plugged/unplugged. So it might be a good idea to care about it as well. [OFF TOPIC OFF] O. Wyss |