OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: macwiz on October 15, 2004, 08:12:19 pm

Title: wifi - competely stumped
Post by: macwiz on October 15, 2004, 08:12:19 pm
I thought I would go back and try pdaXrom having used the cacko qtopia rom on my c860 for some time.

I had previously tried it some months ago, but could not get the wifi card to work. And I still can't. First - out of the box - it thinks it is a Farallon card. But cardctl ident shows it to be something else, an Intersil card.

What do I do with the information I get from cardctl ident? Other threads say I stick it in a file called wlan_ng, but my install doesn't have this, though it is in my sl5500 running the TKC rom. Also I have been looking for the prism2_cs (or is it the prism2_cs.o?) that my sl5500 also has but my pdaXrom does not... and yet I gather that my particular card should 'bind to it', rather than orinoco, which I also don't have anyway!

So I am stumped, and any help would be appreciated.

Thanks

-John
Title: wifi - competely stumped
Post by: rgrep on October 15, 2004, 11:16:06 pm
You'll need to put the info from cardctl into /etc/pcmcia/hermes.conf.  You're right that pdaXrom doesn't include the prism2 drivers, but it does have the hostap drivers which, in my opinion, are the best prism2 drivers anyway.

See this post for instructions on modifying hermes.conf:

https://www.oesf.org/forums/inde...indpost&p=44759 (https://www.oesf.org/forums/index.php?showtopic=7151&view=findpost&p=44759)

Your card should work with the orinoco driver, but the above post also explains how to add hostap support in case you need it.
Title: wifi - competely stumped
Post by: macwiz on October 17, 2004, 05:05:56 am
Thanks for this advice. It didn't exactly solve my problem, but it pointed me towards hermes.conf, which I have edited along the lines described, and which I wouldn't have found otherwise. Only binding to hostap etc gave me a flashing light on the wifi card but no connection. So I put in a few more lines at the top about prism2, put in binding to prism2 next to my device details and then copied the prism2 module from my sl5500. Then it worked!

Odd thing is that the wifi applet doesn't show up now.

Thanks again.
Title: wifi - competely stumped
Post by: rgrep on October 17, 2004, 05:19:08 am
The WiFi applet that ships with RC5 is broken.  I have just built the latest version which fixes the bug.  See this thread (https://www.oesf.org/forums/index.php?showtopic=7742&view=findpost&p=46959).
Title: wifi - competely stumped
Post by: Laze on October 17, 2004, 12:00:42 pm
macwiz please post what you added to what files - that way we can easily add it into the next build - that way other users with the same card don't have to add it like you did it :-)
Title: wifi - competely stumped
Post by: macwiz on October 17, 2004, 07:10:31 pm
Sure.

What follow works under the stable pdaXrom 1.0.5. But why bother? I have just loaded the pdaXrom 1.1.0 and it all works out of the box!

In hermes.conf these lines near the beginning following similar concerning orinoco...

Code: [Select]
device "prism2_cs
 Â   class "hermes"
 Â   module  "hermes", "prism2", "prism2_cs"

Then these line where the details about the card appear...

Code: [Select]
# Third class of device : other Intersil clones
card "Farallon SkyLINE"
 Â version "INTERSIL", "HFA384x/IEEE"
 Â manfid 0x0156,0x0002
 Â bind "prism2_cs"
Where the only bit I changed was to add the manfid line (culled from output from the command: cardctl ident) and the line following "bind"...

Note: the card nowhere says on the card itself, or its packaging that it is this card. It was advertised and sold as an origo card:
link to card (http://www.shirtpocket.co.uk/cat/product_info.php?products_id=84&osCsid=f926b026f01f4418313b166c7c5f34dd)
and
card manufacturer (http://www.senao.com.tw/english/product/product_wireless01_outdoor_1.asp?pgtl=Wireless&tp1id=02&tp2id=03&proid=000034)
The details that I edited above where those below the name given it in hermes.conf that showed up in the xcardinfo... ie. Farallon SkyLINE, where I changed orinoco to prism2 etc. They also agreed with the output from cardctl ident

I then (as I said) grabbed the file prism2_cs.o from my sl5500, and put in
/lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia
and rebooted, and it worked.

I suspect I have cheated horribly. If I knew more about this stuff could I have got hostap to work with my card? And if I knew where to get the orinoco_cs.o, and put it in the same place would I have needed to bother editing the hermes.conf at all?

Ultimately, my point is that the card has always worked with other non-pdaXrom roms 'out of the box', and so I transplanted files from another rom to get it going. Incidentally I also transplanted wlan-ng and wlan-ng.conf first of all and was tweaking those to no effect before being directed to the hermes.conf. I then removed them before getting to the fix above.

Hopefully if you have a card that doesn't work the above will give you some clues.

Thanks to rgrep who helped me, though I expect my solution was not precisely as intended.
Title: wifi - competely stumped
Post by: gtJormungand on October 19, 2004, 10:30:18 am
One of the things that I'm still confused about is what needs to happen for a module to be loaded?

Thanks