[Kernel-packages] [Bug 1507618] Re: Potential raid0 data corruption when using trim
Thank you Joseph -- 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/1507618 Title: Potential raid0 data corruption when using trim Status in linux package in Ubuntu: Fix Released Status in linux source package in Vivid: Fix Released Status in linux source package in Wily: Fix Released Bug description: There's a scary issue with fstrim on raid0 and raid10 mdadm devices. It is fixed upstream in linux/4.1.5-1, linux/3.16.7-ckt17-1, but I can't find anything in the changelogs for ubuntu. Here's the links: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793326 http://www.spinics.net/lists/raid/msg49440.html I did my amateur analysis by extracting sources for current trusty kernel 3.13.0-65-generic and current trusty-lts-utopic 3.16.0-50-generic and looking at files referenced in patches from the Martin K. Petersen's email, and it appears that 3.16 already has this fix included, and 3.13 is a completely different code base, so it isn't clear whether it is affected or not. I've disabled fstrim in cron until I understand the situation better. Could someone knowledgeable chime in on the status of this on Ubuntu, specifically Trusty and after? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507618/+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 1507618] Re: Potential raid0 data corruption when using trim
I can't provide any apport files files due to the nature of the issue. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- 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/1507618 Title: Potential raid0 data corruption when using trim Status in linux package in Ubuntu: Confirmed Bug description: There's a scary issue with fstrim on raid0 and raid10 mdadm devices. It is fixed upstream in linux/4.1.5-1, linux/3.16.7-ckt17-1, but I can't find anything in the changelogs for ubuntu. Here's the links: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793326 http://www.spinics.net/lists/raid/msg49440.html I did my amateur analysis by extracting sources for current trusty kernel 3.13.0-65-generic and current trusty-lts-utopic 3.16.0-50-generic and looking at files referenced in patches from the Martin K. Petersen's email, and it appears that 3.16 already has this fix included, and 3.13 is a completely different code base, so it isn't clear whether it is affected or not. I've disabled fstrim in cron until I understand the situation better. Could someone knowledgeable chime in on the status of this on Ubuntu, specifically Trusty and after? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507618/+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 1507618] Re: Potential raid0 data corruption when using trim
** Package changed: ubuntu => linux-meta (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta in Ubuntu. https://bugs.launchpad.net/bugs/1507618 Title: Potential raid0 data corruption when using trim Status in linux-meta package in Ubuntu: New Bug description: There's a scary issue with fstrim on raid0 and raid10 mdadm devices. It is fixed upstream in linux/4.1.5-1, linux/3.16.7-ckt17-1, but I can't find anything in the changelogs for ubuntu. Here's the links: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793326 http://www.spinics.net/lists/raid/msg49440.html I did my amateur analysis by extracting sources for current trusty kernel 3.13.0-65-generic and current trusty-lts-utopic 3.16.0-50-generic and looking at files referenced in patches from the Martin K. Petersen's email, and it appears that 3.16 already has this fix included, and 3.13 is a completely different code base, so it isn't clear whether it is affected or not. I've disabled fstrim in cron until I understand the situation better. Could someone knowledgeable chime in on the status of this on Ubuntu, specifically Trusty and after? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1507618/+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 1389268] Re: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work
Reported to kernel linux-input mailing list. If there's anything else I can/should do, please let me know. http://www.spinics.net/lists/linux-input/msg34345.html -- 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/1389268 Title: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work Status in “linux” package in Ubuntu: Triaged Bug description: On my X1 Carbon laptop the wireless switch key doesn't work. It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. Nothing ever fires when I press all extra buttons including the wireless one: ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 input-events 7 /dev/input/event7 bustype : BUS_HOST vendor : 0x17aa product : 0x5054 version : 16641 name : ThinkPad Extra Buttons phys : thinkpad_acpi/input0 bits ev : EV_SYN EV_KEY EV_MSC EV_SW waiting for events timeout, quitting # acpi events fire for all extra buttons except the wireless one! root@x1:~# acpi_listen -t 100 ibm/hotkey LEN0068:00 0080 1105 ibm/hotkey LEN0068:00 0080 1106 ibm/hotkey LEN0068:00 0080 1108 ibm/hotkey LEN0068:00 0080 110a ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 video/switchmode VMOD 0080 ibm/hotkey LEN0068:00 0080 110e So, since nothing fires on both channels, it seems I can't manually bind the button to rfkill either. WORKAROUND: Add custom rule to /etc/acpi/events and bound handling to a different adaptive button that does generate a acpi event. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: linux-image-3.16.0-24-generic 3.16.0-24.32 ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4 Uname: Linux 3.16.0-24-generic x86_64 ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: sergei 2598 F pulseaudio /dev/snd/controlC1: sergei 2598 F pulseaudio CurrentDesktop: Unity Date: Tue Nov 4 10:01:26 2014 HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913 InstallationDate: Installed on 2014-11-03 (1 days ago) InstallationMedia: Ubuntu 14.10 Utopic Unicorn - Release amd64 (20141022.1) MachineType: LENOVO 20A8A0K5US ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.16.0-24-generic N/A linux-backports-modules-3.16.0-24-generic N/A linux-firmware 1.138 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/02/2014 dmi.bios.vendor: LENOVO dmi.bios.version: GRET40WW (1.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20A8A0K5US dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20A8A0K5US dmi.product.version: ThinkPad X1 Carbon 2nd dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1389268/+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 1389268] Re: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work
I am trying to get the extra information on the Lenovo X1 Carbon wireless switch bug, and I had followed your link to http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D and picked v3.18-rc2-utopic (seems like the latest). I've installed the kernel, it shows up as an option in grub but hangs while booting. I have full-disk encryption though dm_crypt as configured by Ubuntu installer, and I normally get the password prompt within a second from booting. If I select mainline kernel, it never gets to the password request part. Is there anything you can suggest? I've tried googling but nothing useful came up. -- 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/1389268 Title: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work Status in “linux” package in Ubuntu: Incomplete Bug description: On my X1 Carbon laptop the wireless switch key doesn't work. It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. Nothing ever fires when I press all extra buttons including the wireless one: ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 input-events 7 /dev/input/event7 bustype : BUS_HOST vendor : 0x17aa product : 0x5054 version : 16641 name : ThinkPad Extra Buttons phys : thinkpad_acpi/input0 bits ev : EV_SYN EV_KEY EV_MSC EV_SW waiting for events timeout, quitting # acpi events fire for all extra buttons except the wireless one! root@x1:~# acpi_listen -t 100 ibm/hotkey LEN0068:00 0080 1105 ibm/hotkey LEN0068:00 0080 1106 ibm/hotkey LEN0068:00 0080 1108 ibm/hotkey LEN0068:00 0080 110a ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 video/switchmode VMOD 0080 ibm/hotkey LEN0068:00 0080 110e So, since nothing fires on both channels, it seems I can't manually bind the button to rfkill either. WORKAROUND: Add custom rule to /etc/acpi/events and bound handling to a different adaptive button that does generate a acpi event. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: linux-image-3.16.0-24-generic 3.16.0-24.32 ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4 Uname: Linux 3.16.0-24-generic x86_64 ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: sergei 2598 F pulseaudio /dev/snd/controlC1: sergei 2598 F pulseaudio CurrentDesktop: Unity Date: Tue Nov 4 10:01:26 2014 HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913 InstallationDate: Installed on 2014-11-03 (1 days ago) InstallationMedia: Ubuntu 14.10 Utopic Unicorn - Release amd64 (20141022.1) MachineType: LENOVO 20A8A0K5US ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.16.0-24-generic N/A linux-backports-modules-3.16.0-24-generic N/A linux-firmware 1.138 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/02/2014 dmi.bios.vendor: LENOVO dmi.bios.version: GRET40WW (1.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20A8A0K5US dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20A8A0K5US dmi.product.version: ThinkPad X1 Carbon 2nd dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1389268/+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 1389268] Re: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work
There's no 3.18-rc3 build for 14.10, only for 15.04. Should I wait to RC3 to be built for my platform, or try the packages built for the next release? -- 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/1389268 Title: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work Status in “linux” package in Ubuntu: Incomplete Bug description: On my X1 Carbon laptop the wireless switch key doesn't work. It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. Nothing ever fires when I press all extra buttons including the wireless one: ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 input-events 7 /dev/input/event7 bustype : BUS_HOST vendor : 0x17aa product : 0x5054 version : 16641 name : ThinkPad Extra Buttons phys : thinkpad_acpi/input0 bits ev : EV_SYN EV_KEY EV_MSC EV_SW waiting for events timeout, quitting # acpi events fire for all extra buttons except the wireless one! root@x1:~# acpi_listen -t 100 ibm/hotkey LEN0068:00 0080 1105 ibm/hotkey LEN0068:00 0080 1106 ibm/hotkey LEN0068:00 0080 1108 ibm/hotkey LEN0068:00 0080 110a ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 video/switchmode VMOD 0080 ibm/hotkey LEN0068:00 0080 110e So, since nothing fires on both channels, it seems I can't manually bind the button to rfkill either. WORKAROUND: Add custom rule to /etc/acpi/events and bound handling to a different adaptive button that does generate a acpi event. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: linux-image-3.16.0-24-generic 3.16.0-24.32 ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4 Uname: Linux 3.16.0-24-generic x86_64 ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: sergei 2598 F pulseaudio /dev/snd/controlC1: sergei 2598 F pulseaudio CurrentDesktop: Unity Date: Tue Nov 4 10:01:26 2014 HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913 InstallationDate: Installed on 2014-11-03 (1 days ago) InstallationMedia: Ubuntu 14.10 Utopic Unicorn - Release amd64 (20141022.1) MachineType: LENOVO 20A8A0K5US ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.16.0-24-generic N/A linux-backports-modules-3.16.0-24-generic N/A linux-firmware 1.138 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/02/2014 dmi.bios.vendor: LENOVO dmi.bios.version: GRET40WW (1.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20A8A0K5US dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20A8A0K5US dmi.product.version: ThinkPad X1 Carbon 2nd dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1389268/+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 1389268] Re: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work
I've installed Vivid build of 3.18-rc3 and it booted, so I could verify that the issue still exists there. Hope this helps. ** Tags added: kernel-bug-exists-upstream kernel-bug-exists- upstream-3.18-rc3 ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- 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/1389268 Title: [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work Status in “linux” package in Ubuntu: Confirmed Bug description: On my X1 Carbon laptop the wireless switch key doesn't work. It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. Nothing ever fires when I press all extra buttons including the wireless one: ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 input-events 7 /dev/input/event7 bustype : BUS_HOST vendor : 0x17aa product : 0x5054 version : 16641 name : ThinkPad Extra Buttons phys : thinkpad_acpi/input0 bits ev : EV_SYN EV_KEY EV_MSC EV_SW waiting for events timeout, quitting # acpi events fire for all extra buttons except the wireless one! root@x1:~# acpi_listen -t 100 ibm/hotkey LEN0068:00 0080 1105 ibm/hotkey LEN0068:00 0080 1106 ibm/hotkey LEN0068:00 0080 1108 ibm/hotkey LEN0068:00 0080 110a ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 video/switchmode VMOD 0080 ibm/hotkey LEN0068:00 0080 110e So, since nothing fires on both channels, it seems I can't manually bind the button to rfkill either. WORKAROUND: Add custom rule to /etc/acpi/events and bound handling to a different adaptive button that does generate a acpi event. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: linux-image-3.16.0-24-generic 3.16.0-24.32 ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4 Uname: Linux 3.16.0-24-generic x86_64 ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: sergei 2598 F pulseaudio /dev/snd/controlC1: sergei 2598 F pulseaudio CurrentDesktop: Unity Date: Tue Nov 4 10:01:26 2014 HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913 InstallationDate: Installed on 2014-11-03 (1 days ago) InstallationMedia: Ubuntu 14.10 Utopic Unicorn - Release amd64 (20141022.1) MachineType: LENOVO 20A8A0K5US ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.16.0-24-generic N/A linux-backports-modules-3.16.0-24-generic N/A linux-firmware 1.138 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/02/2014 dmi.bios.vendor: LENOVO dmi.bios.version: GRET40WW (1.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20A8A0K5US dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20A8A0K5US dmi.product.version: ThinkPad X1 Carbon 2nd dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1389268/+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 1389268] [NEW] Thinkpad wireless switch key doesn't work
Public bug reported: I am experiencing the issue on X1 Carbon laptop, but it seems that the issue affects all Thinkpads. Here's a link to a similar report for a different model https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1310248 It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. root@x1:~# ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 # nothing ever fires when I press all extra buttons including the wireless one root@x1:~# input-events 7 /dev/input/event7 bustype : BUS_HOST vendor : 0x17aa product : 0x5054 version : 16641 name : ThinkPad Extra Buttons phys : thinkpad_acpi/input0 bits ev : EV_SYN EV_KEY EV_MSC EV_SW waiting for events timeout, quitting # acpi events fire for all extra buttons except the wireless one! root@x1:~# acpi_listen -t 100 ibm/hotkey LEN0068:00 0080 1105 ibm/hotkey LEN0068:00 0080 1106 ibm/hotkey LEN0068:00 0080 1108 ibm/hotkey LEN0068:00 0080 110a ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 video/switchmode VMOD 0080 ibm/hotkey LEN0068:00 0080 110e So, since nothing fires on both channels, it seems I can't manually bind the button to rfkill either. As temporary workaround I had added a custom rule to /etc/acpi/events and bound handling do a different adaptive button that does generate a acpi event. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: linux-image-3.16.0-24-generic 3.16.0-24.32 ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4 Uname: Linux 3.16.0-24-generic x86_64 ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: sergei 2598 F pulseaudio /dev/snd/controlC1: sergei 2598 F pulseaudio CurrentDesktop: Unity Date: Tue Nov 4 10:01:26 2014 HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913 InstallationDate: Installed on 2014-11-03 (1 days ago) InstallationMedia: Ubuntu 14.10 Utopic Unicorn - Release amd64 (20141022.1) MachineType: LENOVO 20A8A0K5US ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.16.0-24-generic N/A linux-backports-modules-3.16.0-24-generic N/A linux-firmware 1.138 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/02/2014 dmi.bios.vendor: LENOVO dmi.bios.version: GRET40WW (1.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20A8A0K5US dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20A8A0K5US dmi.product.version: ThinkPad X1 Carbon 2nd dmi.sys.vendor: LENOVO ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug utopic -- 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/1389268 Title: Thinkpad wireless switch key doesn't work Status in “linux” package in Ubuntu: New Bug description: I am experiencing the issue on X1 Carbon laptop, but it seems that the issue affects all Thinkpads. Here's a link to a similar report for a different model https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1310248 It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. root@x1:~# ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 # nothing ever fires when I press all extra buttons including the wireless one root@x1:~#
[Kernel-packages] [Bug 1310248] Re: [Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event
Posted a separate report at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1389268 -- 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/1310248 Title: [Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event Status in “linux” package in Ubuntu: Triaged Bug description: I use a customized acpi event script to disable bluetooth on my Thinkpad x220, if I toggle the hardware wifi switch (not Fn+F5): $ cat /etc/acpi/ibm-wireless-switch.sh #!/bin/sh test -f /usr/share/acpi-support/state-funcs || exit 0 # Find and toggle wireless of bluetooth devices on ThinkPads . /usr/share/acpi-support/state-funcs # disable bluetooth on wireless activate to save battery if isAnyWirelessPoweredOn; then # Wireless was turned on logger Wireless switch turned on: Disable bluetooth. echo disable /proc/acpi/ibm/bluetooth fi This used to work fine with Ubuntu 13.10, however it stopped working with 14.04. More precisely the switch doesnt generate an acpi event anymore. To check that I used acpi_listen. $ acpi_listen -t 10 # nothing happens here Using 14.04 with kernel version 3.11.0-19 from 13.10 the switch works fine again: $ acpi_listen -t 10 ibm/hotkey HKEY 0080 7000 Upstream URL: https://www.mail-archive.com/platform- driver-...@vger.kernel.org/msg05283.html --- ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: tobias 2256 F pulseaudio tobias 2324 F pulseaudio CurrentDesktop: KDE DistroRelease: Ubuntu 14.04 InstallationDate: Installed on 2013-03-24 (438 days ago) InstallationMedia: Kubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.1) Lsusb: Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 04f2:b217 Chicony Electronics Co., Ltd Lenovo Integrated Camera (0.3MP) Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: LENOVO 4291ZPK Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=9a62bd25-d065-4486-a18d-5a3f2a6c3473 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 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 Tags: trusty Uname: Linux 3.13.0-27-generic x86_64 UpgradeStatus: Upgraded to trusty on 2014-04-18 (48 days ago) UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo vboxusers _MarkForUpload: True dmi.bios.date: 07/18/2013 dmi.bios.vendor: LENOVO dmi.bios.version: 8DET69WW (1.39 ) dmi.board.asset.tag: Not Available dmi.board.name: 4291ZPK dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr8DET69WW(1.39):bd07/18/2013:svnLENOVO:pn4291ZPK:pvrThinkPadX220:rvnLENOVO:rn4291ZPK:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 4291ZPK dmi.product.version: ThinkPad X220 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1310248/+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 1310248] Re: [Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event
Came to this bug while searching on my the wireless toggle switch doesn't work on my Thinkpad X1 Carbon after a fresh Ubuntu 14.10 install. I understand some of the reasoning above, which seems to say, that it is not really an issue because the button press can be intercepted through other ways and dealt with then, but I want to say that is the only key that is not working out of the box, so it is really confusing, and just plain bad user experience. Even after reading the solution above, I can't get it to work on my laptop. I can use rfkill command for now, but, oh boy, it would be great to the key properly working. It appears that the code in charge of handling the X1 Carbon adaptive keyboard is here and rfkill handling is there: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c So, it's either my stock kernel doesn't have it, or something else is broken. Here's some info about your system. root@x1:~# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7 root@x1:~# uname -r 3.16.0-24-generic root@x1:~# ls /dev/input/by-path/platform-thinkpad_acpi-event -lh lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event - ../event7 # nothing ever fires when I press all extra buttons including the wireless one root@x1:~# input-events 7 /dev/input/event7 bustype : BUS_HOST vendor : 0x17aa product : 0x5054 version : 16641 name: ThinkPad Extra Buttons phys: thinkpad_acpi/input0 bits ev : EV_SYN EV_KEY EV_MSC EV_SW waiting for events timeout, quitting # acpi events fire for all extra buttons except the wireless one! root@x1:~# acpi_listen -t 100 ibm/hotkey LEN0068:00 0080 1105 ibm/hotkey LEN0068:00 0080 1106 ibm/hotkey LEN0068:00 0080 1108 ibm/hotkey LEN0068:00 0080 110a ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 ibm/hotkey LEN0068:00 0080 1101 video/switchmode VMOD 0080 ibm/hotkey LEN0068:00 0080 110e So, since nothing fires on both channels, it seems I can't manually bind the button to rfkill either. Please tell me what I can do to help. -- 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/1310248 Title: [Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event Status in “linux” package in Ubuntu: Triaged Bug description: I use a customized acpi event script to disable bluetooth on my Thinkpad x220, if I toggle the hardware wifi switch (not Fn+F5): $ cat /etc/acpi/ibm-wireless-switch.sh #!/bin/sh test -f /usr/share/acpi-support/state-funcs || exit 0 # Find and toggle wireless of bluetooth devices on ThinkPads . /usr/share/acpi-support/state-funcs # disable bluetooth on wireless activate to save battery if isAnyWirelessPoweredOn; then # Wireless was turned on logger Wireless switch turned on: Disable bluetooth. echo disable /proc/acpi/ibm/bluetooth fi This used to work fine with Ubuntu 13.10, however it stopped working with 14.04. More precisely the switch doesnt generate an acpi event anymore. To check that I used acpi_listen. $ acpi_listen -t 10 # nothing happens here Using 14.04 with kernel version 3.11.0-19 from 13.10 the switch works fine again: $ acpi_listen -t 10 ibm/hotkey HKEY 0080 7000 Upstream URL: https://www.mail-archive.com/platform- driver-...@vger.kernel.org/msg05283.html --- ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: tobias 2256 F pulseaudio tobias 2324 F pulseaudio CurrentDesktop: KDE DistroRelease: Ubuntu 14.04 InstallationDate: Installed on 2013-03-24 (438 days ago) InstallationMedia: Kubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.1) Lsusb: Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 04f2:b217 Chicony Electronics Co., Ltd Lenovo Integrated Camera (0.3MP) Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: LENOVO 4291ZPK Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=9a62bd25-d065-4486-a18d-5a3f2a6c3473 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 RelatedPackageVersions: linux-restricted-modules-3.13.0-27-generic N/A