Hi Daniel,
wlan0 came out, but the LED light of usb stick is now off.
I can not ser ap(access point) and rate from iwconfig, never can do ping also.

> I've modified zd1211rw to behave more like the vendor driver in this
> respect. Please try this driver version:
>
> http://dsd.object4.net/zd1211rw-strange-al2230s-v2.tar.gz
>
> Again, compile it with debug info, and reply with the debug logs even if
> it works.

dmseg after power on reboot:
=============================
...(snip)...
eth1: RealTek RTL8139 at 0xe0ac8400, 00:90:cc:9e:85:eb, IRQ 23
eth1:  Identified 8139 chip type 'RTL-8100B/8139D'
usb 5-3: new high speed USB device using ehci_hcd and address 3
usb 5-3: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
usb 5-4: new high speed USB device using ehci_hcd and address 4
usb 5-4: configuration #1 chosen from 1 choice
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <[EMAIL PROTECTED]>
zd1211rw usb_init()
usb 5-5: new high speed USB device using ehci_hcd and address 5
usb 5-5: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi6 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb 5-4: print_id() 0411:00da v4810 high
usb 5-4: reset high speed USB device using ehci_hcd and address 4
zd1211rw 5-4:1.0: zd_netdev_alloc() netdev->flags 0x1002
zd1211rw 5-4:1.0: zd_netdev_alloc() netdev->features 0x00000000
usb 5-4: request_fw_file() fw name zd1211/zd1211b_ub
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e0180000643a6a]
usb 5-4: upload_firmware() firmware device id 0x4810 is equal to the
actual device id
usb 5-4: request_fw_file() fw name zd1211/zd1211b_uphr
usb 5-4: upload_code() transfer size 4096
usb 5-4: upload_code() transfer size 1024
usb 5-4: upload_code() firmware confirm return value 0x01
usb 1-2: new full speed USB device using uhci_hcd and address 4
zd1211rw 5-4:1.0: zd_usb_enable_int()
zd1211rw 5-4:1.0: zd_usb_enable_int() submit urb dece0540
zd1211rw 5-4:1.0: zd_chip_init_hw()
zd1211rw 5-4:1.0: dump_cr() CR_AFTER_PNP 0x00000000
zd1211rw 5-4:1.0: dump_cr() CR_GPI_EN 0x00000000
zd1211rw 5-4:1.0: dump_cr() CR_INTERRUPT 0x00000000
zd1211rw 5-4:1.0: read_fw_regs_offset() fw_regs_base: 0xf7f1
zd1211rw 5-4:1.0: read_pod() E2P_POD 0xa000011a
zd1211rw 5-4:1.0: read_pod() RF AL2230S_RF 0xa PA type 0x0 patch CCK 1
patch CR157 0 patch 6M 0 new PHY 1 link LED1 tx led 1
zd1211rw 5-4:1.0: hw_init()
zd1211rw 5-4:1.0: zd1211b_hw_reset_phy()
zd1211rw 5-4:1.0: zd_chip_lock_phy_regs() CR_REG1: 0x00 -> 0x00
zd1211rw 5-4:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x00 -> 0x80
zd1211rw 5-4:1.0: zd1211b_hw_init_hmac()
zd1211rw 5-4:1.0: get_aw_pt_bi() aw 0 pt 0 bi 0
zd1211rw 5-4:1.0: set_aw_pt_bi() aw 0 pt 99 bi 100
zd1211rw 5-4:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 -> 0x20
zd1211rw 5-4:1.0: zd_usb_rfwrite() value 0x0241000 bits 24
zd1211rw 5-4:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 -> 0xa0
zd1211rw 5-4:1.0: firmware version 4725
zd1211rw 5-4:1.0: dump_fw_registers() FW_FIRMWARE_VER 0x4725
zd1211rw 5-4:1.0: dump_fw_registers() FW_USB_SPEED 0x0001
zd1211rw 5-4:1.0: dump_fw_registers() FW_FIX_TX_RATE 0x0000
zd1211rw 5-4:1.0: dump_fw_registers() FW_LINK_STATUS 0x0000
zd1211rw 5-4:1.0: dump_cr() CR_AFTER_PNP 0x00000001
zd1211rw 5-4:1.0: dump_cr() CR_GPI_EN 0x00000000
zd1211rw 5-4:1.0: dump_cr() CR_INTERRUPT 0x00000000
zd1211rw 5-4:1.0: zd1211b chip 0411:00da v4810 high 00-16-01
AL2230S_RF pa0 g--N-
zd1211rw 5-4:1.0: zd_write_mac_addr() mac addr 00:16:01:6e:9a:80
zd1211rw 5-4:1.0: zd_read_regdomain() regdomain: 0x49
zd1211rw 5-4:1.0: Unrecognised regulatory domain: 0x49. Defaulting to FCC.
zd1211rw 5-4:1.0: regdomain 0x10
zd1211rw 5-4:1.0: zd_usb_disable_int() urb dece0540 killed
zd1211rw 5-4:1.0: probe() successful
zd1211rw 5-4:1.0: eth2
usbcore: registered new interface driver zd1211rw
zd1211rw initialized
....(snip)....
-------

what is "zd1211rw 5-4:1.0: eth2"?
=================================
wifi-usb-stick LED is now off!
==============================
[EMAIL PROTECTED] zd1211rw]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 21
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0     IEEE 802.11b/g  ESSID:off/any  Nickname:"zd1211"
          Mode:Managed  Access Point: Invalid
          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

---------
wlan0 is not activated.
======================
[EMAIL PROTECTED] zd1211rw]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0E:A6:7D:A7:80
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:a6ff:fe7d:a780/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:6698 (6.5 KiB)
          Base address:0xcf80 Memory:fe9e0000-fea00000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:39 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11826 (11.5 KiB)  TX bytes:11826 (11.5 KiB)
-----

after # rmmod zd1211rw, usb stick LED became lighted up.
==========================================================
[EMAIL PROTECTED] zd1211rw]# lsmod |grep zd1211
[EMAIL PROTECTED] zd1211rw]#

dmesg is as follows:
===================
zd1211rw usb_exit()
usbcore: deregistering interface driver zd1211rw
zd1211rw 5-4:1.0: disconnect()
zd1211rw 5-4:1.0: housekeeping_disable()
zd1211rw 5-4:1.0: zd_usb_ioread16v() error in usb_bulk_msg(). Error number -22
zd1211rw 5-4:1.0: zd_usb_iowrite16v() error in usb_bulk_msg(). Error number -22
zd1211rw 5-4:1.0: _zd_iowrite32v_locked() error -22 in zd_usb_write16v
zd1211rw 5-4:1.0: zd_usb_ioread16v() error in usb_bulk_msg(). Error number -22
zd1211rw 5-4:1.0: zd_ioread32v_locked() error: zd_ioread16v_locked.
Error number -22
zd1211rw 5-4:1.0: error ioread32(CR_REG1): -22
zd1211rw 5-4:1.0: zd_usb_disable_int() urb d54ae9c0 killed
usb 5-4: reset high speed USB device using ehci_hcd and address 4
zd1211rw 5-4:1.0: disconnected
---
after I did modprobe:
====================
[EMAIL PROTECTED] zd1211rw]# modprobe -v zd1211rw
insmod 
/lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko

[EMAIL PROTECTED] zd1211rw]# lsmod |grep zd1211
zd1211rw               77444  0
ieee80211softmac       35777  1 zd1211rw
ieee80211              35465  2 zd1211rw,ieee80211softmac

usb stick LED became light off!
================================
[EMAIL PROTECTED] zd1211rw]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 21
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0     IEEE 802.11b/g  ESSID:"0"  Nickname:"zd1211"
          Mode:Managed  Frequency:2.412 GHz  Access Point: Invalid
          Bit Rate=1 Mb/s
          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

--------
I did scanning from wlan0.
===========================
[EMAIL PROTECTED] zd1211rw]# iwlist wlan0 scanning
Warning: Driver for device wlan0 has been compiled with version 21
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0     Scan completed :
          Cell 01 - Address: 00:60:B3:16:40:0B
                    ESSID:"ADTEC"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:1
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Quality=100/100  Signal level=58/100
                    Extra: Last beacon: 333ms ago
          Cell 02 - Address: 00:07:40:F8:F0:7C
                    ESSID:"000D0B6031E8"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:2
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=100/100  Signal level=100/100
                    Extra: Last beacon: 4532ms ago

-----
I can not set Access Point:
==========================

[EMAIL PROTECTED] zd1211rw]# iwconfig wlan0 ap "00:07:40:F8:F0:7C"
[EMAIL PROTECTED] zd1211rw]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 21
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

wlan0     IEEE 802.11b/g  ESSID:"000D0B6031E8"  Nickname:"zd1211"
          Mode:Managed  Frequency:2.462 GHz  Access Point: Invalid
          Bit Rate=1 Mb/s
          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

----

Regards,

Zen

-------------------------------------------------------------------------
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/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to