Comment 2 for bug 1061924

Revision history for this message
Martin Pitt (pitti) wrote :

Can you please forward this bug to the kernel developers, so that it can get fixed properly in the driver?

udev is not the place to put driver bug workarounds in, but then again neither are most other packages, so we can stick it into the udev package for now. It just has no chance of getting accepted upstream.

But let's at least try all the overhead with it, i. e. calling dmidecode, lspci, and two times grep. Could you try to replace the upstart job with an /etc/udev/rules.d/80-platform-quirks.rules with this contents:

  ACTION=="add", ATTR{vendor}=="0x168c", ATTR{device}=="0x002b", ATTR{[dmi/id]product_name}=="Lenovo B[45]70e*", RUN+="/sbin/iw phy0 set antenna 1 1"

and let me know whether that works as well? Also, I don't like the hardcoded "phy0" here, that'll be wrong if you have more than one card installed. Can you please do "udevadm info --export-db > /tmp/udev.txt" and attach /tmp/udev.txt here? Thanks!