On 23/01/07, Mayne <zd1211.sf.net@continuity.cjb.net> wrote:
On Tue, 23 Jan 2007, Eugéne Suter wrote:

> However, I just installed kernel 2.6.19.2 and the module refuses to compile
> (from the r83 zd1211-driver tarball). I'm aware that this is probably due to
> changes in the new kernel release.

Up to now nobody bothered updating the driver to newer kernels. Probably
that's because from 2.6.18 on the zd1211rw driver is included in the
kernel.

> I'm more that willing to try and use the zd1211rw module and help out with
> the debugging, but unfortunately it doesn't seem to recognize my card (even
> though it is listed on your website).
> lsusb confirms the cards presence and id (083a:4505).

Please read http://zd1211.ath.cx/wiki/UntestedWithRewrite (actually, that
page is linked to in the device ID table). Let us know whether the
zd1211rw driver works with your device after the modifications. Be sure to
include the info listed in step 4 on the page.

Thanks!

Regards


Hello again!

Well, I downloaded the driver and firmware tarballs from the UntestedWithRewrite page.
Followed the instructions with the firmware: ran make as a regular user, and then make install as root, and the files were installed to /lib/firmware/zd1211.

and "ls" confirms it:

# ls /lib/firmware/zd1211
zd1211_ub  zd1211_uph  zd1211_uphm  zd1211_uphr  zd1211_ur

Then, I unpacked the driver tarball, and opened zd_usb.c.
But the line I needed to insert, ie:

{ USB_DEVICE(0x083a, 0x4505), .driver_info = DEVICE_ZD1211B },

was already there!!

However it was not in the zd_usb.c in the 2.6.19.2 source tree, so I'm guessing its a new addition to the list...
Anyway, I then ran "make" and "make ins" to insert the modules.
Unfortunately, there was one error that seemed to prevent me from using my card:

# make ins
sudo modprobe firmware_class
FATAL: Module firmware_class not found.
make: [ins] Error 1 (ignored)
sudo modprobe ieee80211
sudo modprobe ieee80211softmac
sudo insmod zd1211rw.ko
lsmod | grep zd1211rw
zd1211rw               43012  0
ieee80211softmac       24832  1 zd1211rw
ieee80211              26696  2 zd1211rw,ieee80211softmac

hmm...no module called firmware_class.
Then running "dmesg | tail" confirmed that it is definitely a firmware problem now:

# dmesg | tail
zd1211rw: probe of 1-1.1:1.0 failed with error -2
usbcore: registered new interface driver zd1211rw
spurious 8259A interrupt: IRQ7.
usbcore: deregistering interface driver zd1211rw
usb 1-1.1: reset high speed USB device using ehci_hcd and address 5
usb 1-1.1: Could not load firmware file zd1211/zd1211b_ub. Error number -2
zd1211rw 1-1.1:1.0: couldn't load firmware. Error number -2
usb 1-1.1 : reset high speed USB device using ehci_hcd and address 5
zd1211rw: probe of 1-1.1:1.0 failed with error -2
usbcore: registered new interface driver zd1211rw


The firmware is properly installed, so what have I missed?
Is there something I should have activated in my kernel config (for the firmware_class module)?

Thanks for the help!

Regards,

Eugéne