[Kernel-packages] [Bug 1324095] Re: [Lenovo Yoga 2 Pro] ideapad_laptop kernel module breaks wireless

2014-08-25 Thread Kévin Commaille
There's already a patch included upstream in 3.16 only for yoga 2 pro.
There's another patch for all yoga 2s which has been pushed and is now
included in 3.17-rc1. Would be nice to backport it for ubuntu 14.04
though.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1324095

Title:
  [Lenovo Yoga 2 Pro] ideapad_laptop kernel module breaks wireless

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Triaged
Status in “linux” package in Fedora:
  Unknown

Bug description:
  With the ideapad_laptop module loaded there is no wlan0 (or other wifi
  device) present. Booting without any explicit blacklist config the
  ideapad_laptop kernel module gets loaded, and there are no wlan0
  device present.

  If I yet again load the ideapad_laptop module, using modprobe, the wlan0 
device goes away. Here is the dmesg output from that.
  [  234.351406] input: Ideapad extra buttons as 
/devices/platform/VPC2004:00/input/input17
  [  234.353261] wlan0: deauthenticating from d8:5d:4c:bb:1a:f2 by local choice 
(reason=3)
  [  234.398900] cfg80211: Calling CRDA to update world regulatory domain
  [  234.401410] cfg80211: World regulatory domain updated:
  [  234.401412] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
  [  234.401414] cfg80211:   (2402000 KHz - 2472000 KHz @ 4 KHz), (300 mBi, 
2000 mBm)
  [  234.401415] cfg80211:   (2457000 KHz - 2482000 KHz @ 4 KHz), (300 mBi, 
2000 mBm)
  [  234.401416] cfg80211:   (2474000 KHz - 2494000 KHz @ 2 KHz), (300 mBi, 
2000 mBm)
  [  234.401418] cfg80211:   (517 KHz - 525 KHz @ 4 KHz), (300 mBi, 
2000 mBm)
  [  234.401419] cfg80211:   (5735000 KHz - 5835000 KHz @ 4 KHz), (300 mBi, 
2000 mBm)
  [  234.555068] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

  WORKAROUND: For the wireless network to work on my Lenovo Yoga 2 Pro Laptop I 
need blacklist/rmmod the ideapad_laptop kernel module. Running rmmod on the 
module results in the wlan0 device becoming present, and NetworkManager being 
able to connect to a local wifi network. Here is the dmesg output after the 
rmmod command:
  [   74.908411] iwlwifi :01:00.0: L1 Disabled; Enabling L0S
  [   74.908627] iwlwifi :01:00.0: L1 Disabled; Enabling L0S
  [   74.920538] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  [   76.371036] wlan0: authenticate with d8:5d:4c:bb:1a:f2
  [   76.372069] wlan0: send auth to d8:5d:4c:bb:1a:f2 (try 1/3)
  [   76.376670] wlan0: authenticated
  [   76.378169] wlan0: associate with d8:5d:4c:bb:1a:f2 (try 1/3)
  [   76.381908] wlan0: RX AssocResp from d8:5d:4c:bb:1a:f2 (capab=0x411 
status=0 aid=2)
  [   76.383305] wlan0: associated
  [   76.38] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-27-generic 3.13.0-27.50
  ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
  Uname: Linux 3.13.0-27-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  andreas2492 F pulseaudio
   /dev/snd/controlC0:  andreas2492 F pulseaudio
  CurrentDesktop: Unity
  Date: Wed May 28 14:00:22 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-05-20 (8 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: LENOVO 20266
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic.efi.signed 
root=UUID=e70835c5-4ffe-49d3-aecc-403dbf538c1a ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-27-generic N/A
   linux-backports-modules-3.13.0-27-generic  N/A
   linux-firmware 1.127.2
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/31/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 76CN31WW
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: Yoga2
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900056PRO
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga 2 Pro
  dmi.modalias: 
dmi:bvnLENOVO:bvr76CN31WW:bd10/31/2013:svnLENOVO:pn20266:pvrLenovoYoga2Pro:rvnLENOVO:rnYoga2:rvr31900056PRO:cvnLENOVO:ct10:cvrLenovoYoga2Pro:
  dmi.product.name: 20266
  dmi.product.version: Lenovo Yoga 2 Pro
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1324095/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1341296] Re: ideapad_laptop.mod not fixed for all models in latest release

2014-08-25 Thread Kévin Commaille
The patch has been commited and is now in 3.17-rc1 and I'm using it in
3.16 on my Lenovo Yoga 2 13 so I think you can consider it fixed
upstream. A backport for ubuntu 14.04 would be nice though.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1341296

Title:
  ideapad_laptop.mod not fixed for all models in latest release

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  The fix for the ideapad_laptop having issues with the wireless is not
  complete for all lenovo yoga laptops.  This release:

  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324095

  Includes the fix to linux-3.16.0/drivers/platform/x86/ideapad-laptop.c
  around lines here:

  --- BEGIN ORIGINAL PATCH ---

  @@ -819,6 +821,19 @@
    }
   }

  +/* Blacklist for devices where the ideapad rfkill interface does not work */
  +static struct dmi_system_id rfkill_blacklist[] = {
  + /* The Lenovo Yoga 2 11 always reports everything as blocked */
  + {
  +   .ident = Lenovo Yoga 2 11,
  +   .matches = {
  + DMI_MATCH(DMI_SYS_VENDOR, LENOVO),
  + DMI_MATCH(DMI_PRODUCT_VERSION, Lenovo Yoga 2 11),
  +   },
  + },
  + {}
  +};
  +
  --- END ORIGINAL PATCH ---

  The Lenovo Yoga 2 13 models report as Lenovo Yoga 2 or Lenovo Yogo
  2 Pro without the size identifier. Fedora has incorporated their
  version of the patch here:

  https://bugzilla.redhat.com/show_bug.cgi?id=1021036

  This also affects issue where the same information is shown:

  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324095

  The above needs to be adjusted to include the line:

  DMI_MATCH(DMI_PRODUCT_VERSION, Lenovo Yoga 2),
  DMI_MATCH(DMI_PRODUCT_VERSION, Lenovo Yogo 2 Pro),

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1341296/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp