History log of /openbsd/sys/dev/usb/ukbd.c (Results 1 – 25 of 90)
Revision Date Author Comments
# 81508fe3 23-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes; ok mpi@


# 39fe8e22 05-Dec-2023 miod <miod@openbsd.org>

Add more devices which may attach ukbd (and thus wskbd) but should never be
considered as console keyboards.


# 80ce14bc 04-Oct-2022 miod <miod@openbsd.org>

Repair Apple-specific translation support broken by mistake in 1.88; reported
by Leonardo Moreno


# 6bd2bf21 16-Sep-2022 robert <robert@openbsd.org>

move most of the key combination translation code out of ukbd(4)
to hidkbd so that it can be re-used by apldc(4) and aplhidev(4) as well

this also adds support for apple fn key combinations to aplhi

move most of the key combination translation code out of ukbd(4)
to hidkbd so that it can be re-used by apldc(4) and aplhidev(4) as well

this also adds support for apple fn key combinations to aplhidev(4)

ok miod@

show more ...


# 4b1a56af 09-Jan-2022 jsg <jsg@openbsd.org>

spelling
feedback and ok tb@ jmc@ ok ratchov@


# 36b6d2a9 22-Nov-2021 anton <anton@openbsd.org>

Add missing claim multiple report ids conditionals to uhidev drivers.


# 6cdbbe9b 12-Sep-2021 anton <anton@openbsd.org>

Revert recent uhidev report size changes. It's reported to break fido devices
for as of now unknown reasons.


# adb06565 10-Sep-2021 anton <anton@openbsd.org>

Instead of letting uhidev drivers get the report sizes, do it once in
uhidev and pass the same sizes as part of the attach arguments. Makes
the uhidev drivers a bit less repetitive.

It might look te

Instead of letting uhidev drivers get the report sizes, do it once in
uhidev and pass the same sizes as part of the attach arguments. Makes
the uhidev drivers a bit less repetitive.

It might look tempting to let uhidev assign the sizes after a driver has
attached, removing the need to repeat this logic in each driver. This
does however not work since the input size must be known while calling
uhidev_open() in order to open the interrupt pipe; and uhidev_open() is
called from several attach routines.

Note that this change only works and applies to when attaching to a
single report ID.

ok jcs@

show more ...


# a007768d 29-Jan-2021 sthen <sthen@openbsd.org>

update some usb.org URLs following reorganisation, add a new one for upd
partly from Alessandro Ricci


# 028993a7 02-Nov-2020 tobhe <tobhe@openbsd.org>

Enable brightness keys on powerbooks where the keyboard attaches as ukbd(4).

ok kn@


# d8c30bcb 28-Oct-2020 kettenis <kettenis@openbsd.org>

Apple Geyser3 keyboards need munging as well. Reported by Mathius Schocker.

ok tohe@, deraadt@


# 0eaeb466 23-Aug-2020 mglocker <mglocker@openbsd.org>

uhidev(4) does apply the SET_IDLE request to all its child drivers
today. This doesn't seem to be right, since SET_IDLE limits the
reporting frequency for interrupt IN endpoints, normally only requi

uhidev(4) does apply the SET_IDLE request to all its child drivers
today. This doesn't seem to be right, since SET_IDLE limits the
reporting frequency for interrupt IN endpoints, normally only required
on keyboard and mouse-like input devices. We noticed recently that
other device types, like e.g. the Cyrus soundKey uaudio(4), will stall
after the SET_IDLE request has been issued.

Therefore we move the SET_IDLE request only to the uhidev(4) child
drivers which seem to require this request. Those we have identified
to be; ukbd(4), ums(4), umstc(4), umt(4), utpms(4), and uwacom(4).

Suggested and ok mpi@

show more ...


# caf8c712 12-May-2017 mpi <mpi@openbsd.org>

Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4)
use it.

Instead of defering every input of a USB console keyboard to a timeout
via a queue of one element, only differ entering

Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4)
use it.

Instead of defering every input of a USB console keyboard to a timeout
via a queue of one element, only differ entering ddb(4) once a matching
control sequenece has been typed.

This prevent loosing inputs when a USB console keyboard is "too fast".

Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski.

ok stsp@, dlg@

show more ...


# a1b81bf1 11-Mar-2017 mpi <mpi@openbsd.org>

Introduce a new knob to force the first USB keyboard as console input.

By setting "machdep.forceukbd=1" you can now use your USB keyboard in
ddb(4) even if your BIOS emulates a pckbd(4).

ok tom@, k

Introduce a new knob to force the first USB keyboard as console input.

By setting "machdep.forceukbd=1" you can now use your USB keyboard in
ddb(4) even if your BIOS emulates a pckbd(4).

ok tom@, kettenis@, deraadt@

show more ...


# caf59bf3 12-Jan-2016 jcs <jcs@openbsd.org>

properly initialize quirks before sending them to hid layer, broken
during hid abstraction

problem noticed and fix tested by abieber


# 6238f091 09-Jan-2016 jcs <jcs@openbsd.org>

revert manual additions of hid.h now that usbhid.h brings it in


# 8a83145e 08-Jan-2016 jcs <jcs@openbsd.org>

Move HID support files out of dev/usb into new dev/hid directory

These files aren't USB-specific and were used by the previous
Bluetooth implementation, and will be used by the upcoming
HID-over-i2C

Move HID support files out of dev/usb into new dev/hid directory

These files aren't USB-specific and were used by the previous
Bluetooth implementation, and will be used by the upcoming
HID-over-i2C implementation

ok deraadt
previous version ok kettenis and mpi

show more ...


# 53dd8b21 25-Dec-2015 jung <jung@openbsd.org>

enable iso keyboard munge fix for macbookair6,2

ok jcs


# 1b60efe4 09-Dec-2015 jung <jung@openbsd.org>

cleanup macbook air iso keyboard support
also some KNF and whitespace cleanup while here

initial diff from William Orr with some tweaks by me

ok jcs mpi


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# ca43f6aa 19-Jan-2015 miod <miod@openbsd.org>

`wellspring' Apple keyboards found on Macbook Air need slightly different
processing for Fn-key chords. From William Orr <will@worrbase.com>


# e6a02383 11-Dec-2014 mpi <mpi@openbsd.org>

Change uhidev(4) set/get report functions in various way.

Always pass the parent uhidev(4) descriptor corresponding to the single
USB device with multiple reportIDs instead of a child.

Make uhidev_

Change uhidev(4) set/get report functions in various way.

Always pass the parent uhidev(4) descriptor corresponding to the single
USB device with multiple reportIDs instead of a child.

Make uhidev_get_report() aware of non NUL reportID by prepending a byte
to the given buffer, just like uhidev_set_report{,async}() already do.

Return the number of bytes written or read upon success and -1 otherwise.
This allow callers to deal with short reads without having do mess with
xfer error codes madness.

Reviewed and tested by David Higgs.

show more ...


# 4aea176b 21-Aug-2014 mpi <mpi@openbsd.org>

Now that DVACT_DEACTIVATE is propagated to the children of a device when
a driver does not implement a specific *_activate() handler and that our
USB stack sets the dying flag before detaching a devi

Now that DVACT_DEACTIVATE is propagated to the children of a device when
a driver does not implement a specific *_activate() handler and that our
USB stack sets the dying flag before detaching a device, these specific
handlers can die.

show more ...


# 132b9f16 12-May-2014 mpi <mpi@openbsd.org>

Backport FreeBSD's HID parser in order to properly parse `moderm'
input device descriptors, notably if they include an Item with an
Usage array (Min-Max range) and others single Usage elements.

Test

Backport FreeBSD's HID parser in order to properly parse `moderm'
input device descriptors, notably if they include an Item with an
Usage array (Min-Max range) and others single Usage elements.

Tested by many, thanks! ok andre@

show more ...


# a6e2b4c3 27-Apr-2014 mpi <mpi@openbsd.org>

Do not let the bluetooth HID device, present in Apple machines with USB,
grab the console.

This makes ddb(4) usable with any simple wired USB keyboard on G3/G4
machines that do not have adb(4) input

Do not let the bluetooth HID device, present in Apple machines with USB,
grab the console.

This makes ddb(4) usable with any simple wired USB keyboard on G3/G4
machines that do not have adb(4) input devices, on G5s and certainly on
some MacBooks too.

ok andre@, miod@

show more ...


1234