Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sleep multimedia button doesn't work #276

Closed
w1ldptr opened this issue Feb 17, 2018 · 7 comments
Closed

Sleep multimedia button doesn't work #276

w1ldptr opened this issue Feb 17, 2018 · 7 comments
Assignees
Milestone

Comments

@w1ldptr
Copy link

w1ldptr commented Feb 17, 2018

  • Device:
    K-Type (Massdrop November 2017)

  • Firmware Origin:
    web configurator

  • OS:
    Windows 10

  • Version:
    b1dc831

  • Reproduction Steps:

  1. Configure f2+Backspace to 'Sleep'
            "code": "0x1F",
            "x": 52,
            "y": 6,
            "w": 8,
            "h": 4,
            "layers": {
                "0": {
                    "key": "BACKSPACE",
                    "label": "BKSP"
                },
                "1": {
                    "key": "DELETE",
                    "label": "DEL"
                },
                "2": {
                    "key": "SYS:SLEEP",
                    "label": "SLEEP"
                }
            }
        }
  1. Press f2+Backspace.
  • Resulting Issue:
    Computer doesn't go to sleep, keyviewer doesn't register any keypresses.
    Here is my dz60 keymap and KC_SLEP does work on same machine.
@haata
Copy link
Member

haata commented Mar 15, 2018

Would it be possible to try CONS:SLEEP instead?
The custom KLL would be:

U"Backspace" : CONS"Sleep";

It may be that Windows 10 doesn't like SYS:SLEEP anymore.

@keybeejeebee
Copy link

not getting any response on that either (win 10). Just double checking that it's CON"Sleep" and not CONS:Sleep as you have written above?

@haata
Copy link
Member

haata commented Mar 15, 2018

I'll fire up a Windows box this weekend to test this.

@PandorasFox
Copy link

PandorasFox commented Aug 22, 2018

The SYS:POWER, SYS:SLEEP, and SYS:WAKEUP keys don't do anything on windows - I'm unsure of exactly why.

SYS:WAKEUP does correctly send XF86WakeUp to my linux rig, but doesn't do anything when the PC is asleep since the entire keyboard fails to wake my desktop.

I'm using the version off the configurator page at this commit, which includes this commit fixing wakeup stuff so I'm unsure exactly what the problem(s) is/are.

It seems that they (mostly) work on Linux, and that Windows doesn't like to behave. That seems about par for the course, I guess.

edit: forgot to mention that this is with my NightFox.

@haata haata self-assigned this Feb 13, 2019
@haata haata added this to the v0.5.5 milestone Feb 13, 2019
@Mkenney11
Copy link

I am also not able to use the sleep key in the configurator to work.
Device: Kira (Kickstarter 2018)
Version: 0.5.4
OS: Windows 10 vs 1803

haata added a commit that referenced this issue Feb 18, 2019
- Both the HID test program and MS Windows seem to be very fragile when
it comes to media key USB HID descriptors
- Had to refer back to PJRC's KEYMEDIA interface to compare what Paul
had set
- Many of the changes don't seem to have any real effect in the
descriptor itself (Linux just kept working regardless)
- Had to increase the descriptor field (Logical Maximum) to 16-bits in
two places in order to appease the HID test program (and MS Windows)
even though the value was well within the bounds

This should fix:
- Issue #188
- Issue #276
- Issue #324
- Issue #333
@haata
Copy link
Member

haata commented Feb 18, 2019

Should be fixed in the upcoming v0.5.5

@haata haata closed this as completed Feb 18, 2019
@haata
Copy link
Member

haata commented Mar 17, 2019

If you'd like to verify, you can try the beta: https://github.com/kiibohd/controller/releases/tag/v0.5.5-beta

Download the K-Type bin file and use QuickFlash to load the firmware.
https://kiibohd.github.io/wiki/#/Configurator/Quickflash

smasher816 pushed a commit to smasher816/controller that referenced this issue Mar 24, 2019
- Both the HID test program and MS Windows seem to be very fragile when
it comes to media key USB HID descriptors
- Had to refer back to PJRC's KEYMEDIA interface to compare what Paul
had set
- Many of the changes don't seem to have any real effect in the
descriptor itself (Linux just kept working regardless)
- Had to increase the descriptor field (Logical Maximum) to 16-bits in
two places in order to appease the HID test program (and MS Windows)
even though the value was well within the bounds

This should fix:
- Issue kiibohd#188
- Issue kiibohd#276
- Issue kiibohd#324
- Issue kiibohd#333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants