Opened 15 years ago

Last modified 14 years ago

#55 new enhancement

Some keyboards do not support autorepeat

Reported by: Martin Decky Owned by:
Priority: minor Milestone:
Component: helenos/srv/kbd Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

Some keyboards (e.g. NS16550 on Sun Ultra 60) do not support autorepeat. Investigate whether this is a problem of the driver, controller or hardware.

Change History (4)

comment:1 by Jiri Svoboda, 15 years ago

Component: srv/kbd

comment:2 by Jiri Svoboda, 15 years ago

The current keyboard stack does not deal with auto-repeat. Any auto-repeat observed is implemented in hardware. If there are keyboards that do not support hardware auto-repeat, we will need to implement software auto-repeat in the generic keyboard driver.

There is even an option to cancel out HWAR on some keyboards and replace it with SWAR. This might be useful if the keyboard does not support setting of HWAR parameters or if the configuration is not flexible enough. Cancelling HWAR is possible on any keyboard that supports key press and release events. It is not possible to cancel HWAR on a serial terminal. (But it is possible to add SWAR on a serial terminal if the terminal does not implement HWAR).

comment:3 by Jiri Svoboda, 15 years ago

OK since a serial terminal does send key releases, even adding SWAR is not easy. We could have a special sequence to hold (and thus repeat) a key, but that would have rather limited practical use.

comment:4 by Jakub Jermář, 14 years ago

Type: taskenhancement
Note: See TracTickets for help on using tickets.