/dev/usb/kbd: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m →Write |
||
| Line 17: | Line 17: | ||
|- | |- | ||
| 00 00 00 00 80 | | 00 00 00 00 80 | ||
| Turn off keyboard | | Turn off keyboard LEDs. | ||
|- | |- | ||
| ?? ?? ?? ?? 00 | | ?? ?? ?? ?? 00 | ||
Revision as of 14:56, 23 March 2008
| This article is a stub. You can help WiiBrew by expanding it. |
Description
/dev/usb/kbd is the interface to the USB keyboard driver.
Reads, seeks and ioctlvs always fail. Writes are used to send commands. Ioctls are used to receive events.
Write
Writes are used the send commands to the driver. Most likely, this is to control keyboard LEDs. Writes are always 5 bytes in length.
| Write data | Function |
|---|---|
| 00 00 00 00 80 | Turn off keyboard LEDs. |
| ?? ?? ?? ?? 00 | Unknown |
| ?? ?? ?? ?? 00 | Unknown |
| ?? ?? ?? ?? 00 | Unknown |
| ?? ?? ?? ?? 00 | Unknown |
Ioctl
Ioctls can be send to the driver. All parameters are ignored. This appears to be for receiving keyboard events in the reply.