Re: [zd1211-devs] Firmware mismatch? Hawking HWL2 and zd1211rw

2006-08-11 Thread A.E.Lawrence
Daniel Drake wrote:
 A.E.Lawrence wrote:
 
 Hawking HWL2 which is a USB wifi device with zd1211 and AL2230
 (according to logs). zd1211 seems to report firmware mismatch with
 zd1211-firmware-1.2.tar.bz2. (zd1211 fails with probe error report).
 
 The mismatch is fine.
 
 Also zd1211rw reports as eth1 rather than wlan%d.
 
 Not a bug. Use udev to rename it if you don't like eth1.
 
 Little is working as yet. Most iwlist and iwconfig commands fail.
 
 
 At a guess, it sounds like you did not bring the interface up before
 using iwconfig commands.

Yes :-( Oversight on that occasion.

 As Ulrich pointed out, we need more information: you need to be more
 specific/detailed, and we need debug logs.

I will be getting back when I have explored further. But it looks as if
everything that should be working is now working. I am new to Wireless
networking and have a lot of reading to do.

Apologies for not replying to Ulrich so far, but intend to report later
when I have explored further and better understand some areas.

Thanks for the reply,

ael


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Firmware mismatch? Hawking HWL2 and zd1211rw

2006-07-30 Thread Ulrich Kunitz
Hi,

 Currently I am running ZD1211LnxDrv_2_15_0_0 from the Zydas site (which
 seems to have a later version of the firmware - can I use a standard
 converter to change the header files from the hex to bin?).

We are using already the new firmware, which has changed around
2_13_0_0. It can be found in the snapshot directory or the git
trees. Links can be found in http://zd1211.ath.cx/wiki/DriverRewrite.

Please set the environment variable ZD1211_DEBUG=y before you are
running the Makefile of the out of tree driver. This will create a
lot of DEBUG messages, which might give us a clue. I would
recommend to use my tree, because I fixed a pretty serious bug over
the weekend, which however doesn't explain your problems. There is
also a patch which solved a firmware problem with a Zyxel device.

I concentrate on zd1211rw, so I cannot help with the ZYDAS driver. 

Regards,

Uli


 
 ZD1211LnxDrv_2_15_0_0 is also not working on the HWL2. Here is some info
 about what it does:-
 
  Zydas zd1211 2_15_0_0 under kernel 2.6.17.7 --
 - extract from /var/log/debug -
 
 Jul 30 14:25:48 conquest3 kernel: zd1211:bulk out: wMaxPacketSize = 40
 Jul 30 14:25:48 conquest3 kernel: zd1211:bulk in: wMaxPacketSize = 40
 Jul 30 14:25:48 conquest3 kernel: zd1211:interrupt in: wMaxPacketSize = 40
 Jul 30 14:25:48 conquest3 kernel: zd1211:interrupt in: int_interval = 1
 Jul 30 14:25:48 conquest3 kernel: zd1211:bulk out: wMaxPacketSize = 40
 Jul 30 14:25:48 conquest3 kernel: zd1211:macp-release != EEPVer
 Jul 30 14:25:48 conquest3 kernel: zd1211:uImgLength = e00
 Jul 30 14:25:48 conquest3 kernel: zd1211:translen = e00
 Jul 30 14:25:48 conquest3 kernel: zd1211:uCodeOfst = ee00
 Jul 30 14:25:48 conquest3 kernel: zd1211:result = e00
 Jul 30 14:25:48 conquest3 kernel: zd1211:FIRMWARE_CONFIRM = 1
 Jul 30 14:25:48 conquest3 kernel: zd1211:USB Download Boot code success
 Jul 30 14:25:48 conquest3 kernel: zd1211:uImgLength = e88
 Jul 30 14:25:48 conquest3 kernel: zd1211:translen = e88
 Jul 30 14:25:48 conquest3 kernel: zd1211:uCodeOfst = f895
 Jul 30 14:25:48 conquest3 kernel: zd1211:result = e88
 Jul 30 14:25:48 conquest3 kernel: zd1211:FIRMWARE_CONFIRM = 1
 Jul 30 14:25:48 conquest3 kernel: zd1211:USB Download Boot code success
 Jul 30 14:25:48 conquest3 kernel: zd1211:uImgLength = 12a
 Jul 30 14:25:48 conquest3 kernel: zd1211:translen = 12a
 Jul 30 14:25:48 conquest3 kernel: zd1211:uCodeOfst = f800
 Jul 30 14:25:48 conquest3 kernel: zd1211:result = 12a
 Jul 30 14:25:48 conquest3 kernel: zd1211:uImgLength = 1400
 Jul 30 14:25:48 conquest3 kernel: zd1211:translen = 1000
 Jul 30 14:25:48 conquest3 kernel: zd1211:uCodeOfst = ee00
 Jul 30 14:25:48 conquest3 kernel: zd1211:result = 1000
 Jul 30 14:25:48 conquest3 kernel: zd1211:translen = 400
 Jul 30 14:25:48 conquest3 kernel: zd1211:uCodeOfst = f600
 Jul 30 14:25:48 conquest3 kernel: zd1211:result = 400
 Jul 30 14:25:48 conquest3 kernel: zd1211:FIRMWARE_CONFIRM = 1
 Jul 30 14:25:48 conquest3 kernel: zd1211:USB Download Boot code success
 Jul 30 14:25:48 conquest3 kernel: zd1211:MAC address = 00:0e:xx:xx:xx:xx
  (edited MAC above in case you want to pass this on)
 Jul 30 14:25:48 conquest3 kernel: zd1211:AddrEntryTable = f7d4
 Jul 30 14:25:48 conquest3 kernel: zd1211:RF_Mode = 0004
 Jul 30 14:25:48 conquest3 kernel: zd1211:Pure B-Mode
 Jul 30 14:25:48 conquest3 kernel: zd1211:File opening did not success
 Jul 30 14:25:49 conquest3 kernel: zd1211:AllowedChannel = 07ff
 Jul 30 14:25:49 conquest3 kernel: zd1211:LinkLEDn = 200
 Jul 30 14:25:49 conquest3 kernel: zd1205: (exit) zd1205_config,
 /home/ael/hardware/HWL2/ZD1211LnxDrv_2_15_0_0/src/zd1205.c line 2571
 Jul 30 14:25:50 conquest3 kernel: zd1205: (exit) zd1205_init,
 /home/ael/hardware/HWL2/ZD1211LnxDrv_2_15_0_0/src/zd1205.c line 8352
 
 
 
 And from /var/log/messages:-
 
 Jul 30 14:25:47 conquest3 kernel: usb 1-1: new full speed USB device
 using uhci_
 hcd and address 2
 Jul 30 14:25:47 conquest3 kernel: usb 1-1: configuration #1 chosen from
 1 choice
 Jul 30 14:25:48 conquest3 kernel:
 Jul 30 14:25:48 conquest3 kernel:  _ _
 Jul 30 14:25:48 conquest3 kernel: |__  /   _|  _ \  / \  / ___|
 Jul 30 14:25:48 conquest3 kernel:   / / | | | | | |/ _ \ \___ \
 Jul 30 14:25:48 conquest3 kernel:  / /| |_| | |_| / ___ \ ___) |
 Jul 30 14:25:48 conquest3 kernel: /\__, |/_/   \_\/
 Jul 30 14:25:48 conquest3 kernel:  |___/
 Jul 30 14:25:48 conquest3 kernel: zd1211 - version 2.15.0.0
 Jul 30 14:25:48 conquest3 kernel: vendor_id = 0ace
 Jul 30 14:25:48 conquest3 kernel: product_id = 1211
 Jul 30 14:25:48 conquest3 kernel: USB 1.1 Host
 Jul 30 14:25:48 conquest3 kernel: Release Ver = 4802
 Jul 30 14:25:48 conquest3 kernel: EEPORM Ver = 4330
 Jul 30 14:25:48 conquest3 kernel: Finsih download Firmware. Ready to reboot
 Jul 30 14:25:48 conquest3 last message repeated 2 times
 

[zd1211-devs] Firmware mismatch? Hawking HWL2 and zd1211rw

2006-07-29 Thread A.E.Lawrence
Summary
---

Hawking HWL2 which is a USB wifi device with zd1211 and AL2230
(according to logs). zd1211 seems to report firmware mismatch with
zd1211-firmware-1.2.tar.bz2. (zd1211 fails with probe error report).

Also zd1211rw reports as eth1 rather than wlan%d.


More details


kernel: usb 1-1: firmware device id 0x4330 and actual device id 0x4802
differ, continuing anyway

Firmware used: zd1211-firmware-1.2.tar.bz2


zd1211rw Version


zd1211rw version incorporated in kernel 2.6.18-rc2:-

# modinfo zd1211rw
filename:
/lib/modules/2.6.18-rc2/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
license:GPL
description:USB driver for devices with the ZD1211 chip.
author: Ulrich Kunitz
author: Daniel Drake
version:1.0
vermagic:   2.6.18-rc2 preempt mod_unload PENTIUMII gcc-3.3
depends:ieee80211softmac
alias:  usb:v0ACEp1211d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v07B8p6001d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v126FpA006d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v6891pA727d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0DF6p9071d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v157Ep300Bd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0ACEp1215d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v157Ep300Dd*dc*dsc*dp*ic*isc*ip*
srcversion: EE50CAA42D9A01B09348D80

==

lsusb for HWL2
(http://www.hawkingtech.com/products/productlist.php?CatID=32FamID=71ProdID=198)
--
Bus 001 Device 002: ID 0ace:1211
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass  255 Vendor Specific Class
  bDeviceSubClass   255 Vendor Specific Subclass
  bDeviceProtocol   255 Vendor Specific Protocol
  bMaxPacketSize064
  idVendor   0x0ace
  idProduct  0x1211
  bcdDevice   48.02
  iManufacturer  16 ZyDAS
  iProduct   32 USB2.0 WLAN
  iSerial 0
  bNumConfigurations  1
 Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   46
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0x80
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   4
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass  0
  bInterfaceProtocol  0
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04  EP 4 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass  255 Vendor Specific Class
  bDeviceSubClass   255 Vendor Specific Subclass
  bDeviceProtocol   255 Vendor Specific Protocol
  bMaxPacketSize064
  bNumConfigurations  1

==

Extract from /var/log/messages (all debug flags turned on)
---
[Apologies for wrap-around caused by mailer]

Jul 29 15:13:22 conquest3 kernel: usb 1-1: new full speed USB device
using uhci_hcd and address 2
Jul 29 15:13:23 conquest3 kernel: usb 1-1: Product: USB2.0 WLAN
Jul 29 15:13:23 conquest3 kernel: usb 1-1: Manufacturer: ZyDAS
Jul 29 15:13:23 conquest3 kernel: usb 1-1: