Thinkpad 560z and Netgear WG511


Forum: Laptops
Topic: Thinkpad 560z and Netgear WG511
started by: obimeister

Posted by obimeister on April 24 2005,01:50
I'm runnin DSL 1.0.1 on a thinkpad 560z (hd install). I'm trying to get my netgear WG511 cardbus wireless networking card working, without much success. I've tried using ndiswrapper with the latest netgear drivers, but when I do ndiswrapper -l it says "wg511 driver present, hardware NOT installed." However, the card is inserted, and cardctl config shows the card is in the slot. I have looked at the native linux drivers at prism54.org, but they require recompiling the kernel. Any ideas why ndiswrapper isn't finding my card?
Posted by obimeister on April 26 2005,15:32
I think I might know why ndiswrapper is not working. Although cardmgr knows my pc card is there, DSL isn't loading it as a cardbus adapter. When I do lspci, the TI cardbus controller shows up, but the card itself never does. If lspci can't see my card, neither can ndiswrapper. Any ideas haw to fix this?
Posted by ke4nt1 on April 26 2005,15:41
If you could take a quick look at this list of cards, and under netgear,
narrow down the list to the exact card you have, then we might
be able to walk you thru the ndiswrapper routine ..
( most of these were tested under a newer kernel )

< http://ndiswrapper.sourceforge.net/phpwiki....6e8b758 >

I saw another post in the forums asking about the same type of card, without any solution listed..

When you run lsmod, do you see any prism drivers loaded ?
They may need to be unloaded first before attempting ndiswrapper..

73
ke4nt

Posted by obimeister on April 26 2005,16:46
The card that I have is the original wg511 (made in taiwan, NOT the newer watered-down china card).

I did see this post in the forum with a very similar problem to my own. The card he uses uses the same prism GT chipset as my own:
< http://damnsmalllinux.org/cgi-bin....82;st=5 >

It looks like the solution was to mount sysfs, prior to sending the firmware to the card. This afternoon I'll try it on my laptop.

Posted by SaidinUnleashed on April 26 2005,16:53
That card natively uses the prism54 module, which DSL doesn't have.

If you can track down the appropriate version of Knoppix (3.4-5.17.2004) you can get the module from there.

If I can find my knoppix CD, I'll upload the module somewhere later.


-J.P.

Posted by obimeister on April 27 2005,05:41
OK. Talk about weirdness. I tried booting knoppix (both 3.6 and 3.8) because those distros supposedly support prism54 drivers, but no lights came on when I inserted the card. Here is the weird part: lspci in knoppix does not show my card at all... but lspci in DSL does! I thought it didn't, but when I insert my card, a new device shows up on the list. Knoppix does nothing when I insert/remove the card. Anyway, I'm interested in that prism54 module, Saidin. Post it if you find it!

Ke4nt1, I also want to know how to get ndiswrapper working. I tried the gui thing and... nothing happened.

Posted by obimeister on April 29 2005,01:13
Boohyeah! I got it working! I noticed that when I ran lspci that the card was returning and invalid vendor id. I downloaded the prism54 driver source from www.prism54.org, and re-coded it to ignore the vendor id on my card. I re-compiled it, and boom! Now it works. I hope this info helps someone else.
Posted by CappyCaffeine on May 07 2005,02:36
obimeister!

exactly, how did you recode the source from prism54.org to ignore the vendor ID?

I had trouble getting this card to work with the prism54 driver and am currently using ndiswrapper.

My card is the Taiwan version as well and I had the same error you mentioned in the start of this thread.

Cappy

Posted by obimeister on May 11 2005,15:26
O.K., here is what I did to get netgear WG511 (802.11g cardbus adapter) working:
installed gcc1.dsl
installed apt-get
updated hotplug package with apt-get
Downloaded kernel 2.4.26 source from kernel.org
installed kernel source
installed kernelsource.dsl
ran "make dep"
Downloaded prism54 source tarball from prism54.org
edited lspci_hotplug.c in prism source:
in prism_54_id_tbl
in netgear wg511 entry
changed PCIVENDOR_INTERSIL to PCI_ANY_ID
Compiled + installed prism54 as per readme: remember to:
install firmware_agent (search the forums for this)where hotplug wants it
copy firmware binary (available at prism54.org) to where firmware_agent wants it.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.