Keyboard driver...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
davispuh
Posts: 9
Joined: Sat Oct 15, 2011 5:55 am

Keyboard driver...

Post by davispuh »

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 :)
I Love Life because Life Loves Me!
Yargh
Member
Member
Posts: 56
Joined: Sat Jun 12, 2010 9:04 pm
Location: Somewhere else.

Re: Keyboard driver...

Post by Yargh »

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.
Wait... What?
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: Keyboard driver...

Post by gerryg400 »

Do all USB keyboards still support changing the LEDs this way?
If a trainstation is where trains stop, what is a workstation ?
Tosi
Member
Member
Posts: 255
Joined: Tue Jun 15, 2010 9:27 am
Location: Flyover State, United States
Contact:

Re: Keyboard driver...

Post by Tosi »

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.
Post Reply