#StackBounty: #laptop #wakeup #lid #kvm-switch How to use a key press to wake a suspended laptop when using a KVM switch?

Bounty: 50

I’m using a wireless Logitech Keyboard with a Logitech Unifying Receiver plugged into a KVM switch. I created a systemd suspend shortcut to suspend the laptop, a Lenovo IdeaPad. The laptop’s lid is always closed. I’m unable to wake the Lenovo from suspend unless I lift the laptop’s lid. Once the lid is lifted, the laptop wakes. I want to be able to wake the laptop without having to lift the lid. I’m not sure how to do this.

I tried two things, neither worked. First, I enabled the wakeup file for the Logitech Unifying Receiver (proc/acpi/wakeup). It did indeed wake the laptop when I used the keyboard. The problem was that the laptop woke within about five minutes without any input from me. No activity from the keyboard or anything else. Second, I tried the fix described at How do I get a wireless USB keyboard to to wake Ubuntu 13.10 from suspend?
Same problem as the first — the laptop wakes at unpredictable times, seemingly on its own.

When I look at devices using lsinput, I can see the Logitech keyboard. It’s given the physical address usb-0000:00:14.0-3.1.1:1. When I look at proc/acpi/wakeup, I see pci:0000:00:14.0. There is no 3.1.1 extension. If I look at /sys/bus/usb/devices/1-3.1.1, I see it’s the Logitech Unifying Receiver.

Here is the result of cat syslog during a wake event:
syslog of laptop waking up

How do I put all this together to wake with keyboard input, but to suppress other wake events?


Get this bounty!!!

#StackBounty: #suspend #laptop #lid Laptop automatically suspending after lid closed and reopened

Bounty: 100

My current kernel version

Linux xorist-Blade-Stealth 4.18.0-041800-generic #201808122131 SMP Sun Aug 12 21:33:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

The issue I’m having

First I feel it’s important to note that I am working with a freshly installed version of Ubuntu, the only thing I’ve done to it was update the kernel. This update to the kernel could NOT be directly related to the issue I’m having because it existed prior to the update.

Whenever I boot up my laptop it will work perfectly fine until I close the lid, wait for it to suspend, reopen it and let it wake back up. After I have done this process and it’s in the normal awakened state, about 15-30 seconds will pass before it automatically suspends it’s self. If I press the power button to wake it back up and log in again, it will continue to automatically suspend it’s self after about the same period of 15-30 seconds. This problem persists until I completely reboot my laptop.

I’ve attempted all of the answers under this post, but none helped.

Does anyone have any idea how I can fix this issue?


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!

#StackBounty: #sound #pulseaudio #laptop #alsa #hda-intel HDAJackRetask gives new audio settings in alsamixer, but they don't work

Bounty: 50

  1. Problem(s):
    • The subwoofer does not work on Lenovo Y720 on Ubuntu 18.04, so I have
      changed some pins in HDAJackRetask. I tried over 30 combinations,
      most of them gave me the same output, so here is what I found the
      best output with the most settings.

enter image description here

  1. What information I have collected from HDAJackRetask:
    • LFE and surround are two new settings which i did not have before.
      The problem is however, that they don’t seem to do anything, I can’t
      even adjust the LFE as it has no slider and the surround adjustment
      does no effect at all.
    • In the screenshot there is also the pin "0x14" which is the
      internal speaker. If I override that to "Internal speaker (LFE)" or
      "Internal speaker (Back)" I will suddenly get a lot more sound
      profiles in the Ubuntu settings, 2.1, 4.0, 5.0, 5.1 etc. but no
      matter what I choose it will result in no sound at all, so I stopped
      overriding that.
    • With the HDAJackRetask configuration above, I get two profiles in the
      Ubuntu sound settings. One called "Analog Stereo Output" (which is
      my standard) and "Analog Surroind 4.0 Output". Both works.
    • After reading several posts about this problem and tracking the bug
      on launchpad, it seems that 0x17 is the subwoofer, but turning it on still does nothing.
  2. List of everything I have tried:
    • HDAJackRetask: With the description above.

    • Ubuntu settings: On a fresh install there is only one kind of ouput speakers, which is analog built in, so there is nothing to look up in settings.

    • File changes: I added: load-module module-combine channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
      at the end of /etc/pulse/default.pa and edited a line in /etc/pulse/daemon.conf from "enable-lfe-remixing: no" to "enable-lfe-remixing: yes". Please note that by doing this I actually got a subwoofer sound setting under settings, but it does not do anything, there is no difference in sound when it’s on or off.

    • GitHub Lenovo Y50 script: https://github.com/dragosprju/y50-subwoofer-linux-enabler without any luck too.

    • HDA Analyzer: I tried disabling power saver on the pins, look here for more: Lenovo Y50 Subwoofer does no work with Ubuntu 14.04.2 LTS

  3. The bug can be found at: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1553685


Get this bounty!!!