Atheros wireles problem

Hi,

i have compaq CQ50-110TR model laptop. suse Os version 11.0.

i followed two way for install my wireless
ndiswrapper and & madwifi

so i can see driver installed and modules
but i can not see device with “hwinfo --wlan” output

what can be problem?

madwifi dmesg output;
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.9.4
ath_pci: 0.9.4

ndiswrapper ;
ndiswrapper -l
net5211 : driver installed

note: i try switch on and off wireless button but colors does not change

thanks

zafer

You did not specify which WLAN chip you have.

I just guess it’s something like AR5007EG.

  1. In this case you can simply uninstall madwifi-0.9.4 and ndiswrapper (if you only needed it for the WLAN, of course).

  2. Get the latest HAL, currently
    madwifi-hal-0.10.5.6-current.tar.gz
    at
    snapshots.madwifi.org.

  3. Make sure that everything you need to build kernel modules is installed.

  4. Compile and install the new HAL package.

  5. Reboot and the wlan inferface is there (usually called “ath0”).

On some machines with this chip, the kernel tries to use the ath5k module for the hardware and fails. In this case, the “ath5k” should be blacklisted in order to prevent automatic loading.

Hi

i uninstalled ndiswrapper and madwifi software then i downloaded madwifi-halXXX then compiled it with make ; make install
rebooted but still i dont see ath0 device

i have already blacklist for ath5k

so what can i do

thanks

zafer

Have you modprobed ath_pci?

please read thoroughly
Atheros - I am desperate, please help - openSUSE Forums

My understanding is that, if the detectors do NOT see
your device, then the only chance for it to work is with ndiswrapper.

And, based on your output from ndiswrapper, you do NOT
have the correct windows driver loaded. For ndiswrapper
details, see:
Ndiswrapper - openSUSE

Your problem may be either the 32 vs 64-bit problem, or
that you need to choose one from another section of
the Windows distribution media, if that’s what you’re using:
e.g. win-2000 vs win-me vs win-xp vs win-vista, etc.
Try them all, one at a time.
The key, as mentioned there, is that you MUST see
‘device present’ info after the ‘driver installed’ line.

Evidently, my understanding is incorrect. Correct statement seems to be
if the detectors do NOT see it, then NOTHING will work.

So, I’m at a loss to understand why it isn’t showing up in hwinfo.
[Do you dual-boot Windows? If so, and it works there, that would
help. You can determine the ids from Windows, tho I don’t remember
how off the top of my head.]

Just a quick question, you are not using both ndiswrapper & madwifi are you ? if so, they will conflict & cause problems. If one doesn’t work, uninstall & try the other. Just to make sure you are using the correct driver, post the output of lspci -v from a console

Andy

So,
i tried seperatly each ways ndiswrapper and madwifi

i can see modinfo ath_pci but my main problem i can not see device

modinfo ath_pci
filename: /lib/modules/2.6.25.16-0.1-default/net/ath_pci.ko
license: Dual BSD/GPL
version: svn r3856
description: Support for Atheros 802.11 wireless LAN cards.
author: Errno Consulting, Sam Leffler
srcversion: 53828DCE2B2CEC52C9E9103
alias: pci:v0000168Cd00009013svsdbcsci*
alias: pci:v0000168Cd00000024svsdbcsci*
alias: pci:v0000168Cd00000023svsdbcsci*
alias: pci:v0000168Cd0000001Dsvsdbcsci*
alias: pci:v0000168Cd0000001Csvsdbcsci*
alias: pci:v0000168Cd0000001Bsvsdbcsci*
alias: pci:v0000168Cd0000001Asvsdbcsci*
alias: pci:v0000168Cd00000019svsdbcsci*
alias: pci:v0000168Cd00000018svsdbcsci*
alias: pci:v0000168Cd00000017svsdbcsci*
alias: pci:v0000168Cd00000016svsdbcsci*
alias: pci:v0000168Cd00000015svsdbcsci*
alias: pci:v0000168Cd0000101Asvsdbcsci*
alias: pci:v0000168Cd00001014svsdbcsci*
alias: pci:v000010B7d00000013svsdbcsci*
alias: pci:v0000A727d00000013svsdbcsci*
alias: pci:v0000168Cd00000013svsdbcsci*
alias: pci:v0000168Cd00000012svsdbcsci*
alias: pci:v0000168Cd00000007svsdbcsci*
depends: ath_hal,wlan
vermagic: 2.6.25.16-0.1-default SMP mod_unload 586
parm: beacon_cal:int
parm: countrycode:Override default country code. Default is 0. (int)
parm: maxvaps:Maximum VAPs. Default is 4. (int)
parm: outdoor:Enable/disable outdoor use. Default is 0. (int)
parm: xchanmode:Enable/disable extended channel mode. (int)
parm: rfkill:Enable/disable RFKILL capability. Default is 0. (int)
parm: hal_tpc:Disables manual per-packet transmit power control and lets this be managed by the HAL. Default is OFF. (int)
parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use ‘none’ to disable (charp)
parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to ‘sample’ (charp)
parm: intmit:Enable interference mitigation by default. Default is 0. (int)
parm: ath_debug:Load-time driver debug output enable (int)
parm: ieee80211_debug:Load-time 802.11 debug output enable (int)

lspci -v

02:00.0 VGA compatible controller: nVidia Corporation Device 0845 (rev a2) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 360a
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at c1000000 (32-bit, non-prefetchable) [size=16]
Memory at d0000000 (64-bit, prefetchable) [size=256]
Memory at c4000000 (64-bit, prefetchable) [size=32]
I/O ports at 4000 [size=128]
[virtual] Expansion ROM at c6000000 [disabled] [size=128]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Kernel driver in use: nvidia
Kernel modules: nvidia, nvidiafb

07:00.0 Network controller: Atheros Communications Inc. Device 002a (rev 01)
Subsystem: Hewlett-Packard Company Device 1382
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at c2000000 (64-bit, non-prefetchable) [size=64]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00[/size][/size][/size][/size][/size][/size]

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

when ath_pci tries to load, what are the messages found in dmesg? This would help to identify the chip.

Try this one again:

Please post the output of ‘hwinfo --wlan’ (from root user)

Hi

when i reboot laptop after that i cant see dmesg | grep ath and lsmod | grep ath output
but again i do modprobe ath_pci and i can see outputs like this

cure:/home/zafer # lsmod | grep ath
ath_pci 100128 0
wlan 204620 1 ath_pci
ath_hal 195920 1 ath_pci
cure:/home/zafer # dmesg | grep ath
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ath_pci: 0.9.4
cure:/home/zafer #

Your system is not autoloading aph_pci, which is why dmesg has no
mention of it until you force it with the modprobe.

I reviewed the thread, and see no persuasive evidence that you have a
device controlled by ath_pci.

Please run the command ‘/sbin/lspci -nnv’ and post the first two
lines of the section that describes your wireless.

Larry

i dont have any output frpm hwinfo --wlan

here is the lspci -nnv output

07:00.0 Network controller [0280]: Atheros Communications Inc. Device [168c:002a] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:1382]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at c2000000 (64-bit, non-prefetchable) [size=64]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00[/size]

From the 103c:002a that you found, your device is an Atheros AR9280,
which uses ath9k as its driver.

I know very little about Atheros devices, but I do know that this
driver is not fully available until kernel 2.6.28, which is why
openSUSE 11.0 with 2.6.25 does not recognize it. You might get it to
work with the MadWifi driver (http://madwifi.org/), but it is more
likely to work with the kernel from wireless testing (see
http://wireless.kernel.org/en/users/Drivers/ath9k). Yes, that will
entail adding all the packages needed for kernel development, and
compiling your own kernel, but neither is rocket science.
Incidentally, wireless-testing has a 2.6.27-rc6 kernel, but the
wireless parts contain most of the stuff that will be in 2.6.28. I
have been running 2.6.27 kernels since the code merge of this version
started. There have been some show stopping bugs in the process, but
it has been good since 2.6.27-rc3.

Larry

Hi Larry

my kernel is 2.6.25.16-0.1-default

i installed http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2

after it worked i didnt patched my kernel

Thanks for helps,:slight_smile:

regards

zafer

Lary,
i tried configure kismet.conf but i cant fix it
what i need to change source in kismet config file

regards
zafer

For the wireless problem on this machine, remove madwifi and ndiswrapper. Go to PackMan :: Package details for broadcom-wl and one click install the appropriate driver.

The wireless button works but doesn’t turn into red in my case but I think that is not crucial…