problem with udoo quad and wireless connection

This forum is for supported devices using an ARMv7 Freescale SoC.

problem with udoo quad and wireless connection

Postby tuxx » Fri Jan 16, 2015 9:10 am

Hi all,

I have been experimenting for days with Udoo quad and wireless for some days now. I am using it in order to get music from my linux nas and play my flac files with mpd and a usb dac.

At first I heard some drops and running dmesg I saw a ralink related error:

$this->bbcode_second_pass_quote('', '[') 2417.288971] ieee80211 phy0: rt2800usb_txdone: Warning - Data pending for entry 8 in queue 2


As I understand this is an old bug and many distributions have suffered from that when realtek based wifi adatpters are used.

https://bugzilla.redhat.com/show_bug.cgi?id=913631
https://bugzilla.kernel.org/show_bug.cgi?id=62781

I have done my search in google and I have applied some "fixes" mainly related with the wifi and usb power management.

The kernel I am using is 3.18.2 (generic armv7).

I have turned off wifi power management with command:

$this->bbcode_second_pass_code('', 'iwconfig wlan0 power off')

I have also turned usb autosuspend off with command:

$this->bbcode_second_pass_code('', 'echo -1 >/sys/module/usbcore/parameters/autosuspend')

Both commands run after each boot.

The result is that the error above is not so frequent any more, but it's still there. Do you have any suggestion in order to be able to get rid of this realtek bug?

Here are some more detailed logs of my system:

http://pastebin.com/0f5ucu4d

Thank you in advance.
Last edited by tuxx on Fri Jan 16, 2015 1:23 pm, edited 1 time in total.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: problem with udoo quad and wireless connection

Postby tuxx » Fri Jan 16, 2015 12:19 pm

I am now testing another "fix" for this module:

$this->bbcode_second_pass_code('', 'options rt2800usb nohwcrypt=1')

I will come back with my results.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: problem with udoo quad and wireless connection

Postby tuxx » Fri Jan 16, 2015 3:54 pm

It seems that the kernel.org upstream rt28700usb firmware is outdated (v 0.29). I downloaded latest driver from:

http://www.mediatek.com/en/downloads/

and I replaced:

/lib/firmware/rt2870.bin

with the binary from the downloaded driver. dmesg now shows:

$this->bbcode_second_pass_quote('', '[') 7.452403] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 7.464411] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.33


with 0.33 it seems that the situation is much better. I am doing my tests and it seems that the issue is almost eliminated (It's still here but not frequently). However in difficult load (ex dxd file of 1.1G) I can still see the "ieee80211 phy0: rt2800usb_txdone" error immediately.

I will continue my efforts to make it disappear. However, it would be a really good idea I believe if linux-firmware package was updated in order to include latest binary.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: problem with udoo quad and wireless connection

Postby tuxx » Tue Jan 20, 2015 11:07 am

After many days with the new firmware, I confirm that the situation is much better.

After of 12 hours of uptime and reproducing files from the NAS, I got the error only three times.

Does anyone know if this is actually data loss or not, because I am not able to hear any problem anymore when it happens:

$this->bbcode_second_pass_code('', '[ 2417.288971] ieee80211 phy0: rt2800usb_txdone: Warning - Data pending for entry 8 in queue 2')
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm


Return to Freescale

Who is online

Users browsing this forum: No registered users and 7 guests