- Install patched `intelspi`
- Add `hint.spigen.0.at="spibus0"` to `/boot/device.hints`
- Boot on a MacBook with SPI input devices, use an external USB keyboard
- `kldload intelspi spigen`
- Try `spi -d r -c 256 -v`, observe all-zero output (not a timeout error!)
- Install [[ https://github.com/DankBSD/base/commit/ce415a48c5ad49bd3147055a0547b82eb8ccbbee | WIP topcase driver ]] (currently just toggles SPI on via ACPI), kldload it
- Try `spi -d r -c 256 -v` again, observe interesting data packets :)
- The "proper" speed for these devices is 8MHz, but even the default 10MHz works fine for me. Try changing speeds with `spi -s ...`.Currently: buildkernel installkernel from [[ https://github.com/DankBSD/base | here ]], Interestingly I've noticed that after going too low (e.g.boot on a MacBook with SPI inputs, 100KHz), going back up to 1MHz and up results in timeouts again.`kldload atopcase`
(The input driver will be submitted here too eventually, Fascinating.but it's a bit early right now)