Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: marc77 on February 24, 2013, 12:56:58 pm

Title: WiFi module status/debug messages
Post by: marc77 on February 24, 2013, 12:56:58 pm
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!
Title: Re: WiFi module status/debug messages
Post by: joost on February 27, 2013, 04:31:35 pm
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:

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

Title: Re: WiFi module status/debug messages
Post by: Kean on March 01, 2013, 02:59:50 pm

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.