Have you tried using compat-wireless? That would give you the latest zd1211rw 
code against an older kernel. (compat-wireless is equivalent to the 
kernel-module-backport package on ubuntu, I think).

James Ronald wrote:
> I am trying to get a "safe home" brand USB zd1211b device to work with one of
> our ARM based products. Basically the probe works and device registers fine.
> Issuing iwconfig I see that device shows up as  wlan0.  I then issue the
> command  "ifconfig wlan0 up", the firmware gets loaded, things start to
> initialize and then the driver gets removed...
> 
> I'm running a 2.6.25 kernel compiled for ARM using GCC 4.2.3 and have been
> trying to get this working for a couple of days now.  I looked at back
> porting the driver from a newer kernel but there is a lot of stuff changed
> in the wireless.h, mac80211 and softmac areas that I'm not current with and
> will most likely cause issues with Wireless CF cards that do work.  Also, I
> did try the device on my Ubuntu 8.10 desktop (2.6.24-25-generic) and it
> works fine.  Although, it does use ieee80211softmac.
> 
> Anyway, any help would be appreciated.
> 
> Thanks
> James Ronald
> 
> wmaster0  no wireless extensions.
> 
> wlan0     IEEE 802.11g  ESSID:""
>          Mode:Managed  Channel:0  Access Point: Not-Associated
>          Tx-Power=0 dBm
>          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
>          Encryption key:off
>          Link Quality:0  Signal level:0  Noise level:0
>          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> 
> 
> #dmesg
> * Inserted device
> [   33.010000] usb 1-1: new full speed USB device using isp116x-hcd and
> address 2
> [   33.290000] usb 1-1: configuration #1 chosen from 1 choice
> [   33.380000] usb 1-1: New USB device found, idVendor=0ace, idProduct=1215
> [   33.380000] usb 1-1: New USB device strings: Mfr=16, Product=32,
> SerialNumber=0
> [   33.380000] usb 1-1: Product: USB2.0 WLAN
> [   33.380000] usb 1-1: Manufacturer: ZyDAS
> [   35.280000] zd1211rw usb_init()
> [   35.340000] usb 1-1: print_id() 0ace:1215 v4810 full
> [   35.560000] usb 1-1: reset full speed USB device using isp116x-hcd and
> address 2
> [   35.800000] zd1211rw 1-1:1.0: zd_chip_read_mac_addr_fw()
> [   35.830000] phy0: Selected rate control algorithm 'pid'
> [   36.960000] zd1211rw 1-1:1.0: probe() successful
> [   36.960000] zd1211rw 1-1:1.0: phy0
> [   36.980000] usbcore: registered new interface driver zd1211rw
> [   36.980000] zd1211rw initialized
> 
> 
> * Did ifconfig wlan0 up
> [   78.660000] zd1211rw 1-1:1.0: zd_usb_init_hw()
> [   78.660000] usb 1-1: request_fw_file() fw name zd1211/zd1211b_ub
> [   78.750000] usb 1-1: upload_firmware() firmware device id 0x4810 is equal
> to the actual device id
> [   78.750000] usb 1-1: request_fw_file() fw name zd1211/zd1211b_uphr
> [   78.780000] usb 1-1: upload_code() transfer size 4096
> [   78.800000] usb 1-1: upload_code() transfer size 1024
> [   78.810000] usb 1-1: upload_code() firmware confirm return value 0x01
> [   79.000000] zd1211rw 1-1:1.0: zd_usb_enable_int()
> [   79.000000] zd1211rw 1-1:1.0: zd_usb_enable_int() submit urb df4e30a0
> [   79.000000] zd1211rw 1-1:1.0: zd_chip_init_hw()
> [   79.000000] zd1211rw 1-1:1.0: dump_cr() CR_AFTER_PNP 0x00000000
> [   79.010000] zd1211rw 1-1:1.0: dump_cr() CR_GPI_EN 0x00000000
> [   79.010000] zd1211rw 1-1:1.0: dump_cr() CR_INTERRUPT 0x00000000
> [   79.020000] zd1211rw 1-1:1.0: read_fw_regs_offset() fw_regs_base: 0xf772
> [   79.040000] zd1211rw 1-1:1.0: read_pod() E2P_POD 0x80000584
> [   79.040000] zd1211rw 1-1:1.0: read_pod() RF AL2230_RF 0x4 PA type 0x0
> patch CCK 1 patch CR157 0 patch 6M 0 new PHY 1 link LED2 tx led 1
> [   79.040000] zd1211rw 1-1:1.0: hw_init()
> [   79.040000] zd1211rw 1-1:1.0: zd1211b_hw_reset_phy()
> [   79.120000] zd1211rw 1-1:1.0: zd1211b_hw_init_hmac()
> [   79.250000] zd1211rw 1-1:1.0: zd_usb_rfwrite() value 0x0241000 bits 24
> [   79.440000] zd1211rw 1-1:1.0: firmware version 4725
> [   79.450000] zd1211rw 1-1:1.0: dump_fw_registers() FW_FIRMWARE_VER 0x4725
> [   79.450000] zd1211rw 1-1:1.0: dump_fw_registers() FW_USB_SPEED 0x0000
> [   79.450000] zd1211rw 1-1:1.0: dump_fw_registers() FW_FIX_TX_RATE 0x0000
> [   79.450000] zd1211rw 1-1:1.0: dump_fw_registers() FW_LINK_STATUS 0x0000
> [   79.450000] zd1211rw 1-1:1.0: dump_cr() CR_AFTER_PNP 0x00000001
> [   79.460000] zd1211rw 1-1:1.0: dump_cr() CR_GPI_EN 0x00000000
> [   79.460000] zd1211rw 1-1:1.0: dump_cr() CR_INTERRUPT 0x00000000
> [   79.560000] zd1211rw 1-1:1.0: zd1211b chip 0ace:1215 v4810 full 00-02-72
> AL2230_RF pa0 g--NS
> [   79.570000] zd1211rw 1-1:1.0: zd_read_regdomain() regdomain: 0x30
> [   79.570000] zd1211rw 1-1:1.0: regdomain 0x30
> [   79.570000] zd1211rw 1-1:1.0: zd_usb_disable_int() urb df4e30a0 killed
> [   79.570000] zd1211rw 1-1:1.0: zd_usb_enable_int()
> [   79.570000] zd1211rw 1-1:1.0: zd_usb_enable_int() submit urb df4e30a0
> [   79.610000] zd1211rw 1-1:1.0: zd_usb_enable_rx()
> [   79.610000] zd1211rw 1-1:1.0: housekeeping_enable()
> [   79.610000] zd1211rw 1-1:1.0: zd_write_mac_addr() mac addr
> 00:02:72:85:2d:28
> [   79.630000] zd1211rw 1-1:1.0: zd_op_bss_info_changed() changes: 6
> [   79.640000] zd1211rw 1-1:1.0: zd_chip_set_rts_cts_rate_locked()
> preamble=0
> [   79.650000] zd1211rw 1-1:1.0: zd_rf_set_channel() channel: 1
> [   79.760000] zd1211rw 1-1:1.0: patch_cck_gain() patching value 1c
> [   80.190000] usb 1-1: rx_urb_complete() *** first fragment ***
> [   80.190000] usb 1-1: rx_urb_complete() *** second fragment ***
> [   81.300000] zd1211rw usb_exit()
> [   81.300000] usbcore: deregistering interface driver zd1211rw
> [   81.310000] zd1211rw 1-1:1.0: disconnect()
> [   81.380000] zd1211rw 1-1:1.0: zd_write_mac_addr() set NULL mac
> [   81.380000] zd1211rw 1-1:1.0: zd_usb_iowrite16v() error in
> usb_bulk_msg(). Error number -22
> [   81.380000] zd1211rw 1-1:1.0: _zd_iowrite32v_locked() error -22 in
> zd_usb_write16v
> [   81.380000] zd1211rw 1-1:1.0: zd_iowrite32a_locked() error
> _zd_iowrite32v_locked. Error number -22
> [   81.420000] zd1211rw 1-1:1.0: housekeeping_disable()
> [   81.420000] zd1211rw 1-1:1.0: zd_usb_ioread16v() error in usb_bulk_msg().
> Error number -22
> [   81.420000] zd1211rw 1-1:1.0: zd_usb_iowrite16v() error in
> usb_bulk_msg(). Error number -22
> [   81.420000] zd1211rw 1-1:1.0: _zd_iowrite32v_locked() error -22 in
> zd_usb_write16v
> [   81.420000] zd1211rw 1-1:1.0: zd_usb_ioread16v() error in usb_bulk_msg().
> Error number -22
> [   81.420000] zd1211rw 1-1:1.0: zd_ioread32v_locked() error:
> zd_ioread16v_locked. Error number -22
> [   81.420000] zd1211rw 1-1:1.0: error ioread32(CR_REG1): -22
> [   81.430000] zd1211rw 1-1:1.0: zd_usb_disable_int() urb df4e30a0 killed
> [   81.900000] usb 1-1: reset full speed USB device using isp116x-hcd and
> address 2
> [   82.140000] zd1211rw 1-1:1.0: disconnected
> 
> 
> 
> # lsmod
> Module                  Size  Used by    Tainted: P
> arc4                    1696  2
> ecb                     2752  2
> crypto_blkcipher       16068  1 ecb
> cryptomgr               2720  0
> crypto_algapi          14240  4 arc4,ecb,crypto_blkcipher,cryptomgr
> zd1211rw               66820  0
> firmware_class          7200  1 zd1211rw
> mac80211              126826  1 zd1211rw
> cfg80211               17320  1 mac80211
> af_packet              17312  0
> phoenix_pinsw           3312  0
> phoenix_firmware      340076  0
> rtc_ds1374              4864  0
> rtc_core               14712  1 rtc_ds1374
> i2c_gpio                2432  0
> i2c_algo_bit            5924  1 i2c_gpio
> i2c_dev                 6244  0
> usb_storage            37760  0
> sd_mod                 20944  2
> isp116x_hcd            14240  0
> usbcore               125684  4 zd1211rw,usb_storage,isp116x_hcd
> pata_pcmcia            11296  2
> libata                138788  1 pata_pcmcia
> scsi_mod               97056  3 usb_storage,sd_mod,libata
> lh7a400_cs              3072  4
> lh7a40x_core           10080  1 lh7a400_cs
> pcmcia                 26340  1 pata_pcmcia
> pcmcia_core            30992  4 pata_pcmcia,lh7a400_cs,lh7a40x_core,pcmcia
> vfat                   10368  0
> fat                    46780  1 vfat
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
> 

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to