Atheros

From MineOS Wiki
Jump to navigation Jump to search

Atheros drivers are hit-or-miss. Some drivers are supported out-of-the-box and some require compilation (rebuilding the kernel), based on their status and maturity in the Linux Kernel. This page will help consolidate all known information about Atheros wireless and ethernet drivers as of the latest released kernel 3.1.0-rc9.

In the below table, green indicates working out-of-box, red indicates confirmed working after kernel rebuild.

This post is a summary of information found from MineOS Google Groups.

AR242x

AR8121/AR8113/AR8114

AR8131/AR8132

Ar928x

Rebuilding the kernel for Experimental Atheros drivers

As with normal drivers, upgrading the kernel steps remain mostly the same. However, in some cases of Atheros hardware, such as those above colored red, an additional step is required in enabling the use of experimental drivers.

Enabling via 'make menuconfig'

The option in the kernel configuration is called "Prompt for development and/or incomplete code/drivers". Turning this on will make additional drivers appear which can then be built-in or compiled as a module.

Enabling via .config

By editing .config directly, you can edit the following line:

<syntaxhighlight>

  1. CONFIG_EXPERIMENTAL is not set

</syntaxhighlight> to <syntaxhighlight> CONFIG_EXPERIMENTAL=y </syntaxhighlight>

After enabling experimental drivers, type make menuconfig, which will then populate the .config file with all the CONFIG_ options that were previously hidden.

Checking your work

Before spending the time building your kernel, check the following values in your config:

<syntaxhighlight>

  1. cat .config | grep "CONFIG_EXPERIMENTAL"

CONFIG_EXPERIMENTAL=y

  1. cat .config | grep "CONFIG_PCI="

CONFIG_PCI=y

  1. cat .config | grep "CONFIG_ATH9K="

CONFIG_ATH9K=y </syntaxhighlight>

CONFIG_ATH9K will differ depending on your hardware. It may also show CONFIG_ATH9K=M depending on if you built it as a module.