[solved] rt3090 kernel 2.6.31: patch used 2.6.28-34-fitpc2

Post Reply
HotblackDesiato
Posts: 9
Joined: Thu Apr 16, 2009 8:53 pm

[solved] rt3090 kernel 2.6.31: patch used 2.6.28-34-fitpc2

Post by HotblackDesiato »

Hi all,

I have managed to compile the current kernel 2.6.31 on my fit-pc2 (including drm/psb). I also patched the kernel with the rt3090 patch I found in the internet internet.

This staging driver rt3090sta gets loaded, but the Gnome NetworkManager is not able to connect to my access point (WPA encryption). With the kernel 2.6.28-34-fitpc2 provided by CompuLab and otherwise unchanged configuration my fit-pc2 connects immediately.

I believe it has something to do with the file /etc/Wireless/RT2860STA/RT2860STA.dat

After installation of the CompuLab kernel this file has been installed, but it is empty (file size = 0). The driver supplied on the RaLink support page has a full config file. I believe that the standard RaLink driver needs this config file.

So my question to CompuLab: What patch do you use in your kernel ? Could you provide me with your patch, please ?


Rgds, Stefan
Last edited by HotblackDesiato on Sat Sep 19, 2009 8:45 am, edited 1 time in total.

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: rt3090 patch used in 2.6.28-34-fitpc2 ?

Post by Denis »

I have not tried rt3090sta from kernel tree, only driver from ralink website. Download kernel sources and patch from http://fit-pc2.com/download/ubuntu/dists/jaunty/source. Source code is under /drivers/staging/rt3090.

Regarding /etc/Wireless/RT2860STA/RT2860STA.dat file - if file is empty driver takes default configuration settings, if not - driver takes settings from this file. But this file must exist, empty or not.

Can you see in dmesg about what driver from kernel tree complains? May be it can be easely fixed?
Compulab's Linux support

HotblackDesiato
Posts: 9
Joined: Thu Apr 16, 2009 8:53 pm

Re: rt3090 patch used in 2.6.28-34-fitpc2 ?

Post by HotblackDesiato »

Denis wrote: ...
Can you see in dmesg about what driver from kernel tree complains? May be it can be easely fixed?
I get the following in dmesg:

Code: Select all

root@server:~# dmesg | tail
[128797.258792] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[128907.261769] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129017.254881] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129127.258556] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129237.262330] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129347.256004] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129457.259944] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129567.259997] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129677.256237] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
[129787.259756] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 163
and

Code: Select all

root@server:~# lsmod | grep rt3090
rt3090sta             667592  1
I'll try look into the patch in your kernel. Anyway, wireless LAN is only nice to have, as the fit-pc2 is connected to the net by cable. So this has a low priority for me...

Stefan

HotblackDesiato
Posts: 9
Joined: Thu Apr 16, 2009 8:53 pm

Re: rt3090 patch used in 2.6.28-34-fitpc2 ?

Post by HotblackDesiato »

Denis wrote:I have not tried rt3090sta from kernel tree, only driver from ralink website. Download kernel sources and patch from http://fit-pc2.com/download/ubuntu/dists/jaunty/source. Source code is under /drivers/staging/rt3090.
...
The sources used in your 2.6.28 kernel are no longer compatible with 2.6.31. Some structs have changed from 2.6.28 to 2.6.31.

But I got it working now. I just used the 2.6.28 source of the fit-pc2 kernel and exchanged the following files that did not compile under 2.6.31 with their versions of the patch I had found in the web for the current kernel (as they differ only slightly regarding the changed struct definitions):

rtmp_os.h
rt_linux.c
rt_main_dev.c

NetworkManager immediately associated the fit-pc2 to my access point (WPA encryption).

Stefan

tisoft_media
Posts: 16
Joined: Sun Apr 19, 2009 8:40 am

Re: [solved] rt3090 kernel 2.6.31: patch used 2.6.28-34-fitpc2

Post by tisoft_media »

I have also updated my PPA for karmic:

https://launchpad.net/~markus-tisoft/+archive/rt3090

That contains a working rt3090 driver package.

Post Reply

Return to “Linux on fit-PC2”