WiFi module status/debug messages

Started by marc77, February 24, 2013, 12:56:58 PM

Previous topic - Next topic

marc77

Hello All,
is there anybody who knows how to disable the status/debug messages to the console of the WiFi module on a Olinuxino-Mini-Wifi board with Arch Linux installed?

Those messages are quite annoying working on the console  ;D ;D :o :-X

Thanks a lot and have anice day!
Marc

joost

You didn't post an example of the messages but if they are related with the Power Save you can easily switch them off.

See info in this forum:
http://forum.doozan.com/read.php?6,8618,8618

You can always try the command:
modinfo 8192cu

It will print a list of module parameters that can be passed to the module when loading with modprobe. For example:
parm: rtw_power_mgnt:int
You can then look up the meaning of and acceptable values for each parameter in the kernel source.

As root, create a file /etc/modprobe.d/8192cu.conf with the following contents:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

This prevents the power down/up cycles of the 8192 wifi chip.

This also improves the wifi performace a lot! Before using this setting the ping time:

20 packets transmitted, 20 received, 0% packet loss, time 19012ms
rtt min/avg/max/mdev = 1.569/103.204/229.683/72.998 ms


After this setting:
16 packets transmitted, 16 received, 0% packet loss, time 15010ms
rtt min/avg/max/mdev = 1.590/3.705/13.620/3.424 ms



Kean

Marc,

Depending on which WiFi module you are using, you could try the rtl8192 driver I built without the debug messages.  See the post at http://dev.moorescloud.com/2012/11/02/getting-your-microsd-card-boot-image-ready/ - there is also a link to the exact steps I used to modify and compile the driver.  You might need to recompile it yourself depending on the kernel you're running, or if you have a different Realtek chipset.

Kean