All times are UTC - 6 hours




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: usb wlan for PPC Linux
PostPosted: Thu Mar 22, 2007 12:09 pm 
Offline


Thu Jul 28, 2005 12:41 am

1063
I just bought an USB wlan card to use with my EFIKA. I was advised to buy Ralink chips based cards by my x86 using friends, as it has the best Linux drivers and is very cheap. They were right about the price, for about $25 it's one of the cheapest available. The problem is PPC support: the driver compiles, but does not work.

Q: anyone could suggest chips and cards with exact model numbers, which are tested to work with Pegasos / EFIKA?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 25, 2007 9:22 pm 
Offline


Sun Nov 12, 2006 8:11 pm

22

Malaysia
PCI card Dlink DWL-G520 Rev.3 and Rev.4
Driver : madwifi (svn)
Chipset AR5212

Tested on Efika.
kernel : 2.6.20.*
distro : Debian

works great, but have not been able to configure it to join wpa network. Helps in pointing that out will be great. :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 25, 2007 11:58 pm 
Offline


Thu Jul 28, 2005 12:41 am

1063
The problem is, that according to documentation, madwifi does not work with USB wlan cards. The PCI slot in my EFIKA is already filled an USB2 card...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 26, 2007 1:40 am 
Offline


Sun Nov 12, 2006 8:11 pm

22

Malaysia
Adding a dual-PCI riser is an option?

Well, was reporting from experience. Have not tried any USB wlan, ever.

My guess, it is best to try a usb wlan with drivers already in the kernel.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 9:29 am 
Offline


Thu Jul 28, 2005 12:41 am

1063
A driver in the kernel does not seem to be enough guarantee, that it will work on PPC :-( That's why I'm asking, if somebody has actual experience with USB wlan on PPC.

I don't have a PCI riser card for my EFIKA and have more than enough free USB2 ports, so I would prefer an USB solution.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 28, 2007 12:38 pm 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
volumetric_display wrote:
Adding a dual-PCI riser is an option?


Unfortunately unless it's an active (i.e. has a PCI bridge chip on it) riser, this won't work. Such risers cost upwards of $75.

Quote:
Well, was reporting from experience. Have not tried any USB wlan, ever.

My guess, it is best to try a usb wlan with drivers already in the kernel.


The Mac guys report that Broadcom drivers work - obviously because they have Broadcom chipsets in their Macs. I'm not sure which would be relevant in USB.

Anything that works on Mac though, should work for us. That's the thing I'm getting at :D

Pieter, the best thing is to try it. If it doesn't work maybe some enterprising user here knows how to fix it (most should, however, if they already have Linux drivers and firmware blobs).
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 28, 2007 1:23 pm 
Offline


Thu Jul 28, 2005 12:41 am

1063
In my case, the http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz is to be fixed. Ralink drivers are known to have endiannes problems, this one already has many fixes for it, but still does not work.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 02, 2007 5:04 am 
Offline


Thu Oct 19, 2006 7:19 am

269

Italy/Greece
hi,

like i wrote to you in private.


i've a "Digicom USB Wave 54" and i've succesfully tested (and used) it on EFIKA and my iBook G4 .
http://projects.powerdeveloper.org/proj ... /entry/348
I've used the "rewrite" ones i.e. 1211rw drivers.
http://zd1211.ath.cx/wiki/DriverRewrite

As reported in this table:
http://zd1211.ath.cx/
(hardware supported)
you can find similar products with identical chipset,usb id and rf types but only with the different vendor name.


greetz
acrux _at_ linuxmail _dot_ org


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 11, 2007 4:29 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
acrux wrote:
hi,

like i wrote to you in private.

i've a "Digicom USB Wave 54" and i've succesfully tested (and used) it on EFIKA and my iBook G4 .
http://projects.powerdeveloper.org/proj ... /entry/348
I've used the "rewrite" ones i.e. 1211rw drivers.
http://zd1211.ath.cx/wiki/DriverRewrite

As reported in this table:
http://zd1211.ath.cx/
(hardware supported)
you can find similar products with identical chipset,usb id and rf types but only with the different vendor name.


Wow most of those pages are spectacularly down right now.

I am looking for a key too, in the UK, hopefully listed and available on Amazon. I need to get my Efika networked and no network cables will reach up the stairs without tripping myself, the landlady and her cat every time :)

http://www.amazon.co.uk/Belkin-802-11g- ... B0006374PK

This looks like one of the supported devices, would I be correct in that?
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 1:21 pm 
Offline


Thu Oct 19, 2006 7:19 am

269

Italy/Greece
they recently have changed their own poject's homepage.

i've just now found
Code:
The main hardware table has been moved onto linuxwireless.org

http://www.linuxwireless.org/en/users/D ... rw/devices
acrux _at_ linuxmail _dot_ org


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 7:40 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
acrux wrote:
they recently have changed their own poject's homepage.

i've just now found
Code:
The main hardware table has been moved onto linuxwireless.org

http://www.linuxwireless.org/en/users/D ... rw/devices


Ah great. That means pretty much every cheap wireless stick I can find online on Amazon will work :D
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 20, 2007 6:24 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
Neko wrote:
Ah great. That means pretty much every cheap wireless stick I can find online on Amazon will work :D


It didn't!

Looks like I got an older key from Amazon and it uses the RT71 chipset that Peter was annoyed about only being able to find.

I compiled the driver ("WARNING: BIG ENDIAN SUPPORT IS EXPERIMENTAL, USE AT YOUR OWN RISK!!" everywhere) and I get:

Code:
usb 1-2.1.1: new full speed USB device using ppc-of-ohci and address 12
usb 1-2.1.1: configuration #1 chosen from 1 choice
Device Descriptor not matching
rt73: probe of 1-2.1.1:1.0 failed with error -12
usb 1-2.1.1: device_add(1-2.1.1:1.0) --> -12


I'm really annoyed, the key is listed (050d:705a) in the rt73 source code I downloaded this morning... Peter, is this the same kind of error that you found?

All in all, a waste of $25, I think, although if only I could get it working and submit a patch :D
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 20, 2007 6:29 am 
Offline


Thu Jul 28, 2005 12:41 am

1063
Yes, I got the same trouble...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 20, 2007 8:41 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
czp wrote:
Yes, I got the same trouble...


Code:
misato:/lib/modules/2.6.20.3-efika/extra#
usb 1-2.1.1: new full speed USB device using ppc-of-ohci and address 7
usb 1-2.1.1: configuration #1 chosen from 1 choice
testing idVendor = 0x50d0000, idProduct = 0x705a0000
Device Descriptor not matching
rt73: probe of 1-2.1.1:1.0 failed with error -12
usb 1-2.1.1: device_add(1-2.1.1:1.0) --> -12


Looks like the big-endian support really is screwed, then. It should be matching against 0x0000050d not 0x050d0000 - which is exactly why it fails.

The code is in the probe function, in rtmp_main.c near the bottom. Just search for "Device Descriptor" and pick the lower one (the top one is for <2.5 kernels). A little tweaking should get it to match.
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 21, 2007 7:15 am 
Offline
Site Admin


Fri Sep 24, 2004 1:39 am

1589

Alamo Heights, TX
Neko wrote:
A little tweaking should get it to match.


Simply enough, the checking function swizzles the idVendor and idProduct fields as 32-bit fields in the CVS version. I simply edited it such that it used 16-bit fields in rtmp_main.c around line 2141 (this may change depending on which version you've downloaded).

Either way, now it detects the card and initialises the module correctly. All I have to do now is work out wpa_supplicant, and I am done!

Code:
static int usb_rtusb_probe (struct usb_interface *intf,
                                          const struct usb_device_id *id)
{
        struct usb_device   *dev = interface_to_usbdev(intf);
        PRTMP_ADAPTER       pAd;
        int                 i;
        struct net_device   *netdev;
        int                 res = -ENOMEM;


        usb_get_dev(dev);

        for (i = 0; i < rtusb_usb_id_len; i++)
        {
                if (dev->descriptor.idVendor == le16_to_cpu(rtusb_usb_id[i].idVendor) &&
                        dev->descriptor.idProduct == le16_to_cpu(rtusb_usb_id[i].idProduct))
                {
                        printk("Found compatible device: idVendor = 0x%x, idProduct = 0x%x \n",
                                        dev->descriptor.idVendor,
                                        dev->descriptor.idProduct);
                        break;
                }
        }
Matt Sealey, Genesi USA Inc.
Product Development Analyst


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group