-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barry Samuels bjsamuels@beenthere-donethat.org.uk wrote:
First - I posted this yesterday over 24 hours ago with a different email address from the one I registered with for the Alug list. I was held back for moderation but hasn't appeared so I'm reposting. If the other one appears please ignore it.
I'm still trying with my WG511 and I'm nearly there.
When I plug the WG511 (made in China) card into my Dell Latitude a PCI event is not generated. This appears to be because ndiswrapper information is not included in /lib/modules/2.4.27/modules.pcimap although the ndiswrapper module is listed in /lib/modules/2.4.27/modules.dep.
It's an evil card! EVIL! but, in theory, you shouldn't need ndiswrapper, there's a set of people writing a native driver for this card, I'll test it in the next few weeks (assuming I get time to play), as I've also got one of those laying about (I've also got a proper Made in Taiwan WG511 and an atheros based (madwifi) WG511T, overkill one may say for a guy that's only got one working laptop and PCMCIA/Cardbus slot ;)
I have a file called 'modules.ndiswrapper' in my /etc/ndiswrapper directory but I don't know now where it came from. It doesn't apear to be part of the ndiswrapper source download. If I manually add the contents of this file (3 lines) to modules.pcimap then things begin to happen when I plug the card in. The snag is, of course, that modules.pcimap is re-written every time the laptop boots.
Hmmm, I rely on debians system to get this right, and the kernel to also get it right. The problem with the WG511 is that the Made in Taiwan and Made in China cards share the same PCI ids, unfortunately this limits the scope somewhat, and as a general rule is defaults to believing that the card isn't knackered (as is the case with the made in china cards).
How can I get the relevant lines to be included in modules.pcimap each time depmod is run?
Find what generates modules.pcimap, it'll be either a hotplug script or an init script (at a guess), hopefully, modifying the source should sort it.
Thanks, - -- Brett Parker web: http://www.sommitrealweird.co.uk/ email: iDunno@sommitrealweird.co.uk