Bug 5700

Summary: harddrake2 doesnt save module settings
Product: Mageia Reporter: Simple <simplew8>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: draktools CVE:
Status comment:

Description Simple 2012-05-01 04:07:47 CEST
Theme name: oxygen-gtk
Kernel version = 3.3.4-desktop-1.mga2
Distribution=Mageia release 2 (Cauldron) for x86_64
CPU=Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz

I have runned harddrake2 and entered in ethernet drive to change some definitions so that i could disable powermanager:

ips=0
swlps=0
fwlps=0

but it did not save the anywhere, and where i run again harddrake2 the definitions fields were empty again.
Comment 1 Simple 2012-05-01 05:56:35 CEST
In fact i saw in the log window that was changing the file /etc/modprobe.conf, for example i changed the value swenc to 1 and did saved:

options rtl8192ce swenc=1

then i did unload and load the module and checked /sys/module/rtl8192ce/parameters/swenc but it did NOT changed the parameter value as we can see in this output:

~]# cat /sys/module/rtl8192ce/parameters/swenc 
N

So to be able to get things to work, i did created a file in /etc/modprobe.d/50-rtl8192ce.conf  with:

options rtl8192ce ips=0 swlps=0 fwlps=0

and now YES, it changed the values of the rtl8192ce parameters.
Lets check the value for the parameter for example ips (which default value is 1):

~]# cat /sys/module/rtl8192ce/parameters/ips 
N

and as we see its set to N (0).

In conclusion changing parameter values using harddrake2 will not do anything.
Comment 2 Manuel Hiebel 2012-05-01 22:16:40 CEST
seems it's right in the wrong file, thanks for your bug (it was a confirmation for me)

*** This bug has been marked as a duplicate of bug 5705 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE
Source RPM: harddrake-ui-14.16-1.mga2 => draktools