Linux wireless drivers development
 help / color / mirror / Atom feed
From: oshi <oshi@trego.co.il>
To: linux-wireless@vger.kernel.org
Subject: ar9170 network interface initialization failure
Date: Mon, 12 Oct 2009 10:05:53 +0000 (UTC)	[thread overview]
Message-ID: <loom.20091012T120512-386@post.gmane.org> (raw)

Hello,

I am trying to enable a Ubiquity SR71 device on x86 - ubuntu 9.04 (kernel
headers 2.6.28-15).

I built and installed compat-wireless-2009-10-09 on my machine.
ar9170 module is loaded and a network interface is created.

However when I try to bring up the interface, an error occurs:

ifconfig wlan3 up
SIOCSIFFLAGS: Operation not permitted

I managed to trace down the error to  a failure in usb_submit_urb() called from
ar9170_init_mac().


[70247.612064] usb 2-1: new high speed USB device using ehci_hcd and address 10
[70247.779863] usb 2-1: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has
invalid maxpacket 64
[70247.792411] usb 2-1: configuration #1 chosen from 1 choice
[70247.910900] usb 2-1: reset high speed USB device using ehci_hcd and address 10
[70249.084059] usb 2-1: firmware: requesting ar9170.fw
[70249.096406] usb 2-1: ar9170.fw firmware file not found, trying old firmware...
[70249.096416] usb 2-1: firmware: requesting ar9170-1.fw
[70249.138585] usb 2-1: firmware: requesting ar9170-2.fw
[70249.568392] ath: EEPROM regdomain: 0x0
[70249.568397] ath: EEPROM indicates default country code should be used
[70249.568402] ath: doing EEPROM country->regdmn map search
[70249.568408] ath: country maps to regdmn code: 0x3a
[70249.568413] ath: Country alpha2 being used: US
[70249.568418] ath: Regpair used: 0x3a
[70249.568792] phy2: Selected rate control algorithm 'minstrel'
[70249.572212] ar9170_usb_exec_cmd line 399
[70249.572488] ar9170_usb_exec_cmd line 399
[70249.572820] Registered led device: ar9170-phy2::tx
[70249.572883] Registered led device: ar9170-phy2::assoc
[70249.572890] usb 2-1: Atheros AR9170 is registered as 'phy2'
[70249.588769] udev: renamed network interface wlan0 to wlan3
[70254.388224] ar9170_op_start 1259
[70254.388231] ar9170_init_mac 147
[70254.388257] ar9170_usb_exec_cmd usb_submit_urb err -1 
[70254.391839] ar9170_usb_exec_cmd usb_submit_urb err -1 
[70254.391846] usb 2-1: USB setup failed (-1).
[70262.056330] ar9170_usb_exec_cmd usb_submit_urb err -1 
[70262.056338] usb 2-1: USB setup failed (-1).


The problem occurs also when using the single firmware file.
All the process was performed as root.

Am I missing any configuration phase?
Are there any usb patches i am missing?

Any suggestion will be appreciated.

Thanks,
Oshi



             reply	other threads:[~2009-10-12 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12 10:05 oshi [this message]
2009-10-13 19:25 ` ar9170 network interface initialization failure Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20091012T120512-386@post.gmane.org \
    --to=oshi@trego.co.il \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox