Титла: Fedora 7 , къде да сложа параметри за модулите? Публикувано от: ivo1204 в Jun 02, 2007, 18:20 Качих Fedora 7 , трябва ми модула saa7134 с параметри:
card=27 tuner=1 . Ето част от lsmod: .................... saa7134 144681 2 <--------------------- video_buf 35269 1 saa7134 compat_ioctl32 17217 1 saa7134 ir_kbd_i2c 18641 1 saa7134 i2c_core 32449 3 i2c_ec,saa7134,ir_kbd_i2c ir_common 45765 2 saa7134,ir_kbd_i2c videodev 36161 3 saa7134 parport_pc 38121 1 v4l2_common 27585 3 saa7134,compat_ioctl32,videodev v4l1_compat 20549 2 saa7134,videodev .................... така че е доста са навързани ... В кой файл трябва да редактирам ,че да зарежда модула с тези параметери , без да променям другите ? P.P. rmmod saa7134 modprobe saa7134 card=27 tuner=1 работи , ама къде е правилното място ? Титла: Fedora 7 , къде да сложа параметри за модулите? Публикувано от: dedmin в Jun 02, 2007, 21:37 If you want to add some modules at bootup, you need to
add them to /etc/modprobe.conf with a particular line for them. For instance, I have a smartlink modem, which gets loaded automatically with the line added to modprobe.conf. [olivares@localhost ~]$ cat /etc/modprobe.conf alias eth0 3c59x alias snd−card−0 snd−ali5451 options snd−card−0 index=0 options snd−ali5451 index=0 remove snd−ali5451 { /usr/sbin/alsactl store 0 /dev/null 2>&1 || : ; }; /sbin/modprobe −r −−ignore−remove snd−ali5451 install slamr modprobe −−ignore−install ungrab−winmodem ; modprobe −−ignore−install slamr; test −e /dev/slamr0 || (/bin/mknod −m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp uucp /dev/slamr0) To not automatically load them at bootime, there is a file /etc/modprobe.d/blacklist which lists the one that you do not want loaded at bootup time, [olivares@localhost ~]$ cat /etc/modprobe.d/blacklist # # Listing a module here prevents the hotplug scripts from loading it. # Usually that'd be so that some other driver will bind it instead, # no matter which driver happens to get probed first. Sometimes user # mode tools can also control driver binding. # # Syntax: driver name alone (without any spaces) on a line. Other # lines are ignored. # # watchdog drivers blacklist i8xx_tco Титла: Fedora 7 , къде да сложа параметри за модулите? Публикувано от: ivo1204 в Jun 03, 2007, 00:27 Благодаря ,явно това е файла . Засега обаче съм сложил един S60MYconfig в /etc/rc5.d , защото излезнаха и други проблеми , май и ядрото ще сменям , после ще ги сложа в /etc/modprobe.conf .
|