I think I need some fresh documentation about modern keyboard controller...
I'm trying to change keyboard LEDs, but with usual method (writing 0edh to 60h) it works only in VMware, but nothing else...
suggestions ?
thanks
Keyboard driver...
Keyboard driver...
I Love Life because Life Loves Me!
Re: Keyboard driver...
Maybe other VM's don't actually simulate the keyboard LEDs?
Have you tried running it on actual hardware? Last time I checked (a while ago) what you're doing is correct.
Have you tried running it on actual hardware? Last time I checked (a while ago) what you're doing is correct.
Wait... What?
Re: Keyboard driver...
Do all USB keyboards still support changing the LEDs this way?
If a trainstation is where trains stop, what is a workstation ?
-
- Member
- Posts: 255
- Joined: Tue Jun 15, 2010 9:27 am
- Location: Flyover State, United States
- Contact:
Re: Keyboard driver...
Depending on your system and the emulator, the actual keyboard LEDs won't be changed.
For example, at the bottom of the GUI on Bochs, there are initially greyed out "NUM", "CAPS", and "SCRL". Setting the LEDs on the keyboard should change these, not the actual LEDs on your own keyboard. This is with the Win32 GUI for Bochs, I don't have a linux box with X installed since I only use it for development and number-crunching, so I don't know if the X GUI is the same. It is probably similar. I am not sure about the interface with other emulators. QEMU running under windows with the SDL interface doesn't have any indicators onscreen, and I don't have code in my OS for setting the keyboard LEDs right now so I'm not testing it.
For example, at the bottom of the GUI on Bochs, there are initially greyed out "NUM", "CAPS", and "SCRL". Setting the LEDs on the keyboard should change these, not the actual LEDs on your own keyboard. This is with the Win32 GUI for Bochs, I don't have a linux box with X installed since I only use it for development and number-crunching, so I don't know if the X GUI is the same. It is probably similar. I am not sure about the interface with other emulators. QEMU running under windows with the SDL interface doesn't have any indicators onscreen, and I don't have code in my OS for setting the keyboard LEDs right now so I'm not testing it.