Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1192270
Summary: | ideapad-laptop probably needs to be blacklisted on Lenovo g50-30 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexander Ploumistos <alex.ploumistos> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | gansalmon, hdegoede, itamar, jonathan, jwboyer, kernel-maint, labbott, madhu.chinakonda, mchehab, pfpschneider, valent.turkovic |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel-4.1.3-100.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-30 13:55:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexander Ploumistos
2015-02-13 02:32:53 UTC
*********** MASS BUG UPDATE ************** We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs. Fedora 21 has now been rebased to 3.19.5-200.fc21. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 22, and are still experiencing this issue, please change the version to Fedora 22. If you experience different issues, please open a new bug report for those. The problem remains in 3.19.5-200.fc21. This seams like same issue I have noticed on Lenovo Yoga 3 laptop: https://bugzilla.redhat.com/show_bug.cgi?id=1239050 I forgot to mention I'm using Fedora 22. Who is maintainer of ideapad-laptop kernel driver? Where to report bug upstream? The ideapad-laptop module does not get as much attention as the thinkpad-laptop module. https://bugzilla.redhat.com/show_bug.cgi?id=1021036 has a long conversation about the module. The collection of players there managed to get a patch into the module. What probably needs to be done is to expand the following data in ideapad-laptop.c 827 * Some ideapads don't have a hardware rfkill switch, reading VPCCMD_R_RF 828 * always results in 0 on these models, causing ideapad_laptop to wrongly 829 * report all radios as hardware-blocked. 830 */ 831 static const struct dmi_system_id no_hw_rfkill_list[] = { 832 { 833 .ident = "Lenovo G40-30", 834 .matches = { 835 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 836 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G40-30"), 837 }, 838 }, 839 { 840 .ident = "Lenovo Yoga 2 11 / 13 / Pro", 841 .matches = { 842 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 843 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Yoga 2"), 844 }, 845 }, 846 { 847 .ident = "Lenovo Yoga 3 Pro 1370", 848 .matches = { 849 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 850 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"), 851 }, 852 }, 853 {} 854 }; To see whether your laptop is picked up look for these DMI_PRODUCT_VERSION strings in the output of sudo dmidecode in the System Information block Version entry. I expect that you will see "Lenovo G50-30" instead, which means that a change needs to be made. (In reply to Peter F. Patel-Schneider from comment #5) > What probably needs to be done is to expand the following data in > ideapad-laptop.c ideapad-laptop.c has these copyright notices: * Copyright © 2010 Intel Corporation * Copyright © 2010 David Woodhouse <dwmw2> Has the previously mentioned patch been ported to the kernel or is it just in the fedora kernel packages? Should we contact David Woodhouse or Intel? > I expect that you will see "Lenovo G50-30" instead, which means that a > change needs to be made. Yes, indeed: System Information Manufacturer: LENOVO Product Name: 80G0 Version: Lenovo G50-30 Actually, the current (or upcoming) version of the module has G50-30 in it already. (I was looking at a place that does not have all the up-to-date versions.) All you need to do is . . . . . . . . . wait. Maybe you could get Fedora to pick up this version if the change has not yet made it into the released kernel. See https://github.com/torvalds/linux/blob/5f1201d515819e7cfaaac3f0a30ff7b556261386/drivers/platform/x86/ideapad-laptop.c The (first!) commit for the G50-30 was made on 1 June 2015. See https://github.com/torvalds/linux/commit/4fa9dabcffc8e16601307d3d56b58c68d9716ba4#diff-eab82aebc1bb5f1f275c559c9aec9de1 There does appear to be several people who are updating this module. See the commits to this module for more information. I typed in sudo dmidecode on Lenovo Yoga 3 and this is output: System Information: Manufacturer: LENOVO Product Name: 80JH Version: Lenovo Yoga 3 14 (In reply to Peter F. Patel-Schneider from comment #7) > Actually, the current (or upcoming) version of the module has G50-30 in it > already. (I was looking at a place that does not have all the up-to-date > versions.) All you need to do is . . . . . . . . . wait. Maybe you could > get Fedora to pick up this version if the change has not yet made it into > the released kernel. Thank you very much for the information, I forwarded it to fedora kernel maintainers. The latest available kernels don't have it yet. Valent: You may be able to get the Fedora kernel maintainers to make the necessary change and have it uploaded to the mainline linux kernel. You will probably have to try out the change first, which should amount to changing DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"), to DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3"), (Except that you appear to have Yoga instead of YOGA. I'm not sure whether the DMI_MATCH call is case sensitive.) Lets use this bug for tracking the problems with the Lenovo g50-30 which should be fixed by this upstream commit: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/platform/x86/ideapad-laptop.c?id=4fa9dabcffc8e16601307d3d56b58c68d9716ba4 And use bug 1239050 to track the problems with the Lenovo Yoga 3 Josh, can you cherry pick these 2 commits into the Fedora-kernels to fix this (these are in 4.2): https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/platform/x86/ideapad-laptop.c?id=9b071a43553d6b2df4364951639f61076a8dd676 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/platform/x86/ideapad-laptop.c?id=4fa9dabcffc8e16601307d3d56b58c68d9716ba4 Regards, Hans 4.1.3 update has been filed for F22 which should have the fix. Please test and give karma. https://admin.fedoraproject.org/updates/kernel-4.1.3-200.fc22 kernel-4.0.9-200.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kernel-4.0.9-200.fc21 (In reply to Laura Abbott from comment #12) > 4.1.3 update has been filed for F22 which should have the fix. Please test > and give karma. https://admin.fedoraproject.org/updates/kernel-4.1.3-200.fc22 Tested and left karma. rfkill now lists four devices instead of two, is this how it's supposed to work? $ rfkill list 0: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: no Hard blocked: no 3: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: no This update also restored my bluetooth adapter that had stopped working sometime after 3.18.5-201. Anyway, thanks for solving two bugs with one update! Hi, (In reply to Alexander Ploumistos from comment #14) > (In reply to Laura Abbott from comment #12) > > 4.1.3 update has been filed for F22 which should have the fix. Please test > > and give karma. https://admin.fedoraproject.org/updates/kernel-4.1.3-200.fc22 > > Tested and left karma. > > rfkill now lists four devices instead of two, is this how it's supposed to > work? Yes that is normal the new ideapad_laptop rfkill switches will allow you to properly turn of your wifi / bluetooth radios via software settings (e.g. the gnome system menu). Regards, Hans (In reply to Hans de Goede from comment #15) Thanks, nice to know. Package kernel-4.1.3-200.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-4.1.3-200.fc22' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-12042/kernel-4.1.3-200.fc22 then log in and leave karma (feedback). kernel-4.1.3-100.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kernel-4.1.3-100.fc21 kernel-4.1.3-200.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. kernel-4.1.3-100.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |