Re: pcmcia: atmel_cs drivers: problems with firmware
Simon Kelley <simon-xn1N/tgparsycpQjotevgVpr/1R2p/[email protected]> Wed, 31 Dec 2003 10:06:51 +0000
| Newsgroups | gmane.linux.drivers.atmel-wlan |
|---|---|
| Message-ID | <[email protected]> |
Sebastian Thelen wrote: > Hello, > I am running Debian with 2.6.0 kernel on my notebook and have got a 3com > 3crshpw_96 wlan card. I have compiled the atmel wlan drivers supplied > with the kernel as modules and installed the firmware from Simon Kelleys > as described. Then I configured cardmgr to use the atmel_cs module with > my card and further I changed the location of the sysfs to 'sys' as it > is on my machin. The configuration for the networkinterface did I make > in /etc/network/interfaces. > When I insert the card into the pcmcia slot all logs look fine but when > I try to change the essid for example logoutput sais: > 'kernel: eth1: firmware atmel_at76c502_3com.bin is missing, cannot start.' > It so happens that I've been in "fix random Atmel breakage" mode for the last day or so, and I've sorted this one. The problem is that there's a race condition on the firmware loading code which the script in the firmware package doesn't deal with. The solution is to throw away that script, since there now is a correct one in the hotplug package. I'll release new firmware pacakge soon, but in the meantime you can patch things up like this. 1) Make sure you hotplug package is up-to-date. The last release on Sourceforge is too old, a CVS snapshot is OK, the package in Debian testing is OK too. If the file /etc/hotplug/firmware.agent exists, you're OK. 2) Delete the firmware-package provided script at /etc/hotplug.d/firmware/atmel.hotplug 3) Copy the firmware files from /usr/share/firmware/atmel_at76c50x to their new correct directory at /usr/lib/hotplug/firmware > The next problem occures, when I want to shut down the cardmgr: then I > get this message all the time: > 'unregister_netdevice: usage count = 4 waiting for device to become free'. > That's the next bug on the list: but I can't reproduce it. Could you send me a copy of your kernel configuration? As a work-around, I think tha if you build the driver into the kernel, rather than as a module, things should work OK. > > Unfortunately I can' test my wlan system properly, becaus I do not have > any other wlan devices here at home. > > I would be pleased if someone could help me. HTH. A new firmware package should be out soon, hopefully a combined one for PCMCIA and USB. BTW. Does anybody know anything about WPA? I've just upgraded the driver to use Atmel's new WPA-enabled firmware but it doesn't actually allow the use of WPA. As I don't have a WPA-enabled AP I'm stuck trying to make it go anyway. Cheers, Simon. > > Sebastian > > _______________________________________________ > Atmel-wlan-usb mailing list > Atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org > https://iprserv.jura.uni-leipzig.de/mailman/listinfo/atmel-wlan-usb >