tobiasBora / MT7630E_3.16

A modification of original driver that works under kernel 3.16
14 stars 0 forks source link

driver is flooding sys.log and kernel.log #2

Open arjenmeijer opened 9 years ago

arjenmeijer commented 9 years ago

This driver is flooding sys.log and kernel.log. Typical with:

[ 9664.717651] Decrypted [ 9664.724880] Decrypted [ 9664.725084] 0x200521a5 (status) [ 9664.725091] rt2800pci_txdone status = 0x200521a5 [ 9664.725092] rt2800pci_txdone qid = 0x2 [ 9664.896616] Decrypted [ 9664.896817] 0x200521a5 (status) [ 9664.896825] rt2800pci_txdone status = 0x200521a5 [ 9664.896825] rt2800pci_txdone qid = 0x2 [ 9665.065691] Decrypted [ 9665.065880] 0x200521a5 (status) [ 9665.065887] rt2800pci_txdone status = 0x200521a5 [ 9665.065888] rt2800pci_txdone qid = 0x2 [ 9665.126966] Decrypted [ 9665.128124] Decrypted

Speed is often 24 of 36 MB.

Is there a way to prevent logging this messages?

ynurmahomed commented 9 years ago

checkout this commit https://github.com/poupougnac/MT7630E/commit/0d02193de4f459c59fe548c9044d8b9ac36c3e23

p0rsche commented 9 years ago

@arjenmeijer How to apply this commit: git clone https://github.com/poupougnac/MT7630E.git, then go to the MT7630E dir and run command git format-patch -1 0d02193de4f459c59fe548c9044d8b9ac36c3e23. It will generate patch with name like 0001-we-remove-verbose-output.patch. Move this file into tobiasBora's MT7630E_3.16 dir and run git apply --stat 0001-we-remove-verbose-output.patch. It will apply this patch. Also, for unknown reason this patch didn't comment the int rt2800_rfkill_poll function's prints, so you may do it manually.

tobiasBora commented 9 years ago

I have applied this patch because I think it can be pretty usefull. To apply it just re-install this program (doc in README.org). If your computer crash black screen when you run "make load", just go to the next instruction "make install" and reboot.

p0rsche commented 9 years ago

Thanks @tobiasBora it's extremely useful, without that thing my HDD LED is blinking with the speed of the light. If user has SSD, it would be nightmare :)