Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Atheros AR9285 Disabled (hp dv3 laptop)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Youwotma
n00b
n00b


Joined: 02 Sep 2010
Posts: 2

PostPosted: Thu Sep 02, 2010 4:15 pm    Post subject: [Solved] Atheros AR9285 Disabled (hp dv3 laptop) Reply with quote

I am a gentoo noob, this is my first installation. Have been using linux (ubuntu) for a year or so.

I have a HP laptop (Pavilion dv3-serie) with a Atheros AR9285 integrated wifi card. I have no network interface for that card (no wlan0 in ifconfig) and the card is shown "DISABLED" in lshw

My laptop has a enable/disable wifi toggle button with the LED in orange (orange = disabled, blue = enabled) but pushing the button does not help.

I have a 2.6.34 kernel and i have installed compat-wireless 2.6.35 and 2.6.36-rc2, with no luck.

Some commands:

#lspci
Code:

...
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
...


#lshw -C network
Code:

  *-network DISABLED     
       description: Ethernet interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 01
       serial: 0c:60:76:6a:f1:d7
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=ath9k driverversion=2.6.34-gentoo-r1 firmware=N/A latency=0 link=yes multicast=yes
       resources: irq:18 memory:d9000000-d900ffff
...


#rfkill list
Code:

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no


#dmesg | grep -C 3 ath9k
Code:

Freeing unused kernel memory: 576k freed
udev: starting version 151
cfg80211: Calling CRDA to update world regulatory domain
ath9k 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ath9k 0000:03:00.0: setting latency timer to 64
ath: EEPROM regdomain: 0x6a
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x6a
phy0: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9285 Rev:2 mem=0xffffc900051c0000, irq=18
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
HDA Intel 0000:00:1b.0: power state changed by ACPI to D0


I think i have configured the kernell correctly

Thank you all.


Last edited by Youwotma on Thu Sep 02, 2010 7:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 02, 2010 5:54 pm    Post subject: Reply with quote

howdy

check and see if the interface shows via

Code:

cat /proc/net/wireless


it should based on what you've posted above.

assuming it does, does anything useful get thrown to dmesg if you

Code:

ifconfig wlan0 up


?

Complete shot in the dark here. I have an AR928x, never run into this, so not sure what exactly is going on.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Youwotma
n00b
n00b


Joined: 02 Sep 2010
Posts: 2

PostPosted: Thu Sep 02, 2010 6:17 pm    Post subject: Reply with quote

cach0rr0 wrote:
howdy

check and see if the interface shows via

Code:

cat /proc/net/wireless


it should based on what you've posted above.

assuming it does, does anything useful get thrown to dmesg if you

Code:

ifconfig wlan0 up


?

Complete shot in the dark here. I have an AR928x, never run into this, so not sure what exactly is going on.


thank you! it was only the "ifconfig wlan0 up" i thought ifconfig listed every network interface (even if it was down), so when i didn't saw the interfaced listed i thought something was wrong, than you very much!

now everything is working, sorry for wasting your time
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 02, 2010 8:55 pm    Post subject: Reply with quote

no worries, if you knew the answer you wouldn't ask, and if you don't know the answer asking isn't a waste of time at all :)

ifconfig shows everything that's up

ifconfig -a shows everything, up or down, provided the driver for the network device has loaded successfully, and should more or less match /proc/net/dev

-if someone's device isn't showing in /proc/net/dev (everything including wireless) or /proc/net/wireless (just wireless) I assume driver or firmware problem
-if it shows there, but not in ifconfig output, I assume they forgot the -a switch, or that they already have the driver bits taken care of, and now simply need to configure client-side tools (e.g. WICD - which i highly recommend)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Sun Nov 07, 2010 10:45 am    Post subject: My device doesn't show? Reply with quote

Hi,

I also have an AR928x, but my device doesn't show in cat
Code:
/proc/net/wireless
. What kernel module or driver do you use?

Thanks,
_________________
https://phunehehe.net/


Last edited by phunehehe on Fri Nov 12, 2010 3:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
daddio
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 145
Location: Orem, UT

PostPosted: Thu Nov 11, 2010 3:31 pm    Post subject: AR9285 == ath9k Reply with quote

ath9k is the driver for that series of atheros chipset
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Thu Nov 11, 2010 4:05 pm    Post subject: Re: AR9285 == ath9k Reply with quote

daddio wrote:
ath9k is the driver for that series of atheros chipset


That's exactly what I'm trying, but I failed. Can you show me how you configure your kernel? Maybe you can give me your kernel.conf file?
_________________
https://phunehehe.net/


Last edited by phunehehe on Sat Nov 13, 2010 1:56 am; edited 1 time in total
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Thu Nov 11, 2010 9:59 pm    Post subject: Reply with quote

@phunehehe: Is your card internal (pci) or external (usb)? Because the usb card has its own driver and needs firmware. If you have the driver as a module, have you checked that it and its dependencies are loaded?

Code:
% lsmod | grep ath
ath9k                  72204  0
ath9k_common            2441  1 ath9k
mac80211              147560  2 ath9k,ath9k_common
ath9k_hw              213857  2 ath9k,ath9k_common
ath                     8722  2 ath9k,ath9k_hw
cfg80211              139086  4 ath9k,ath9k_common,mac80211,ath
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Fri Nov 12, 2010 3:27 pm    Post subject: Reply with quote

@mr.sande: mine is an internal card, and
Code:
lsmod | grep ath
gives the same modules that you listed. Do I need to enable them somewhere else?
_________________
https://phunehehe.net/
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Fri Nov 12, 2010 10:12 pm    Post subject: Reply with quote

If the drivers are loaded and your card still doesnt show up in ifconfig -a, then Im sorry to say I dont know what to do.

If its a problem with connecting Id try wicd, because its nice :)
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Sat Nov 13, 2010 1:49 am    Post subject: Reply with quote

Yes, my card does show up in ifconfig -a as wlan0. And when I try ifconfig wlan0 up it shows up in ifconfig as well.
Code:
wlan0     Link encap:Ethernet  HWaddr 00:22:43:61:a2:f0 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


It shows up it /proc/net/dev too (with a bunch of zeros behind wlan0), and I don't have a file called /proc/net/wireless

However, I can't do iwlist wlan0 scanning, because iwlist says
Code:
wlan0     Interface doesn't support scanning.


I guess that's why wicd cannot detect any network. Any hope for me?
_________________
https://phunehehe.net/
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Sat Nov 13, 2010 4:53 pm    Post subject: Reply with quote

iwlist will not scan if the interface is down, do 'ifconfig wlan0 up' and see if it works. wicd is supposed to do that for you though.
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Sun Nov 14, 2010 3:54 pm    Post subject: Reply with quote

mr.sande wrote:
iwlist will not scan if the interface is down, do 'ifconfig wlan0 up' and see if it works. wicd is supposed to do that for you though.

I am still unable to make it work yet. Tried bringing the interface up before scanning but that doesn't work either.
_________________
https://phunehehe.net/
Back to top
View user's profile Send private message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Mon Dec 06, 2010 1:37 am    Post subject: Reply with quote

phunehehe, I just went through the paces of getting my new AR9285 up and running with the ath9k driver. I was having issues the same issues you were: the answer was in the kernel config. I was playing around with options, recompiled a new kernel and presto, wpa_supplicant started working with the card. Here is my kernel config, hopefully you can mirror and get success. I'm using 2.6.34-gentoo-r12.
Code:

[*] Networking support  --->
 -*-   Wireless  --->
  <*>   cfg80211 - wireless configuration API                     
    [ ]     nl80211 testmode command                           
    [ ]     enable developer warnings                             
    [ ]     cfg80211 regulatory debugging                           
    [*]     enable powersave by default                           
    [ ]     cfg80211 DebugFS entries                               
    [*]     cfg80211 wireless extensions compatibility                 
    [*]   Wireless extensions sysfs files                           
   <*>   Common routines for IEEE802.11 drivers
    [ ]   lib80211 debugging messages                               
   <*>   Generic IEEE 802.11 Networking Stack (mac80211)           
            Default rate control algorithm (Minstrel)  --->           
     [ ]   Enable mac80211 mesh networking (pre-802.11s) support     
     -*-   Enable LED triggers                                     
     [ ]   Export mac80211 internals in DebugFS                     
     [ ]   Select mac80211 debugging features  --->

 Device Drivers  --->
[*] Network device support  --->
 [*]   Wireless LAN  --->
 <M>   Atheros Wireless Cards  --->
   [*]   Atheros wireless debugging                                 
  <  >   Atheros 5xxx wireless cards support                       
  <M>   Atheros 802.11n wireless cards support                     
   [*]     Atheros ath9k debugging                                 
  < >   Atheros AR9170 802.11n USB support 


Good luck!
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Mon Dec 06, 2010 4:43 am    Post subject: Reply with quote

gr0x0rd wrote:
phunehehe, I just went through the paces of getting my new AR9285 up and running with the ath9k driver. I was having issues the same issues you were: the answer was in the kernel config. I was playing around with options, recompiled a new kernel and presto, wpa_supplicant started working with the card. Here is my kernel config, hopefully you can mirror and get success. I'm using 2.6.34-gentoo-r12.
Good luck!


Thanks for the hope, I will try this out soon!
_________________
https://phunehehe.net/
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 21
Location: Vietnam

PostPosted: Mon Dec 06, 2010 12:35 pm    Post subject: Reply with quote

@gr0x0rd You rock! Thanks for the help!
_________________
https://phunehehe.net/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum