Hi Oleksij,
   I've patched your file, but it seems the code does not run to that part.

plugin wifi module first time:
=============================
Compat-wireless backport release: compat-wireless-2011-12-28-p
Backport based on linux-next.git next-20111228
cfg80211: Calling CRDA to update world regulatory domain
usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed
ath9k_htc: probe of 1-1:1.0 failed with error -22
usbcore: registered new interface driver ath9k_htc

plugin wifi module second time:
=============================
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using FOTG2XX_DRV and address 3
port status 10009
2nd port status 10009
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed

plugin wifi module thrid time:
=============================
ath9k_htc: probe of 1-1:1.0 failed with error -22
usb 1-1: USB disconnect, address 3
usb 1-1: new high speed USB device using FOTG2XX_DRV and address 4
port status 10009
2nd port status 10009
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed
ath9k_htc: probe of 1-1:1.0 failed with error -22


On Wed, Jun 19, 2013 at 9:21 PM, Oleksij Rempel <li...@rempel-privat.de>wrote:

> Am 19.06.2013 12:14, schrieb Bo Shi:
>
>  Hi,
>>     I am porting ar9271 wifi module to an arm platform, after some days
>> try, still can not solve the problem, please help.
>>
>> Environment:
>>
>> 1. lilnux kernel version 2.6.28.
>> 2. compat-wireless-2011-12-31-p
>>
>> 3. without udev, but with mdev
>>
>> 4. firmware puts in lib/firmware/htc_9271.fw
>>
>> compile ok, but when install ath9k_htc.ko, get error message:
>>
>> ==============================**==============================**==
>> usb 1-1: new high speed USB device using FOTG2XX_DRV and address 4
>> port status 10009
>> 2nd port status 10009
>> usb 1-1: configuration #1 chosen from 1 choice
>> usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed
>> ath9k_htc: probe of 1-1:1.0 failed with error -22
>>
>> ==============================**==============================**===
>>
>>
> Hmm...
>
> "Firmware - htc_9271.fw download failed" comes because
> ath9k_hif_usb_download_fw returned -ENOMEM or -EIO
>
> but "probe of 1-1:1.0 failed with error -22" is -EINVAL.
>
> Try attached patch. may be we will find exact reason.
>
> --
> Regards,
> Oleksij
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to