DomiStyle / docker-idrac6

iDRAC 6 web interface and VNC proxy
https://hub.docker.com/r/domistyle/idrac6/
MIT License
780 stars 144 forks source link

Incorporate keycode fixes #11

Closed maedoc closed 5 years ago

maedoc commented 5 years ago

The arrow keys don't work (for me) which is pretty essential to navigating the BIOS, for example. It seems there's a nice fix over here, and it could be nice to build that into this image. I have tested this fix, and it appears to work correctly. It appears sufficient to just compile the C file and LD_PRELOAD it in the idrac wrapper script when launching java.

DomiStyle commented 5 years ago

For some reason my arrow keys work fine without the fix but stop working with the fix. What keyboard layout do you use?

If you need that fix in order for the arrow keys to work I can include it as an optional fix with environment variables.

maedoc commented 5 years ago

english US, maybe your idracs are older/newer than mine? the env var is a good idea.

DomiStyle commented 5 years ago

maybe your idracs are older/newer than mine?

Maybe, let's check.

I'm running mine for two R710s and two R610s.

Version of the virtual console, taken from Help -> About:

From the web interface:

I use the german keyboard layout (QWERTZ).

Will include it as an optional fix that can be toggled with an environment variable in the next version.

maedoc commented 5 years ago

I've R510s w/ iDRAC6 Virtual Console 1.5 (build 1.0.0.78), maybe I should look for a firmware update.

Thanks, by the way, for building this, it's super handy.

DomiStyle commented 5 years ago

Just pushed your changes to master, you can activate them by setting IDRAC_KEYCODE_HACK. Let me know if that works for you.

Thanks, by the way, for building this, it's super handy.

You're welcome. Thanks for your contribution.

maedoc commented 5 years ago

Great, thanks for the explanation. I’ll try this at the next chance.

kategray commented 4 years ago

Keycode hack fixes things for me. Thank you.