ath9k_htc WiFi Update

22 replies [Last post]
jxself
Offline
Joined: 09/13/2010

A follow up to:
https://www.fsf.org/news/ryf-certification-thinkpenguin-usb-with-atheros-chip

Just to let you know that the kernel for Trisquel 6 now includes the ability to load the firmware needed for these devices so you no longer need to install a different kernel. Both Trisquel version 3.2 and 3.5 kernels have this support.

You may need to go and apply a kernel update via your package manager to get this, and if you're using a mirror it may be a day or two before the mirrors have copies of the updated kernel so you may not see an updated package just yet.

(So if you're using my kernel please feel free to move back to the Trisquel kernel if you want.)

The firmware itself is still needed and I have pre-compiled .fw files available for download at http://jxself.org/ath9k-htc/ (drop them into /lib/firmware) but eventually that won't be necessary either once it gets packaged and included in the Trisquel repositories.

icarolongo
Offline
Joined: 03/26/2011

I bought one NETGEAR WNA 1100 with this chipset. The only way to work was install the your PPA with Linux-libre 3.4 LTS (it's works fine in Macbook with NVIDIA graphics) or the new 3.9 (but it's crash here with nouveau).

Good to know the updated default kernel in Trisquel works :-)

aloniv

I am a translator!

Offline
Joined: 01/11/2011

Does it also work with kernels in Parabola and/or gNewSense?

icarolongo
Offline
Joined: 03/26/2011
aloniv

I am a translator!

Offline
Joined: 01/11/2011

I learnt from looking at the link at h-node that Parabola also has a long term release kernel so I switched to that. The LTS kernel should be the default in my view.

Navax
Offline
Joined: 01/31/2012

I have put it in /lib/firmware but the driver can't find it

T.T

t3g
t3g
Offline
Joined: 05/15/2011

Is there an effort to submit this firmware to the Ubuntu repos to replace the prior Atheros ones for Ubuntu 12.04 and above? The 12.04.2 CD comes with the Quantal kernel (3.5) installed by default and the upcoming 12.04.3 release will have the Raring kernel (3.8) installed by default which will make use of the firmware.

Of course versions of Ubuntu greater than 12.04 will have support for this firmware and if this gets pushed to Debian unstable, that will guarantee a future release uses it by default.

P.S. In the past, Jason brought over the 3.5 kernel to Trisquel 6 from the lts-quantal package, but are there plans as well to bring over the 3.8 kernel from the lts-raring package?

Chris

I am a member!

Offline
Joined: 04/23/2011

I'm pretty confident Ubuntu will pick up on it as the GPL fimware is replacing the non-free one. All future development will be based on this free'd firmware.

It is actually debian that we need to make away of an issue with. There including the free carl9170 firmware in a non-free package with other non-free firmware. This should be separated and carl9170 and ath9k_htc_open firmware should be packaged and included in main as well as the base.

t3g
t3g
Offline
Joined: 05/15/2011

Are you in contact with Canoncial or the maintainer on Launchpad of the firmware to make the firmware switch? To make it easy, they can just copy over the 1.3.2 version of Jason's firmwares or do you recommend they recompile from source?

I agre that Debian should have their atheros-firmware packages in the main be free software only and a seperate atheros-firmware-nonfree in their non-free repositories. Simple enough ey? :-P

Chris

I am a member!

Offline
Joined: 04/23/2011

I have communicated with a number of different Canonical employees over the years although we have never done anything with them.

Canonical is not as strict as Debian is. I think one of the issues preventing carl9170 from getting into the main repository is it isn't using a standard procedure/toolset/etc and Debian requires everything in main to be built from sources.

I don't believe Canonical has any such requirements and they just package up the firmware (non-free firmware at least) and stick it in the base distribution. There isn't much out there in the way of free firmware so it's hard to say what they would do. They do seem to be on top of the firmware situation and things have been kept up to date. This may in part be due to a large community reporting bugs and the significant number of developers the company has working on Ubuntu.

jxself
Offline
Joined: 09/13/2010

I personally don't expect anyone working on Ubuntu or Canonical to
package the free firmware. They already have the non-free one
packaged. Since freedom isn't their priority, I don't expect them to
undertake the work to package the free one (especially with the
non-standard build system you refer to) in order to get the same
functionality that they already have with the non-free one, again
since freedom isn't their priority anyway. It's like "My WiFi already
works, so nothing is wrong."

Chris

I am a member!

Offline
Joined: 04/23/2011

Yes- although I think it'll end up getting into Ubuntu via upstream even if Canonical doesn't package it. The free version is now the standard and Ubuntu uses won't get updates to it unless Canonical moves to this new version.

Ultimately I think Ubuntu will ship with the free firmware. I'm not holding my breath that they do it sooner rather than later though.

t3g
t3g
Offline
Joined: 05/15/2011

I sent a bug report last night, so let's see if it gets ignored or not:

https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1188459

Chris

I am a member!

Offline
Joined: 04/23/2011

I noticed. Didn't say anything. Good job. I got about half way and still am planning to push forward when I find the time.

icarolongo
Offline
Joined: 03/26/2011

Chris, now the default Linux-libre 3.2.0-45 works with the firmware. Now you can recommend your customers to run Update Manager in Trisquel and put the firmware in /lib/firmware and done.

Chris

I am a member!

Offline
Joined: 04/23/2011

Done.

Updated our documentation before although didn't mention Update Manager. The directions are a little rough on the details still although we make a note of it on the product page.

jxself
Offline
Joined: 09/13/2010

> P.S. In the past, Jason brought over the 3.5 kernel to Trisquel 6
from the
> lts-quantal package, but are there plans as well to bring over the
3.8 kernel
> from the lts-raring package?

Yes, I do plan to work on 3.8 when I get some free time to do so.

t3g
t3g
Offline
Joined: 05/15/2011

I love you Jason.

t3g
t3g
Offline
Joined: 05/15/2011

Jason's kernel from his repo (3.9.4) loads the firmware no problem after booting for my Triquel 6 machine with an Atheros 9271 chipset, but the linux-generic-lts-belenos_3.5.0.31 kernel did not work. I unplugged and plugged in the device multiple times and although my system detected the wifi device (lsusb), my system wouldn't connect.

I have no problem using Jason's latest kernel for now, but I am also looking forward to future releases of the 3.2, 3.5, 3.8 kernels supporting this out automatically.

vmorr18
Offline
Joined: 07/07/2013

New to Linux and Trisquel. Recently installed 6.0 on a Lenovo 3000 v100. Trying to get the wifi to work. The installed card will not work (Intel Co. PRO/Wireless 3945ABG [Golan]) so I bought the NETGEAR WNA 1100. After researching and reading these forums I downloaded the fw from http://jxself.org/ath9k-htc/ and placed them in /lib/firmware.
It recognizes the wifi usb
with lsusb -v

I am stalled out at this point. Any help would be much appreciated.

Trisquel 6.0
3.2.0-38-generic-pae GNU/Linux

vmorr18
Offline
Joined: 07/07/2013

I also read about a newer firmware map

http://wireless.kernel.org/en/users/Drivers/ath9k_htc

AR9271 - htc_9271.fw
AR7010 - htc_7010.fw

as opposed to

AR9271 - ar9271.fw
AR7010 - ar7010.fw or ar7010_1_1.fw

I believe my chipset is 9271. Not sure where or how to configure firmware map? I also read somewhere about blacklisting my PRO/Wireless 3945ABG [GOLAN]? Any help would be much appreciated. Thanks
Vin

Jayn
Offline
Joined: 08/27/2010

My Netgear wg111v3 blew out overnight and I got a WNA 1100 at a local wal-mart. I was having trouble getting it to work, but hooked up via ethernet, grabbed the .fw, put it in /lib/firmware and rebooted.

When will this be expected to be automatically included? I know this thread is about 4 months old...

This post saved my life, so thank you all!

Chris

I am a member!

Offline
Joined: 04/23/2011

I don't have an answer for you although the release candidate for the version which is going to include it is out. However it doesn't have the firmware so you can't test it yet.