-
-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
Console + HID Listen no longer works #726
Comments
Do you have any idea of what version you were using before it stopped working? |
It was before the keyboard -> keyboards change. |
Specifically, the behavior of HID Listen was that it used to show the following...
Now it is stuck in...
I suspect we killed something in the way the device connects to HID Listen. |
Oh, that's a long time ago. So it's really hard to guess which changelist it could be. But my initial suspect would be #677, the addition of a virtual serial port, which changes the USB descriptors. |
#536 didn't work. I am still trying to look backwards. I am running into problems because some of the commits I am trying to checkout return a Edit: Look at #422 and see if that is something I should be able to check with |
I think that pull request was made during the time when, pull requests were squashed. So you need to checkout the actual commit a69d002 |
FWIW, console and hid_listen work for me on the ErgoDox EZ, with master as of last night, so the evil PR may not be the root cause. |
Hmm... Did something change to make it so that console had to be enabled in order for hid listen to connect? In my last working build of ArrowPad (that I am using to track down the cause of this issue), I had console disabled but still got hid_listen to connect. Also, can someone take a look at my Planck keymap (pvc) to see if there is a smoking gun? I turned off audio and turned on console in my local keymap makefile. That should be all I need for debug, right? |
The ArrowPad enables the console by default. But the keymaps 21 and 24 turns it off. There might also have been some bugs in the make system that made it not disabling even if it was requested. As far as I know the console have always been required. I don't see anything wrong with your Planck keymap. |
@algernon I could try loading your build onto my Planck just to see if I can get a connection, I don't care if the keys don't work. |
Not sure that'd work, to be honest. |
Here are some more findings. I am on the current branch. If I run If I run If I change the console enabled line in my makefile for pad_24 from no to yes and run If I add
I still get no console on pad_24. |
It appears to be related to defines. I was able to get console out on pad_24 with the following config.h...
Incidentally, I wonder if this is an issue related to #725. |
@fredizzimo It may be a descriptor problem. I confirmed that the console code was being included. I also saw that in the Windows Device Manager, an unknown mouse was being detected... That matches the console device descriptor.
I am completely in the dark regarding USB beyond PID and VID, so I am not sure how much help I can be. :( |
And... Solved. The issue was that the USB descriptors changed enough to require a complete uninstall of the USB device. Previously, I could get away with removing ghosted/non-present keyboards, but apparently this was not enough. 1, Open Device Manager. This isn't the first time I've been burned by this, sadly enough. You'd think I would have learned. |
* Alternative approach to font-sizing This approach uses CSS Custom Properties. I recently discovered you can use this dynamically by injecting them as styles in the parent div overriding any defaults. - use a newer css technology to avoid adding a style per key - see https://developer.mozilla.org/en-US/docs/Web/CSS/--* Apply styles to all keymaps * change default keySize to 0.85 (#12) Thank you! Co-authored-by: James Young <[email protected]>
I have enabled console out via my makefile, have made sure that no_debug and no_print are not defined, and have started hid_listen.exe. I no longer see my keyboard connecting with hid_listen.
Older builds appear to work fine.
The text was updated successfully, but these errors were encountered: