Click to See Complete Forum and Search --> : ZD1211 (swu-5400) linux driver problem


benyc22
01-30-2007, 03:17 PM
Sorry in advance for entering the wrong product number as the forum title. Above is correct, however, swlu-5400 / ZD1211.


Hi there. A new SUSE 10.0 user.

downloaded Linux driver from safecom website, link: http://safecom.cn/code/support/DMF.aspx?pid=370

uname -r = 2.6.13-15-smp

The compile when 'make'

bclayes@linux:~> su
Password:
linux:/home/bclayes # cd /home/bclayes/ZD1211ln
linux:/home/bclayes/ZD1211ln # make
/lib/modules/2.6.13-15-smp/build
/home/bclayes/ZD1211ln
-I/home/bclayes/ZD1211ln/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1
make -C /lib/modules/2.6.13-15-smp/build SUBDIRS=/home/bclayes/ZD1211ln modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/smp'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/smp modules
CC [M] /home/bclayes/ZD1211ln/src/zd1205.o
In file included from /home/bclayes/ZD1211ln/src/zd1205.c:42:
/home/bclayes/ZD1211ln/src/zd1205.h:663: warning: ‘__packed__’ attribute ignoredIn file included from /home/bclayes/ZD1211ln/src/zd1205.c:43:
/home/bclayes/ZD1211ln/src/zdinlinef.h: In function ‘Cfg_CtrlSetting’:
/home/bclayes/ZD1211ln/src/zdinlinef.h:352: warning: ‘LenInUs’ may be used uninitialized in this function
/home/bclayes/ZD1211ln/src/zdinlinef.h:353: warning: ‘NextLenInUs’ may be used uninitialized in this function
/home/bclayes/ZD1211ln/src/zd1205.c: At top level:
/home/bclayes/ZD1211ln/src/zd1205.c:236: warning: function declaration isn’t a prototype
/home/bclayes/ZD1211ln/src/zd1205.c:237: warning: function declaration isn’t a prototype
/home/bclayes/ZD1211ln/src/zd1205.c:302: warning: useless storage class specifier in empty declaration
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_house_keeping’:
/home/bclayes/ZD1211ln/src/zd1205.c:1227: warning: unused variable ‘tmpvalue’
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_config’:
/home/bclayes/ZD1211ln/src/zd1205.c:2097: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘U32’
/home/bclayes/ZD1211ln/src/zd1205.c:2097: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘U32’
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_close’:
/home/bclayes/ZD1211ln/src/zd1205.c:578: sorry, unimplemented: inlining failed in call to ‘zd_readl’: function not considered for inlining
/home/bclayes/ZD1211ln/src/zd1205.c:485: sorry, unimplemented: called from here
/home/bclayes/ZD1211ln/src/zd1205.c:538: sorry, unimplemented: inlining failed in call to ‘zd_writel’: function not considered for inlining
/home/bclayes/ZD1211ln/src/zd1205.c:487: sorry, unimplemented: called from here
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_xmit_frame’:
/home/bclayes/ZD1211ln/src/zd1205.c:4406: warning: suggest parentheses around && within ||
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_watchdog’:
/home/bclayes/ZD1211ln/src/zd1205.c:5040: warning: unused variable ‘ssidLenToDump’
/home/bclayes/ZD1211ln/src/zd1205.c:5039: warning: unused variable ‘cbTemp’
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_ioctl_setiwencode’:
/home/bclayes/ZD1211ln/src/zd1205.c:5358: warning: unused variable ‘bReconnect’
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205wext_siwscan’:
/home/bclayes/ZD1211ln/src/zd1205.c:6105: warning: unused variable ‘ul_mac_ps_state’
/home/bclayes/ZD1211ln/src/zd1205.c:6104: warning: unused variable ‘i’
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_translate_scan’:
/home/bclayes/ZD1211ln/src/zd1205.c:6254: warning: unknown conversion type character ‘,’ in format
/home/bclayes/ZD1211ln/src/zd1205.c:6254: warning: spurious trailing ‘%’ in format
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_list_bss’:
/home/bclayes/ZD1211ln/src/zd1205.c:6392: warning: spurious trailing ‘%’ in format
/home/bclayes/ZD1211ln/src/zd1205.c:6392: warning: spurious trailing ‘%’ in format
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_ioctl’:
/home/bclayes/ZD1211ln/src/zd1205.c:6659: warning: ‘verify_area’ is deprecated (declared at include2/asm/uaccess.h:105)
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘zd1205_load_card_setting’:
/home/bclayes/ZD1211ln/src/zd1205.c:7389: warning: suggest parentheses around assignment used as truth value
/home/bclayes/ZD1211ln/src/zd1205.c: In function ‘CalculateQuality’:
/home/bclayes/ZD1211ln/src/zd1205.c:8752: warning: ISO C90 forbids mixed declarations and code
make[4]: *** [/home/bclayes/ZD1211ln/src/zd1205.o] Error 1
make[3]: *** [_module_/home/bclayes/ZD1211ln] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/smp'
make: *** [all] Error 2
linux:/home/bclayes/ZD1211ln #

Many thanks in advance :)

Ben

benyc22
02-01-2007, 05:57 PM
Solved: Used Wusb11 V2.8 Linksys/cisco Card :)