Re: Updated Driver for 3945ABG Intel 3945ABG Wireless LAN controller



On Fri, Jan 26, 2007 at 11:09:51PM +1030, Benjamin Close wrote:
Hi Gilbert,
Thanks for the custom version. I've integrated the changes into the
driver I'm working on.
For those wanting to test out the driver which is now fully up to date
with all change from NetBSD & OpenBSD - and has a few minor improvements
over them, grab it from:

http://www.clearchain.com/~benjsc/download/

File is: 20070125-wpi-freebsd.tar.gz

Full instructions on how to build / install the driver are in the README
in the tar file.

This should work both under -current and 6.2-Stable now.

Info about the driver and what's working/broken can be found at:

http://www.clearchain.com/wiki/wpi

Cheers,
Benjamin

I have tried the new 20070125 version.
However, I did not manage to make work. At least, it compiles.
I have installed, both wpi_fw.ko and the if_wpi.ko, as the README said.
wpi_fw.ko lies in /boot/modules and if_wpi.ko in /boot/kernel.

When, I "kldload if_wpi", here is a small sample of /var/log/messages

Jan 27 10:30:39 vaio kernel: wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xcc000000-0xcc000fff irq 18 at device 0.0 on pci6
Jan 27 10:30:39 vaio kernel: bus_dmamem_alloc failed to align memory properly.
Jan 27 10:30:39 vaio last message repeated 6 times
Jan 27 10:30:39 vaio kernel: wpi0: Ethernet address: 00:18:de:5c:cb:9a
Jan 27 10:30:39 vaio kernel: wpi0: [GIANT-LOCKED]
Jan 27 10:30:39 vaio kernel: wpi0: 11a rates:
Jan 27 10:30:39 vaio kernel: wpi0: 11b rates:
Jan 27 10:30:40 vaio kernel: firmware_get: failed to load firmware image wpi_fw
Jan 27 10:30:40 vaio kernel: wpi0: could not load firmware image 'wpi_fw'
Jan 27 10:30:40 vaio kernel: firmware_get: failed to load firmware image wpi_fw
Jan 27 10:30:40 vaio kernel: wpi0: could not load firmware image 'wpi_fw'
Jan 27 10:32:19 vaio kernel: firmware_get: failed to load firmware image wpi_fw
Jan 27 10:32:19 vaio kernel: wpi0: could not load firmware image 'wpi_fw'

In kldstat, both modules are loaded.
Then, I have "kldunload if_wpi" (and if_wpi seems to be reload,
automatically, I don't know why). Same problem, it seems that wpi_fw
could not be load (found ?).

As a result, no AP is "associated".


After a fresh reboot, I have reinstall the custom 20070121 version of
mine, and all returns OK.
Another strange thing: when "kldload if_wpi" with 20070121 version, and
then kldstat, I don't see "wpi_ucode". It seems that wpi_ucode.ko does
not need to be loaded, in my case.
My wpi_ucode.ko lies in /boot/modules

After another fresh reboot, I first moved wpi_ucode.ko to another place.
When I "kldload if_wpi", I got the following message:

Jan 27 09:47:16 vaio kernel: wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xcc000000-0xcc000fff irq 18 at device 0.0 on pci6
Jan 27 09:47:16 vaio kernel: bus_dmamem_alloc failed to align memory properly.
Jan 27 09:47:16 vaio last message repeated 6 times
Jan 27 09:47:16 vaio kernel: wpi0: Ethernet address: 00:18:de:5c:cb:9a
Jan 27 09:47:16 vaio kernel: wpi0: [GIANT-LOCKED]
Jan 27 09:47:16 vaio kernel: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 27 09:47:16 vaio kernel: wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 27 09:47:16 vaio kernel: wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 27 09:47:16 vaio kernel: firmware_get: failed to load firmware image wpi_ucode
Jan 27 09:47:16 vaio kernel: wpi0: could not load firmware image 'wpi_ucode'

So, it seems that wpi_ucode.ko have to lied in my /boot/modules (the
place where I have also put if_wpi 20070121 version), even if it is not
loaded.

--
--------------------------------
(hika) Gilbert Cao
http://www.miaouirc.com
- MiaouIRC Project 2002-2003
http://www.bsdmon.com
- The BSD DMON Power to serve
IRC : #miaule at IRCNET Network
--------------------------------

Attachment: pgpiFfCnf5edv.pgp
Description: PGP signature



Relevant Pages

  • Re: dual boot - Nvidia device driver
    ... Good news - I finally got a custom Nvidia FX 1400 to run in dual boot on ... went to NVidia site to see if they had a new driver. ... >> deleted this initial attempt at a custom component for the NVidia Quadro FX ... > This is the reason I always prefer componentization rather then manual install of apps and drivers on XPe images. ...
    (microsoft.public.windowsxp.embedded)
  • Re: PCI card transfer with DMA/ busmastering
    ... I have a custom PCI card that I intend on using as a coprocessor to ... I've read a lot regarding DMA transfer, I assume this is the way to go. ... When I create my driver for my PCI card does the DMA stuff need to go ...
    (microsoft.public.development.device.drivers)
  • Re: dual boot - Nvidia device driver
    ... >> deleted this initial attempt at a custom component for the NVidia Quadro FX ... >> able to install the nvidia driver manually after a boot of xpe. ... > This is the reason I always prefer componentization rather then manual install of apps and drivers on XPe images. ...
    (microsoft.public.windowsxp.embedded)
  • Re: dual boot - Nvidia device driver
    ... > deleted this initial attempt at a custom component for the NVidia Quadro FX ... > able to install the nvidia driver manually after a boot of xpe. ... This is the reason I always prefer componentization rather then manual install of apps and drivers on XPe images. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Version number for nk.bin
    ... For the read only registry entry, you could automate this as a custom build ... step associated with the BSP or one of the other components in the platform. ... Write a simple stream interface driver. ...
    (microsoft.public.windowsce.embedded)