Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rt2860 driver, linux-image-2.6.37-1-686, firmware-ralink

210 views
Skip to first unread message

ulsi

unread,
Feb 20, 2011, 5:10:02 AM2/20/11
to
To whom it may concern:

I am very grateful for all the work that each of you do.
I am a relatively new linux user. I am a laptop user, so my issue may not affect a large percentage of other debian users. I don't know if my question should be a bug report or not. I submitted a help guide on debian user forums regarding my issue here: http://forums.debian.net/viewtopic.php?f=7&t=60613

In a nutshell this is the problem I was experiencing:

In kernel 2.6.32-5-686 version 2.6.32-30 my wireless card worked properly after installing the firmware-ralink_0.28_all.deb package using the rt2860 driver
In kernel 2.6.37-1-686 my wireless card was not working properly using the rt2800 driver. The rt2800 driver was able to scan wireless networks but not able to connect.
I was able to compile the correct driver from source and got my wireless working again.
I noticed that the rt2860sta.ko driver found in kernel 2.6.32 is no longer found in kernel 2.6.37.

I am not familiar with how the kernel development process works within debian or the package maintainer system. It seems to me that the firmware-ralink_0.28_all.deb package will not be sufficient to get some wireless cards working properly. Please feel to correct me if I am wrong.

I once again thank you all very much and await your response.

Sincerely,

Ulsigem

Bastian Blank

unread,
Feb 20, 2011, 6:20:01 AM2/20/11
to
On Sun, Feb 20, 2011 at 01:52:36AM -0800, ulsi wrote:
> In kernel 2.6.37-1-686 my wireless card was not working properly using the
> rt2800 driver. The rt2800 driver was able to scan wireless networks but not
> able to connect.

Please provide all informations. lspci -nn, dmesg.

> I noticed that the rt2860sta.ko driver found in kernel 2.6.32 is no longer
> found in kernel 2.6.37.

The changelog reads:
| [ Bastian Blank ]
| * Disable Ralink staging drivers, the in-tree ones reached "works-for-me"
| status.

Bastian

--
Killing is wrong.
-- Losira, "That Which Survives", stardate unknown


--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2011022011...@wavehammer.waldi.eu.org

Stefan Lippers-Hollmann

unread,
Feb 20, 2011, 11:40:01 AM2/20/11
to
Hi

On Sunday 20 February 2011, Bastian Blank wrote:
> On Sun, Feb 20, 2011 at 01:52:36AM -0800, ulsi wrote:
> > In kernel 2.6.37-1-686 my wireless card was not working properly using the
> > rt2800 driver. The rt2800 driver was able to scan wireless networks but not
> > able to connect.
>
> Please provide all informations. lspci -nn, dmesg.
>
> > I noticed that the rt2860sta.ko driver found in kernel 2.6.32 is no longer
> > found in kernel 2.6.37.
>
> The changelog reads:
> | [ Bastian Blank ]
> | * Disable Ralink staging drivers, the in-tree ones reached "works-for-me"
> | status.

rt2800pci/ rt2800usb are fine, but the firmware images shipped as
rt2860.bin (v11) and rt2870.bin (v12) in firmware-ralink appear to be
too old for reliable operations, especially for rt30x0 (>> v17/ v19
required) and rt35xx. Using the the plain versions shipped in
firmware-ralink I notice the same problems, scanning works, even auth
succeeds, but there is no actual traffic passing through. However
updating rt2860.bin and rt2870.bin to the current versions offered by
RaLink at http://www.ralink.com.tw/support.php?s=2:
- Firmware RT28XX/RT30XX PCI/mPCI/PCIe/CardBus series
(RT2760/RT2790/RT2860/RT2890/RT3060/RT3062/RT3562/RT2860/RT2760/RT2890/RT2790/RT3090)
03/31/2010, v26
- Firmware RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070)
03/31/2010, v22
allows reliable operations using rt2800pci/ rt2800usb for me, both
firmware images also work with plain 2.6.32 [1].


RT2860_Firmware_V26:
66332d7636ee78db31b056aa0e44b097 */lib/firmware/rt2860.bin
effective throughput using HT40- with kernel 2.6.37, ~7.0-7.5 MB/s;
rt2860sta from staging does not support HT. This device also works with
7f55011396eff4983f26bb7dd7339fb3 */lib/firmware/rt2860.bin
as shipped by firmware-ralink 0.28, but a lot less reliable.

02:00.0 Network controller [0280]: RaLink RT2860 [1814:0781]
[ 10.137360] cfg80211: World regulatory domain updated:
[ 10.137377] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.137397] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.137413] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.137429] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.137445] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.137462] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.384093] rt2800pci 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 10.384126] rt2800pci 0000:02:00.0: setting latency timer to 64
[ 10.456860] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 10.460250] Registered led device: rt2800pci-phy0::radio
[ 10.460424] Registered led device: rt2800pci-phy0::assoc
[ 10.460587] Registered led device: rt2800pci-phy0::quality
[ 10.544781] cfg80211: Calling CRDA for country: DE
[ 10.593352] cfg80211: Disabling freq 2484 MHz
[ 10.593370] cfg80211: Regulatory domain changed to country: DE
[ 10.593380] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.593395] (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 10.593408] (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 10.593422] (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 10.593435] (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
[224654.773644] phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware
[224654.800530] phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware
[224654.801490] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[224655.665274] cfg80211: Found new beacon on frequency: 2472 MHz (Ch 13) on phy0
[224656.199082] wlan0: authenticate with 00:27:19:fe:47:84 (try 1)
[224656.201201] wlan0: authenticated
[224656.207075] wlan0: associate with 00:27:19:fe:47:84 (try 1)
[224656.210485] wlan0: RX AssocResp from 00:27:19:fe:47:84 (capab=0x411 status=0 aid=1)
[224656.210500] wlan0: associated
[224656.214071] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[224656.214433] cfg80211: Calling CRDA for country: DE
[224656.433687] padlock: VIA PadLock not detected.
[224656.489130] cfg80211: Disabling freq 2484 MHz
[224656.489140] cfg80211: Regulatory domain changed to country: DE
[224656.489145] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[224656.489152] (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[224656.489158] (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[224656.489164] (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[224656.489170] (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)


RT2870_Firmware_V22:
2bb89af3a7d446deb4695c9a3daa7f9d */lib/firmware/rt2870.bin
effective throughput using HT40- with kernel 2.6.37, ~6.5-7.0 MB/s;
rt2860sta from staging does not support HT, This device only works with
an updated firmware image, but fails with the symptoms described above
using plain firmware-ralink 0.28.

Bus 001 Device 002: ID 148f:2770 Ralink Technology, Corp. RT2770 Wireless Adapter
[ 1.769064] usb 1-3: new high speed USB device using ehci_hcd and address 2
[ 1.902427] usb 1-3: New USB device found, idVendor=148f, idProduct=2770
[ 1.902434] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.902440] usb 1-3: Product: 802.11 n WLAN
[ 1.902444] usb 1-3: Manufacturer: Ralink
[ 1.902449] usb 1-3: SerialNumber: 1.0
[ 5.585687] cfg80211: Calling CRDA to update world regulatory domain
[ 6.661347] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 6.663252] Registered led device: rt2800usb-phy0::radio
[ 6.663400] Registered led device: rt2800usb-phy0::assoc
[ 6.663538] Registered led device: rt2800usb-phy0::quality
[ 6.663929] usbcore: registered new interface driver rt2800usb
[ 6.986433] cfg80211: Calling CRDA for country: DE
[ 7.146658] cfg80211: Disabling freq 2484 MHz
[ 7.146668] cfg80211: Regulatory domain changed to country: DE
[ 7.146672] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.146679] (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 7.146684] (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 7.146690] (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 7.146695] (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
[ 992.643135] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 993.473531] cfg80211: Found new beacon on frequency: 2472 MHz (Ch 13) on phy0
[ 994.088522] wlan0: authenticate with 00:27:19:fe:47:84 (try 1)
[ 994.090674] wlan0: authenticated
[ 994.117521] wlan0: associate with 00:27:19:fe:47:84 (try 1)
[ 994.121052] wlan0: RX AssocResp from 00:27:19:fe:47:84 (capab=0x411 status=0 aid=1)
[ 994.121059] wlan0: associated
[ 994.142004] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 994.142267] cfg80211: Calling CRDA for country: DE
[ 994.153326] cfg80211: Disabling freq 2484 MHz
[ 994.153336] cfg80211: Regulatory domain changed to country: DE
[ 994.153341] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 994.153347] (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 994.153353] (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 994.153358] (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 994.153364] (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
[ 994.295153] padlock: VIA PadLock not detected.
[ 994.346433] Intel AES-NI instructions are not detected.
[ 1004.818026] wlan0: no IPv6 routers present


There have been several attempts of the rt2x00 developers to update
rt2860.bin/ rt2870.bin in firmware-linux.git (and to remove rt3070.bin,
rt3071.bin, rt3090.bin - which are just more current versions of
rt2860.bin and rt2870.bin under different names, erroneously introduced
when rt3070/ rt3090 were merged into staging (and still needlessly used
by the staging rt2860sta/ rt2870sta drivers)) [2], [3].

Regards
Stefan Lippers-Hollmann

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601416#15
[2] http://www.spinics.net/lists/linux-wireless/msg48780.html ff.
[3] http://www.spinics.net/lists/linux-wireless/msg64834.html ff.


--
To UNSUBSCRIBE, email to debian-ker...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/201102201737...@gmx.de

0 new messages