USB Keyboard Boot Protocol [solved]
Posted: Wed Jun 13, 2007 12:32 am
Hello all,
I'm trying to make an updated version of my C64 USB keyboard, and decided I want to try and implement the boot protocol (thereby allowing the keyboard to be used by the BIOS before the OS is started).
It seems I will need to use the standard report descriptor (instead of my slightly hacked one). Also, I apparently need to support the SET_PROTOCOL and GET_PROTOCOL HID requests. I assume I can just do this in usbFunctionSetup(), and if I my report descriptor conforms to the boot protocol, I wouldn't need to handle it in any special way (since both protocols would be identical).
How do I handle the 1 byte OUTPUT-report (Setting the status of the LEDs)? In which function should this be handled?
Are there any other things I need to be aware of when trying to convert my device to support the boot protocol?
Thanks in advance
I'm trying to make an updated version of my C64 USB keyboard, and decided I want to try and implement the boot protocol (thereby allowing the keyboard to be used by the BIOS before the OS is started).
It seems I will need to use the standard report descriptor (instead of my slightly hacked one). Also, I apparently need to support the SET_PROTOCOL and GET_PROTOCOL HID requests. I assume I can just do this in usbFunctionSetup(), and if I my report descriptor conforms to the boot protocol, I wouldn't need to handle it in any special way (since both protocols would be identical).
How do I handle the 1 byte OUTPUT-report (Setting the status of the LEDs)? In which function should this be handled?
Are there any other things I need to be aware of when trying to convert my device to support the boot protocol?
Thanks in advance