Hello!

I'm using VectorLinux 5.8 (Slackware 11 derivative) and I'm having trouble
getting my SMC usb dongle to work.
I bought myself an SMC EZ Connect SMCWUSB-G a while back, and had been using
the zd1211b module provided in kernel 2.6.17 (while Vectorlinux 5.8 was
still in beta). The kernel was updated to 2.6.18.5, but I found your website
easily enough and compiled the module myself.

However, I just installed kernel 2.6.19.2 and the module refuses to compile
(from the r83 zd1211-driver tarball). I'm aware that this is probably due to
changes in the new kernel release.
Anyway, one of the problems was that include/linux/config.h no longer exists
in the kernel source tree, so that was one of the major problems that
occurred when I tried to compile the module.
So I copied the config.g from the 2.6.18.5 source tree the the
2.6.19.2tree, and the module started compiling, until it hit a huge
mass of error
and aborted:


# make
/lib/modules/2.6.19.2/build
/root/drivers/zd1211-driver-r83
-I/root/drivers/zd1211-driver-r83/src/include -fomit-frame-pointer -O2 -Wall
-Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC
-DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE
-DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1
-DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o
src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o
src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o
src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.19.2/build SUBDIRS=/root/drivers/zd1211-driver-r83
modules
make[1]: Entering directory `/usr/src/linux-2.6.19.2'
 CC [M]  /root/drivers/zd1211-driver-r83/src/zd1205.o
/root/drivers/zd1211-driver-r83/src/zd1205.h:1279: warning: 'zd_readl'
declared inline after being called
/root/drivers/zd1211-driver-r83/src/zd1205.h:1279: warning: previous
declaration of 'zd_readl' was here
/root/drivers/zd1211-driver-r83/src/zd1205.c: In function
`zd1205_validate_frame':
/root/drivers/zd1211-driver-r83/src/zd1205.c:2809: warning: unused variable
`len1'
/root/drivers/zd1211-driver-r83/src/zd1205.c: In function
`zd1205_translate_scan':
/root/drivers/zd1211-driver-r83/src/zd1205.c:7183: warning: int format, U32
arg (arg 4)
/root/drivers/zd1211-driver-r83/src/zd1205.c:7183: warning: unknown
conversion type character `,' in format
/root/drivers/zd1211-driver-r83/src/zd1205.c:7183: warning: spurious
trailing `%' in format
/root/drivers/zd1211-driver-r83/src/zd1205.c: In function `zd1205_list_bss':
/root/drivers/zd1211-driver-r83/src/zd1205.c:7388: warning: int format, U32
arg (arg 2)
/root/drivers/zd1211-driver-r83/src/zd1205.c:7388: warning: spurious
trailing `%' in format
/root/drivers/zd1211-driver-r83/src/zd1205.c: In function
`CalculateQuality':
/root/drivers/zd1211-driver-r83/src/zd1205.c:10074: warning: unused variable
`rxOffset'
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdasocsvc.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdauthreq.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdauthrsp.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdmmrx.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdshared.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdhci.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdglobal.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdencrypt.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdpmfilter.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdpsmon.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdsynch.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdbuf.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zd1205_proc.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdhw.o
/root/drivers/zd1211-driver-r83/src/zdhw.c: In function
`HW_Set_AL2232_RF_Chips':
/root/drivers/zd1211-driver-r83/src/zdhw.c:1868: warning: unused variable
`macp'  CC [M]  /root/drivers/zd1211-driver-r83/src/zddebug.o
/root/drivers/zd1211-driver-r83/src/zddebug.c: In function `zd1205_cont_tx':
/root/drivers/zd1211-driver-r83/src/zddebug.c:921: warning: `return' with a
value, in function returning void
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdtkipseed.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdmic.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zdusb.o
 CC [M]  /root/drivers/zd1211-driver-r83/src/zd1211.o
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_USB_WRITE_EEPROM_DATA':
/root/drivers/zd1211-driver-r83/src/zd1211.c:389: warning: passing arg 6 of
`usb_fill_int_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:394: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_USB_ProgramFlash':
/root/drivers/zd1211-driver-r83/src/zd1211.c:456: warning: passing arg 6 of
`usb_fill_int_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:461: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_USB_PACKAGE_READ_REGISTER':
/root/drivers/zd1211-driver-r83/src/zd1211.c:538: warning: passing arg 6 of
`usb_fill_int_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:543: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_USB_PACKAGE_WRITE_REGISTER':
/root/drivers/zd1211-driver-r83/src/zd1211.c:720: warning: passing arg 6 of
`usb_fill_int_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:725: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:1555:5: warning:
"fVERIFY_FLASH" is not defined
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_USB_SET_RF_REG':
/root/drivers/zd1211-driver-r83/src/zd1211.c:1675: warning: passing arg 6 of
`usb_fill_int_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:1680: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_InitSetup':
/root/drivers/zd1211-driver-r83/src/zd1211.c:1850: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c:1892: error: structure has no
member named `get_wireless_stats'
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function `zd1211_intr_cb':
/root/drivers/zd1211-driver-r83/src/zd1211.c:2508: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_submit_rx_urb':
/root/drivers/zd1211-driver-r83/src/zd1211.c:2647: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
/root/drivers/zd1211-driver-r83/src/zd1211.c: In function
`zd1211_submit_tx_urb':
/root/drivers/zd1211-driver-r83/src/zd1211.c:2884: warning: passing arg 6 of
`usb_fill_bulk_urb' from incompatible pointer type
make[2]: *** [/root/drivers/zd1211-driver-r83/src/zd1211.o] Error 1
make[1]: *** [_module_/root/drivers/zd1211-driver-r83] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19.2'
make: *** [all] Error 2

So it looks like that is really a mo go....

I'm more that willing to try and use the zd1211rw module and help out with
the debugging, but unfortunately it doesn't seem to recognize my card (even
though it is listed on your website).
lsusb confirms the cards presence and id (083a:4505).

The zd1211rw module does not autoload when I plug the card in, or even if
the card was already plugged in before booting (i do have module autoloading
activated in my kernel config).

I used

tail -f /var/log/messages

and plugged and unplugged the dongle, receiving this output:

Jan 23 21:35:51 vector kernel: usb 1-1.1: new high speed USB device using
ehci_hcd and address 5
Jan 23 21:35:51 vector kernel: usb 1-1.1: configuration #1 chosen from 1
choice

But absolutely no sign of the zd1211rw module being loaded or unloaded.

What else can I do to try and get it working?

Thanks in advance!

Regards,

Eugéne
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to