I'm trying to add this module using the Config.in file and the zd1211-firmware.mk file Jeff provided, but the buildroot doesn't seem to pick up the new module, and I can't find it anywhere to select it on "make menuconfig" (either the standard menuconfig, or the kernel menuconfig). Could I have missed it, or is there some other adjustment which needs to be made?




On Sun, 2007-06-03 at 23:22 -0600, Jeff Sadowski wrote:
Finally I got my zd1211rw working :-)
here are notes on this driver

I downloaded and installed the firmware and placed it in /lib/firmware/zd1211
on my gumstix
(yes the same firware works in both x86 and the arm)

I followed the instructions for "Recompiling the Linux Kernel"

Networking  --->
<M>     Software MAC add-on to the IEEE 802.11 networking stack
Exit
Device Drivers  --->
Network device support  --->
Wireless LAN (non-hamradio)  --->
<M>   ZyDAS ZD1211/ZD1211B USB-wireless support

When I got it built and installed I was getting the error

zd1211rw 1-2.1:1.0: AL2230S devices are not yet supported by this driver.

I found on google that I had to comment out the check that did this

I did that recompiled the module and wala
I know have a usb wifi card that can use wpa_supplicant :-)

I like it.

Now I can finnaly work on the other projects

I created a zd1211-firmware package with the following

#cat Config.in
config ZD1211_FIRMWARE
        bool "zd1211-firmware"
        default n
        help
          Firmware for the zd1211 wireless chip
          Linux kernel options needed
          Networking  --->
          <M>     Software MAC add-on to the IEEE 802.11 networking stack
          Exit
          Device Drivers  --->
          Network device support  --->
          Wireless LAN (non-hamradio)  --->
          <M>   ZyDAS ZD1211/ZD1211B USB-wireless support

cat zd1211-firmware.mk

ZD1211_VERSION:=1.3
ZD1211_SOURCE:=zd1211-firmware$(ZD1211_VERSION).tar.bz2
ZD1211_SITE:=http://superb-east.dl.sourceforge.net/sourceforge/zd1211
ZD1211_DIR=$(BUILD_DIR)/zd1211-firmware
ZD1211_CAT:=bzcat

$(DL_DIR)/$(ZD1211_SOURCE):
         $(WGET) -P $(DL_DIR) $(ZD1211_SITE)/$(ZD1211_SOURCE)

zd1211-firmware-source: $(DL_DIR)/$(ZD1211_SOURCE)

$(ZD1211_DIR)/.unpacked: $(DL_DIR)/$(ZD1211_SOURCE)
        $(ZD1211_CAT) $(DL_DIR)/$(ZD1211_SOURCE) | tar -C $(BUILD_DIR)
$(TAR_OPTIONS) -
        touch $(ZD1211_DIR)/.unpacked

$(TARGET_DIR)/lib/firmware/zd1211:
        mkdir -p $(TARGET_DIR)/lib/firmware/zd1211

zd1211-firmware: $(TARGET_DIR)/lib/firmware/zd1211
$(DL_DIR)/$(ZD1211_SOURCE) $(ZD1211_DIR)/.unpacked
        cp -ra $(ZD1211_DIR)/* $(TARGET_DIR)/lib/firmware/zd1211

zd1211-firmware-clean:
        rm -rf $(TARGET_DIR)/lib/firmware/zd1211

zd1211-firmware-dirclean:
        rm -rf $(ZD1211_DIR)

ifeq ($(strip $(ZD1211_FIRMWARE)),y)
TARGETS+=zd1211-firmware
endif

and added it to my packages :-)
now its easy to get it working

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users