Updated Driver for 3945ABG ...

Michel Talon talon at lpthe.jussieu.fr
Mon Jan 29 03:09:43 UTC 2007


Gilbert Cao wrote:
> 
> I have put a custom version of mine from your last package here:
> http://www.bsdmon.com/download/20070121-wpi-freebsd.tar.gz
> 
> What I have mainly done is to make the package compile and work (for me
> a least) on 6.2-RELEASE (and possibly other 6.x ?).

This is to confirm that for me this above 20070121 driver works, while
the driver from B. Close 20070125 does *not* work.

In fact i have downloaded a lot of things using this driver, so in my
experience it works *very* well. It even associates better with the
access point than the Linux driver, which loses connection
from time to time. My laptop is a Vaio VGN C1, and for reference i have
added some dmesg stuff with the above two drivers. Both produce error
messages, but one definitely works.

 
This is with 20070121-wpi-freebsd on a Sony Vaio VGN-C1S
(note that 20070125-wpi-freebsd  does not work for me)

rose# kldload if_wpi
rose# dmesg
.....
wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xcc000000-0xcc000fff irq 18 at device 0.0 on pci6
bus_dmamem_alloc failed to align memory properly.
bus_dmamem_alloc failed to align memory properly.
....
pi0: Ethernet address: 00:18:de:ad:78:b1
wpi0: [GIANT-LOCKED]
wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
rose# ifconfig wpi0 up
rose# ifconfig
...
wpi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:18:de:ad:78:b1
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid "" channel 1
        authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS

rose# dmesg
...
pi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: fatal firmware error
wpi0: configure command failed
wpi0: could not configure device

still running dhclient
rose# dhclient wpi0
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.1.1
DHCPREQUEST on wpi0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.107 -- renewal in 43200 seconds.

and it works perfectly OK for me.


This is what 20070125-wpi-freebsd gives:
an 28 00:47:49  kernel: wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xcc000000-0xcc000fff irq 18 at device 0.0 on pci6
Jan 28 00:47:49  kernel: bus_dmamem_alloc failed to align memory properly.
Jan 28 00:47:49  last message repeated 6 times
Jan 28 00:47:49  kernel: wpi0: Ethernet address: 00:18:de:ad:78:b1
Jan 28 00:47:49  kernel: wpi0: 11a rates:
Jan 28 00:47:49  kernel: wpi0: 11b rates:
Jan 28 00:48:19  kernel: firmware_get: failed to load firmware image wpi_fw
Jan 28 00:48:19  kernel: wpi0: could not load firmware image 'wpi_fw'
Jan 28 00:49:12  kernel: firmware_get: failed to load firmware image wpi_fw
Jan 28 00:49:12  kernel: wpi0: could not load firmware image 'wpi_fw'
Jan 28 00:49:12  dhclient[1351]: send_packet: Network is down
Jan 28 00:49:15  dhclient[1351]: send_packet: Network is down


-- 

Michel TALON



More information about the freebsd-hackers mailing list