Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-08-02 Thread Bunpei

Hello, Zen,

> So, I changed to use from zd1211rw to the vendor based community driver,
> zd1211b (svn rev.85) and finally I could run WLI-U2-KG54L(0411:00da).

I have tried to complile and use the "vendor based community driver" on my
Knoppix 5.1.1J ( kernel 2.6.19.1) environment after adding the vendor and
product code above.
In your case, haven't you experienced complile errors ?

In my case, I encountered some complie errors in zd1211.c;

macro "INIT_WORK" requires 3 arguments, but only 2 given

This was due to the following conditionals, 
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18))
..

If I modified the the part as 
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19))
I could suppress the errors.
However, the given zd1211b with certain firmware does not work
on my system.  The output of dmesg is;

ZD1211B - http://zd1211.ath.cx/ - SVN_TRUNK
Based on www.zydas.com.tw driver version 2.5.0.0
usb 1-2: reset full speed USB device using uhci_hcd and address 2
Release Ver = 4810
zd1211:bulk out: wMaxPacketSize = 40
zd1211:bulk in: wMaxPacketSize = 40
zd1211:interrupt in: wMaxPacketSize = 40
zd1211:interrupt in: int_interval = 1
zd1211:bulk out: wMaxPacketSize = 40
EEPORM Ver = 4810
zd1211:USB Download Boot code success
zd1211: failed intr_urb
zd1211:USB ST Code = -22
zd1211b: probe of 1-2:1.0 failed with error -5
usbcore: registered new interface driver zd1211b

As I stick to Knoppix, I can't upgrade my kernel version to the latest one.

Best regards,
Bunpei
-- 
View this message in context: 
http://www.nabble.com/buffalo-WLI-U2-KG54L%280411%3A00da%29-tf3828198.html#a11977338
Sent from the zd1211-devs mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-02 Thread Zen Kato
Hi Daniel,

I tried again to test zd1211rw-strange-a12230s-v2.
This is a report of success of zd1211rw-strange-a12230s-v2.

Last time I could not set AP and could not change Bit Rate=1 Mb/s to
54Mb/s using # iwconfig as follows:

-- last time trial --
[EMAIL PROTECTED] zd1211rw]# iwconfig wlan0 ap "00:07:40:F8:F0:7C"
[EMAIL PROTECTED] zd1211rw]# iwconfig
lono 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


The soultion was ping to AP address(192.168.0.254). Then AP and Bit
Rate was set as follows:

-- this time success trial --
==
zd1211rw-strange-al2230s-v2
===
[EMAIL PROTECTED] zenkato]# lsmod|grep zd1211
zd1211rw   77444  0
ieee80211softmac   35777  1 zd1211rw
ieee80211  35465  2 zd1211rw,ieee80211softmac

[EMAIL PROTECTED] zenkato]# iwconfig
lono 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: 00:07:40:F8:F0:7C
  Bit Rate=54 Mb/s
  Encryption key:off
  Link Quality=94/100  Signal level=51/100
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

I tried to test zd1211b again for comparison between them.
The difference between zd1211rw-strange-v2 and zd1211b are:

(1)zd1211rw-strange-v2 driver does not show:
===
Retry:off   RTS thr=2432 B   Fragment thr:off
Power Management:off
Noise level=0/100
==

zd1211b(vendor-community driver) is as follows:

wlan0 802.11b/g NIC  ESSID:"000D0B6031E8"
  Mode:Managed  Frequency=2.462 GHz  Access Point: 00:07:40:F8:F0:7C
  Bit Rate:54 Mb/s
  Retry:off   RTS thr=2432 B   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality=100/100  Signal level=81/100  Noise level=0/100
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:226
  Tx excessive retries:4266  Invalid misc:0   Missed beacon:0


(2)ping speed of zd1211rw-strange-v2 is slower than that of zd1211b.

zd1211rw-strange-v2
===
[EMAIL PROTECTED] zenkato]# ping 192.168.0.254
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=222 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=143 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=64 time=475 ms
64 bytes from 192.168.0.254: icmp_seq=4 ttl=64 time=805 ms
64 bytes from 192.168.0.254: icmp_seq=5 ttl=64 time=11.6 ms
64 bytes from 192.168.0.254: icmp_seq=6 ttl=64 time=214 ms
64 bytes from 192.168.0.254: icmp_seq=7 ttl=64 time=57.5 ms
64 bytes from 192.168.0.254: icmp_seq=8 ttl=64 time=81.7 ms
64 bytes from 192.168.0.254: icmp_seq=9 ttl=64 time=309 ms
64 bytes from 192.168.0.254: icmp_seq=10 ttl=64 time=25.7 ms
64 bytes from 192.168.0.254: icmp_seq=11 ttl=64 time=48.9 ms
64 bytes from 192.168.0.254: icmp_seq=12 ttl=64 time=73.0 ms
64 bytes from 192.168.0.254: icmp_seq=13 ttl=64 time=199 ms
64 bytes from 192.168.0.254: icmp_seq=14 ttl=64 time=223 ms
64 bytes from 192.168.0.254: icmp_seq=15 ttl=64 time=349 ms
64 bytes from 192.168.0.254: icmp_seq=16 ttl=64 time=475 ms
64 bytes from 192.168.0.254: icmp_seq=17 ttl=64 time=90.5 ms
64 bytes from 192.168.0.254: icmp_seq=18 ttl=64 time=12.2 ms
64 bytes from 192.168.0.254: icmp_seq=19 ttl=64 time=36.3 ms
64 bytes from 192.168.0.254: icmp_seq=20 ttl=64 time=162 ms
64 bytes from 192.168.0.254: icmp_seq=21 ttl=64 time=289 ms
64 bytes from 192.168.0.254: icmp_seq=22 ttl=64 time=6.49 ms
64 bytes from 192.168.0.254: icmp_seq=23 ttl=64 time=235 ms
64 bytes from 192.168.0.254: icmp_seq=24 ttl=64 time=259 ms
64 bytes from 192.168.0.254: icmp_seq=25 ttl=64 time=591 ms
64 bytes from 192.168.0.254: icmp_seq=26 ttl=64 time=0.839 ms
64 bytes from 192.168.0.254: icmp_seq=27 ttl=64 time=23.9 ms
64 bytes from 192.168.0.254: icmp_seq=28 ttl=6

Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Daniel Drake
Zen Kato wrote:
> Hi Daniel,
> wlan0 came out, but the LED light of usb stick is now off.

It flashes upon activity, but doesn't do anything if there is none.

> I can not ser ap(access point) and rate from iwconfig, never can do ping 
> also.

You can use "iwevent" to monitor authentication and association. You can 
also enable softmac debugging in your kernel config, and you can post 
logs of the failed association attempts (annotated with the commands you 
ran).

> what is "zd1211rw 5-4:1.0: eth2"?

What the kernel called the interface, before your distro renamed it.

> wlan0 is not activated.

because you didn't do anything to activate it

> ==
> [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:fe9e-fea0
> 
> loLink 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)

wlan0 doesn't appear -- interface is DOWN. "ifconfig -a" would show it.

> after # rmmod zd1211rw, usb stick LED became lighted up.

Normal behaviour.

> after I did modprobe:
> usb stick LED became light off!

Normal behaviour.

> [EMAIL PROTECTED] zd1211rw]# iwlist wlan0 scanning
> [EMAIL PROTECTED] zd1211rw]# iwconfig wlan0 ap "00:07:40:F8:F0:7C"

You did not bring the interface up, and you did not specify the network 
ESSID.

Daniel

-
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


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Zen Kato
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 0x
usb 5-4: request_fw_file() fw name zd1211/zd1211b_ub
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e018643a6a]
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 0x
zd1211rw 5-4:1.0: dump_cr() CR_GPI_EN 0x
zd1211rw 5-4:1.0: dump_cr() CR_INTERRUPT 0x
zd1211rw 5-4:1.0: read_fw_regs_offset() fw_regs_base: 0xf7f1
zd1211rw 5-4:1.0: read_pod() E2P_POD 0xa11a
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 0x
zd1211rw 5-4:1.0: dump_fw_registers() FW_LINK_STATUS 0x
zd1211rw 5-4:1.0: dump_cr() CR_AFTER_PNP 0x0001
zd1211rw 5-4:1.0: dump_cr() CR_GPI_EN 0x
zd1211rw 5-4:1.0: dump_cr() CR_INTERRUPT 0x
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
lono 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 ac

Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Daniel Drake
Zen Kato wrote:
> zd1211rw 5-4:1.0: zd_mac_init_hw() Regulatory Domain 0x49 is not supported.

Interesting. That domain isn't listed in the vendor driver or the 802.11 
specs.

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.

Thanks,
Daniel

-
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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Zen Kato
Hi Daniel,

Sorry I mistyped ZD1211. Here is dmesg :
> > [EMAIL PROTECTED] zd1211rw-strange-al2230s]$ make zd1211_DEBUG=y
>
> You mistyped, so no debug support was added.

[EMAIL PROTECTED] zd1211rw-strange-al2230s]$ make ZD1211_DEBUG=y
(snip)
[EMAIL PROTECTED] zd1211rw-strange-al2230s]# rmmod zd1211rw
[EMAIL PROTECTED] zd1211rw-strange-al2230s]# modprobe -v zd1211rw
insmod 
/lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
...(snip)

[EMAIL PROTECTED] zd1211rw]$ dmesg
...(snip)
usbcore: deregistering interface driver zd1211rw
zd1211rw usb_init()
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 0x
usb 5-4: request_fw_file() fw name zd1211/zd1211b_ub
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
zd1211rw 5-4:1.0: zd_usb_enable_int()
zd1211rw 5-4:1.0: zd_usb_enable_int() submit urb d8931f40
zd1211rw 5-4:1.0: zd_chip_init_hw()
zd1211rw 5-4:1.0: dump_cr() CR_AFTER_PNP 0x
zd1211rw 5-4:1.0: dump_cr() CR_GPI_EN 0x
zd1211rw 5-4:1.0: dump_cr() CR_INTERRUPT 0x
zd1211rw 5-4:1.0: read_fw_regs_offset() fw_regs_base: 0xf7f1
zd1211rw 5-4:1.0: read_pod() E2P_POD 0xa11a
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 0x
zd1211rw 5-4:1.0: dump_fw_registers() FW_LINK_STATUS 0x
zd1211rw 5-4:1.0: dump_cr() CR_AFTER_PNP 0x0001
zd1211rw 5-4:1.0: dump_cr() CR_GPI_EN 0x
zd1211rw 5-4:1.0: dump_cr() CR_INTERRUPT 0x
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: zd_mac_init_hw() Regulatory Domain 0x49 is not supported.
zd1211rw 5-4:1.0: zd_usb_disable_int() urb d8931f40 killed
zd1211rw 5-4:1.0: probe() couldn't initialize mac. Error number -22
usb 5-4: reset high speed USB device using ehci_hcd and address 4
zd1211rw: probe of 5-4:1.0 failed with error -22
usbcore: registered new interface driver zd1211rw
zd1211rw initialized
[EMAIL PROTECTED] zd1211rw]$

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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Daniel Drake
Zen Kato wrote:
> Hi Daniel,
> 
> 2007/6/1, Daniel Drake <[EMAIL PROTECTED]>:
>>> What is 'error -22'?
>> -EINVAL
>>
>> Please compile with "make ZD1211_DEBUG=y" and post new output.
> 
> [EMAIL PROTECTED] zd1211rw-strange-al2230s]$ make zd1211_DEBUG=y

You mistyped, so no debug support was added.

> I installed wifi-radar for checking whether zd1211rw use 'eth1' or not.

There's no point looking for the device while probe is failing. Anyway, 
zd1211 prints the network device name in dmesg and also iwconfig will 
tell you which devices are zd1211s.

Daniel


-
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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Zen Kato
Hi Uli,

I removed zd1211b.ko from '/lib/modules/2.6.20-1.2316.fc5smp/net'.
After power on reboot, the dmesg was:
[EMAIL PROTECTED] net]$ dmesg|grep zd1211
zd1211rw 2-4:1.0: firmware version 4725
zd1211rw 2-4:1.0: zd1211b chip 0411:00da v4810 high 00-16-01
AL2230S_RF pa0 g--N-
zd1211rw: probe of 2-4:1.0 failed with error -22
usbcore: registered new interface driver zd1211rw

there was no wifi device, so I did 'rmmod zd1211rw', 'modprobe -v zd1211rw' .
after that the dmesg was:
usbcore: deregistering interface driver zd1211rw
zd1211rw 2-4:1.0: firmware version 4725
zd1211rw 2-4:1.0: zd1211b chip 0411:00da v4810 high 00-16-01
AL2230S_RF pa0 g--N-
zd1211rw: probe of 2-4:1.0 failed with error -22
usbcore: registered new interface driver zd1211rw

and also /var/log/messages were:
Jun  1 16:47:30 p4c8 kernel: usbcore: deregistering interface driver zd1211rw
Jun  1 16:47:43 p4c8 kernel: usb 2-4: reset high speed USB device
using ehci_hcd and address 4
Jun  1 16:47:44 p4c8 kernel: zd1211rw 2-4:1.0: firmware version 4725
Jun  1 16:47:44 p4c8 kernel: zd1211rw 2-4:1.0: zd1211b chip 0411:00da
v4810 high 00-16-01 AL2230S_RF pa0 g--N-
Jun  1 16:47:44 p4c8 kernel: usb 2-4: reset high speed USB device
using ehci_hcd and address 4
Jun  1 16:47:44 p4c8 kernel: zd1211rw: probe of 2-4:1.0 failed with error -22
Jun  1 16:47:44 p4c8 kernel: usbcore: registered new interface driver zd1211rw

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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-06-01 Thread Uli Kunitz
> Jun  1 12:09:51 p4c8 kernel: ZD1211B - http://zd1211.ath.cx/ -  
> SVN_TRUNK
> Jun  1 12:09:51 p4c8 kernel: Based on www.zydas.com.tw driver  
> version 2.5.0.0
> Jun  1 12:09:51 p4c8 kernel: zd1211rw 5-4:1.0: firmware version 4725
> Jun  1 12:09:51 p4c8 kernel: zd1211rw 5-4:1.0: zd1211b chip 0411:00da
> v4810 high 00-16-01 AL2230S_RF pa0 g--N-


Zen,

this looks like that you are loading two drivers at the same time:  
the community driver and zd1211rw. Please ensure that only one driver  
is loaded.

Kind regards,

Uli

--
Uli Kunitz




-
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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-05-31 Thread Zen Kato
Hi Daniel,

2007/6/1, Daniel Drake <[EMAIL PROTECTED]>:
> > What is 'error -22'?
>
> -EINVAL
>
> Please compile with "make ZD1211_DEBUG=y" and post new output.

[EMAIL PROTECTED] zd1211rw-strange-al2230s]$ make zd1211_DEBUG=y
make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2316.fc5-smp-i686'
  LD  
/home/zenkato/tools/net/zd1211/zd1211rw/strange/zd1211rw-strange-al2230s/built-in.o
  CC [M]  
/home/zenkato/tools/net/zd1211/zd1211rw/strange/zd1211rw-strange-al2230s/zd_netdev.o
...(snip)...

The output of /var/log/messages are:

Jun  1 12:09:44 p4c8 kernel: usb 5-4: USB disconnect, address 4
Jun  1 12:09:51 p4c8 kernel: usb 5-4: new high speed USB device using
ehci_hcd and address 6
Jun  1 12:09:51 p4c8 kernel: usb 5-4: configuration #1 chosen from 1 choice
Jun  1 12:09:51 p4c8 kernel: usb 5-4: reset high speed USB device
using ehci_hcd and address 6
Jun  1 12:09:51 p4c8 kernel: ZD1211B - http://zd1211.ath.cx/ - SVN_TRUNK
Jun  1 12:09:51 p4c8 kernel: Based on www.zydas.com.tw driver version 2.5.0.0
Jun  1 12:09:51 p4c8 kernel: zd1211rw 5-4:1.0: firmware version 4725
Jun  1 12:09:51 p4c8 kernel: zd1211rw 5-4:1.0: zd1211b chip 0411:00da
v4810 high 00-16-01 AL2230S_RF pa0 g--N-
Jun  1 12:09:51 p4c8 kernel: usb 5-4: reset high speed USB device
using ehci_hcd and address 6
Jun  1 12:09:51 p4c8 kernel: zd1211rw: probe of 5-4:1.0 failed with error -22
Jun  1 12:09:51 p4c8 kernel: usb 5-4: device_add(5-4:1.0) --> -22
Jun  1 12:09:51 p4c8 kernel: usbcore: registered new interface driver zd1211b
-
I installed wifi-radar for checking whether zd1211rw use 'eth1' or not.
When I connect to my AP with wifi-radar, "eth1" of the screen of
system-config-network-1.3.30 comes up. So, I guess zd1211rw uses
"eth1" device,
but my eth1 is the second ethernet card not wireless device such as
WLI-U2-KG54L.

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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-05-31 Thread Daniel Drake
Zen Kato wrote:
> Hi Daniel,
> 
> I compiled 'zd1211rw-strange-al2230s.tar.gz' and I put a new zd1211rw.ko on
> /lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw.
> 
> dmesg is:
> usbcore: deregistering interface driver zd1211rw
> usb 5-4: reset high speed USB device using ehci_hcd and address 5
> zd1211rw 5-4:1.0: firmware version 4725
> zd1211rw 5-4:1.0: zd1211b chip 0411:00da v4810 high 00-16-01
> AL2230S_RF pa0 g--N-
> usb 5-4: reset high speed USB device using ehci_hcd and address 5
> zd1211rw: probe of 5-4:1.0 failed with error -22
> usbcore: registered new interface driver zd1211rw
> ---
> What is 'error -22'?

-EINVAL

Please compile with "make ZD1211_DEBUG=y" and post new output.

Daniel


-
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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-05-31 Thread Zen Kato
Hi Daniel,

I compiled 'zd1211rw-strange-al2230s.tar.gz' and I put a new zd1211rw.ko on
/lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw.

dmesg is:
usbcore: deregistering interface driver zd1211rw
usb 5-4: reset high speed USB device using ehci_hcd and address 5
zd1211rw 5-4:1.0: firmware version 4725
zd1211rw 5-4:1.0: zd1211b chip 0411:00da v4810 high 00-16-01
AL2230S_RF pa0 g--N-
usb 5-4: reset high speed USB device using ehci_hcd and address 5
zd1211rw: probe of 5-4:1.0 failed with error -22
usbcore: registered new interface driver zd1211rw
---
What is 'error -22'?

The other info is as follows:
[EMAIL PROTECTED] zd1211rw]# lsmod |grep zd1211
zd1211rw   55428  0
ieee80211softmac   35777  1 zd1211rw
ieee80211  35465  2 zd1211rw,ieee80211softmac
[EMAIL PROTECTED] zd1211rw]# iwconfig
lono wireless extensions.

eth0  no wireless extensions.

eth1  no wireless extensions.

[EMAIL PROTECTED] zd1211rw]# modinfo zd1211rw
filename:
/lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
version:1.0
author: Daniel Drake
author: Ulrich Kunitz
description:USB driver for devices with the ZD1211 chip.
license:GPL
srcversion: 73A20A46F37C82E15472FF7
alias:  usb:v0ACEp20FFd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0ACEp2011d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0411p00DAd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0053p5301d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3413d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3412d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0BAFp0121d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3410d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0B05p171Bd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p340Fd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v13B1p0024d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0471p1236d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v083Ap4505d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v050Dp705Cd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1582p6003d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v079Bp0062d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v157Ep300Dd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0ACEp1215d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3407d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v13B1p001Ed*dc*dsc*dp*ic*isc*ip*
alias:  usb:v14EApAB13d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3401d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0B3Bp1630d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3409d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1435p0711d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0B05p170Cd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0B3Bp5630d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0586p3402d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v157Ep3204d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1740p2000d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v079Bp004Ad*dc*dsc*dp*ic*isc*ip*
alias:  usb:v157Ep300Bd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0DF6p9075d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0DF6p9071d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v6891pA727d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v126FpA006d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v07B8p6001d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0ACEp1211d*dc*dsc*dp*ic*isc*ip*
depends:ieee80211softmac,ieee80211
vermagic:   2.6.20-1.2316.fc5smp SMP mod_unload 686 4KSTACKS


Regards,

Zen


2007/5/29, Daniel Drake <[EMAIL PROTECTED]>:
> Zen Kato wrote:
> > hi,
> >
> > I installed kernel source(kernel-2.6.20-1.2316.fc5.src.rpm) and add
> > { USB_DEVICE(0x0411, 0x00da), .driver_info = DEVICE_ZD1211B } into
> zd_usb.c,
> > then did $make.
> > Then replaced the original zd1211rw.ko
> >
> (/lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko)
> > to the above compiled zd1211rw.ko.
> >
> > [EMAIL PROTECTED] zd1211rw]$ dmesg |grep zd1211rw
> > zd1211rw 5-4:1.0: RF AL2230S_RF 0xa is not supported
> > usbcore: registered new interface driver zd1211rw
>
> Thanks for testing. AL2230S support was added in 2.6.22-rc1, however
> your device identifies itself differently from my AL2230S device.
>
> Please try this driver:
> http://dsd.object4.net/zd1211rw-strange-al2230s.tar.gz
>
> I could provide a kernel patch instead, but that would require you to
> upgrade to 2.6.22-rc2 first... I think the above driver will still
> compile against 2.6.20.
>
> Daniel
>

-
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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] buffalo WLI-U2-KG54L(0411:00da)

2007-05-28 Thread Daniel Drake
Zen Kato wrote:
> hi,
> 
> I installed kernel source(kernel-2.6.20-1.2316.fc5.src.rpm) and add
> { USB_DEVICE(0x0411, 0x00da), .driver_info = DEVICE_ZD1211B } into zd_usb.c,
> then did $make.
> Then replaced the original zd1211rw.ko
> (/lib/modules/2.6.20-1.2316.fc5smp/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko)
> to the above compiled zd1211rw.ko.
> 
> [EMAIL PROTECTED] zd1211rw]$ dmesg |grep zd1211rw
> zd1211rw 5-4:1.0: RF AL2230S_RF 0xa is not supported
> usbcore: registered new interface driver zd1211rw

Thanks for testing. AL2230S support was added in 2.6.22-rc1, however 
your device identifies itself differently from my AL2230S device.

Please try this driver:
http://dsd.object4.net/zd1211rw-strange-al2230s.tar.gz

I could provide a kernel patch instead, but that would require you to 
upgrade to 2.6.22-rc2 first... I think the above driver will still 
compile against 2.6.20.

Daniel

-
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.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs