Thursday, April 2, 2009

How to check the madwifi driver version

I recommend two approaches to doing this -

1. Check the version while the driver loads through logging in
the kernel ring buffer. If you missed that and find it difficult
to track the ring buffer do the following -
a. Clear the kernel ring buffer -
$> dmesg -c


b. Remove and reload the driver -
$> modprobe -r ath_pci; modprobe ath_pci


c. Check the kernel buffer for the version
$> dmesg
....
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (0.9.3.1)
ath_pci: 0.9.4.5 (0.9.3.1)
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ath_rate_sample: 1.2 (0.9.3.1)
....

Shows the driver versionas 0.9.4 or whatever is your version.


2. Another approach is by locating the installed kernel module
ath_pci. Go to the directory /lib/module/kernel-version/ run the following command at this path to check the
version -
$> strings ath_pci.ko | grep version

You should see something like the following on your screen -
EEPROM version invalid
version=0.9.3.1
srcversion=7E85FB5DC8AA00A7F8867D8

0 comments:

Post a Comment