Public bug reported:

It has recently come to our attention that some laptops, in particular
the lenovo b470 machines, have only one antenna. Unfortunately, they
have decided to attach the auxilary antenna in the factory and not the
main antenna. Udev sounds like the right place to quirk for this.

Presently we're using an upstart job, the text of which is :

# LenovoBx70eAtherosAntenna.conf
#
# Lenovo B[45]70e systems with Atheros AR9285 wifi only have one
# antenna, but the ath9k driver defaults to using two antennas (Main
# for Tx, Aux for Rx).  This job reconfigures the driver to use the
# main antenna for both Tx and Rx before networking starts.

description     "Fix antenna configuration for Atheros wifi on
b470e/b570e"

start on starting networking

task

script
        # only required for Lenovo B470e and B570e
        dmidecode --string system-version | grep --quiet --line-regex "Lenovo 
B[45]70e" || exit 0
        
        # only required for Atheros AR9285 devices
        lspci -n | grep --quiet --extended-regexp "^[0-9a-f:.]* 0280: 
168c:002b" || exit 0

        # configure the device to use antenna 1 (Main) for both tx and rx
        iw phy0 set antenna 1 1 
end script

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: blocks-hwcert-enablement

** Tags added: blocks-hwcert-enablement

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1061924

Title:
  Need Antenna quirks for some platforms

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1061924/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to