zd1211 with 2.6.28

As many others I have problems with zd1211 wifi on 2.6.28
Things worked like a charm with 2.6.27

I've build with zd1211 debug.
This is what the log says:
usb 1-2.3: new high speed USB device using ehci-omap and address 4
usb 1-2.3: configuration #1 chosen from 1 choice
usb 1-2.3: print_id() 6891:a727 v4330 high
usb 1-2.3: reset high speed USB device using ehci-omap and address 4
zd1211rw 1-2.3:1.0: zd_chip_read_mac_addr_fw()
phy0: Selected rate control algorithm 'pid'
zd1211rw 1-2.3:1.0: probe() successful
zd1211rw 1-2.3:1.0: phy0
zd1211rw 1-2.3:1.0: zd_usb_init_hw()
usb 1-2.3: request_fw_file() fw name zd1211/zd1211_ub
usb 1-2.3: firmware: requesting zd1211/zd1211_ub
usb 1-2.3: upload_firmware() firmware device id 0x4330 is equal to the
actual device id
usb 1-2.3: request_fw_file() fw name zd1211/zd1211_uphr
usb 1-2.3: firmware: requesting zd1211/zd1211_uphr
usb 1-2.3: upload_code() transfer size 4018
usb 1-2.3: upload_code() firmware confirm return value 0x01
zd1211rw 1-2.3:1.0: zd_usb_init_hw() couldn't reset configuration.
Error number -110
zd1211rw 1-2.3:1.0: zd_usb_init_hw()
usb 1-2.3: request_fw_file() fw name zd1211/zd1211_ub
usb 1-2.3: firmware: requesting zd1211/zd1211_ub
usb 1-2.3: upload_firmware() firmware device id 0x4330 is equal to the
actual device id
usb 1-2.3: request_fw_file() fw name zd1211/zd1211_uphr
usb 1-2.3: firmware: requesting zd1211/zd1211_uphr
usb 1-2.3: Could not load firmware file zd1211/zd1211_uphr. Error
number -2
zd1211rw 1-2.3:1.0: couldn't load firmware. Error number -2

anyone an idea?

Frans

I am using 2.6.28, I compiled the kernel from here
http://rcn-ee.homeip.net:81/dl/omap/beagle/v2.6.28-79d042a.tar.gz
and I am using an IOGEAR USB adapter w/o problems:

zd1211rw 1-1.3:1.0: phy0
usbcore: registered new interface driver zd1211rw
udhcpc (v1.13.3) started
usb 1-1.3: firmware: requesting zd1211/zd1211b_ub
usb 1-1.3: firmware: requesting zd1211/zd1211b_uphr
zd1211rw 1-1.3:1.0: firmware version 4725
zd1211rw 1-1.3:1.0: zd1211b chip 0ace:1215 v4810 high 00-21-79 AL2230_RF
pa0 g--NS
cfg80211: Calling CRDA for country: US
Sending discover...
Sending discover...
Sending select for 192.168.9.124...
Lease of 192.168.9.124 obtained, lease time 86400

Frans Meulenbroeks wrote:

Are you using a hub? If so what kind?

Is this the adapter you are using:
http://3btech.net/iogegbbl12co.html

The link you posted for kernel source does not work, if I can get the
exact same kernel sources it would help.

Thanks,
Sean

My cable modem's been acting up under high load, you can generate it
yourself with git... (anything over 10Mb your chances of a dl are
low.. :wink: )

git-clone git://git2.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
cd linux-omap-2.6/

or if you already downloaded it..

cd linux-omap-2.6/
git pull
git checkout 79d042a
git checkout -b v2.6.28-79d042a
git archive --format=tar --prefix=v2.6.28-79d042a/ v2.6.28-79d042a |
gzip > ../v2.6.28-79d042a.tar.gz
git checkout master
git branch v2.6.28-79d042a -D
cd ..

Then just patch it with one of these diff's (same git checkout) and
defconfig to get the same openembedded kernel version..

http://rcn-ee.homeip.net:81/dl/omap/beagle/

Regards,

Sean D'Epagnier wrote:

Are you using a hub? If so what kind?
  

Yes I am using a powered USB hub.

Is this the adapter you are using:
http://3btech.net/iogegbbl12co.html
  

I am using this one with great success:
http://www.iogear.com/product/GWU523/

The link you posted for kernel source does not work, if I can get the
exact same kernel sources it would help.
  

Apparently things have changed today on this server...
And my apologies to the guy who maintain this site,
it is much better to use git and the patch...

Hi,

I got the 2.6.28 kernel sources and tried doing as described in the
email (creating the branch then the tarball, then patch it, and
compile), but I still have the same result with my wifi card.

Also, if I boot with a hub plugged in, usb never works, I have to boot
without the hub plugged in, then plug it in after booted.

What do you get for
udevd --version ?
I get "124"

I wonder if somehow my userspace is the problem not the kernel

I am using this one with great success:
http://www.iogear.com/product/GWU523/

The link you posted for kernel source does not work, if I can get the

Mine is black, but otherwise it looks identical including the case..
not sure what the differences are.

Sean

Hi Sean,

When you build your kernel are you building the drivers for the wifi
devices [x] or [M]

M : modules, and installing the modules package?
or
X : builtin...

Regards

Sean D'Epagnier wrote:

Hi,

I got the 2.6.28 kernel sources and tried doing as described in the
email (creating the branch then the tarball, then patch it, and
compile), but I still have the same result with my wifi card.

Also, if I boot with a hub plugged in, usb never works, I have to boot
without the hub plugged in, then plug it in after booted.

What do you get for
udevd --version ?
I get "124"
  

I am not using udev, sorry (I am not using any distrib actually).
I install the module from rcS:
modprobe zd1211rw
wpa_supplicant -B -c /etc/wpa.conf -i wlan0 -w
/sbin/udhcpc -i wlan0 -b -S -a -s /usr/share/udhcpc/simple.script

I attach my kernel config in case that you would be useful.

~Olivier

.config (40.5 KB)

Oliver can you also make your firmware available for download, so we
can rule out that it is dependent on firmware versions.

I'll also try to use my other zd1211 dongle later today (I tested with
the 3com but also have a linksys one (also zd1211) and a philips one
(prims54).

I would prefer to get a copy of your kernel if only to verify that it
solves the problem (if my own build kernel does not work, it could be
something in the build process or something else, so I want to rule
out the first possibility).

Frans.

I cannot get my zd1211 dongle working even after using the same kernel
sources and same kernel config as Oliver.

I think maybe it is a difference in my root filesystem.

Sean

That is exactly why i would like to have the firmware and the kernel
binary.
It would help to pinpoint the cause, eliminating other possible
causes.

Frans