Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489714 - sys-firmware/iwl7260-ucode - firmware for Intel 7260 802.11ac cards
Summary: sys-firmware/iwl7260-ucode - firmware for Intel 7260 802.11ac cards
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-10-29 08:12 UTC by Thomas Kear
Modified: 2014-02-06 03:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
iwl7260-ucode-22.0.7.0.ebuild (iwl7260-ucode-22.0.7.0.ebuild,743 bytes, text/plain)
2013-10-29 08:12 UTC, Thomas Kear
Details
iwl7260-ucode-22.1.7.0.ebuild (iwl7260-ucode-22.1.7.0.ebuild,763 bytes, text/plain)
2014-01-23 03:17 UTC, Thomas Kear
Details
iwl7260-ucode-22.15.8.0.ebuild (iwl7260-ucode-22.15.8.0.ebuild,763 bytes, text/plain)
2014-01-23 03:18 UTC, Thomas Kear
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kear 2013-10-29 08:12:55 UTC
Created attachment 362190 [details]
iwl7260-ucode-22.0.7.0.ebuild

From a modification of iwl6030-ucode-18-18.168.6.1.ebuild - install iwl7260-7.ucode from tarball as per previous firmware releases.

It appears that intellinuxwireless.com has been replaced with a wireless.kernel.org site, HOMEPAGE and SRC_URI updated to reflect this.  I couldn't find a download url without query parameters in it, but it appears to work reliably.
Comment 1 Small_Penguin 2014-01-19 17:16:16 UTC
I confirm the ebuild works fine with the 22.1.7.0 version (for kernel 3.10+). There is a separate ucode available for kernel 3.13+. It would be great to have these in tree.

For quick reference: http://wireless.kernel.org/en/users/Drivers/iwlwifi
Comment 2 Mark Wright gentoo-dev 2014-01-23 03:07:27 UTC
Thanks for the ebuild, testing this on machine I have on loan for a few days.
Comment 3 Thomas Kear 2014-01-23 03:17:55 UTC
Created attachment 368502 [details]
iwl7260-ucode-22.1.7.0.ebuild

I realised when I looked in DISTDIR that this ebuild's SRC_URI needed a -> to avoid ugly download filenames.
Comment 4 Thomas Kear 2014-01-23 03:18:57 UTC
Created attachment 368504 [details]
iwl7260-ucode-22.15.8.0.ebuild

And the -8 firmware for kernel 3.13.
Comment 5 Mark Wright gentoo-dev 2014-01-23 08:22:27 UTC
Added, thanks.  It checks for CONFIG_IWLMVM and fails with this error if it is not set:

CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the 7260 firmware

Updated in v1.2 of the ebuilds in cvs:
Thanks to Thomas Kear for the fix: SRC_URI needs a -> to avoid ugly download filenames.

Please test, thanks.
Comment 6 Thomas Kear 2014-01-23 21:07:13 UTC
Tested insofar as the ebuilds install the blob in /lib/firmware, I'll trust that the firmware would load correctly if I rebooted my machine.

sys-firmware/iwl7260-ucode-22.1.7.0: Pass

sys-firmware/iwl7260-ucode-22.15.8.0: Fails on doins, filename is iwlwifi-7260-8.ucode not iwlwifi-7260-7.ucode in this version.


--- iwl7260-ucode-22.15.8.0.ebuild.orig 2014-01-24 09:12:29.078842169 +1300
+++ iwl7260-ucode-22.15.8.0.ebuild      2014-01-24 09:12:48.654814500 +1300
@@ -34,6 +34,6 @@

 src_install() {
        insinto /lib/firmware
-       doins "${S}/iwlwifi-7260-7.ucode"
+       doins "${S}/iwlwifi-7260-8.ucode"
        dodoc README*
 }
Comment 7 Mark Wright gentoo-dev 2014-01-23 22:50:29 UTC
Thanks, duh sorry for the copy paste errror, committed revision 1.3 of iwl7260-ucode-22.15.8.0.ebuild to fix it:

Thanks to Thomas Kear for testing and this fix (for my copy-paste bug): sys-firmware/iwl7260-ucode-22.15.8.0: Fails on doins, filename is iwlwifi-7260-8.ucode not iwlwifi-7260-7.ucode in this version.

I haven't tested it with the 3.13 kernel yet.

iwl7260-ucode-22.1.7.0 seems to work with the 3.12.8 kernel (can see the
interface in the ifconfig -a output).
Comment 8 Mark Wright gentoo-dev 2014-02-06 03:07:24 UTC
Tested the Intel 7260 wireless bluetooth card with iwl7260-ucode-22.15.8.0, linux 3.13.1, results are the kernel iwlwifi driver would repetitively fail with the error:

Microcode SW error detected.

That was a bug in the iwlwifi linux kernel driver, the fixes are committed upstream.  After manually applying the iwlwifi patches and rebuilding the 3.13.1 kernel sources, it works well (no more Microcode SW errors).