I have a MacBook Pro (15-inch, 2017) and I want to run FreeBSD on it natively. But the built-in keyboard, trackpad and Touch Bar do not work. External keyboards and mice attached via USB work.
So I want to write a driver for the keyboard first; I will write the drivers for the rest afterwards. Linux kernel 5.3 has drivers for newer keyboards and trackpads but not for the Touch Bar.
kernel/git/torvalds/linux.git - Linux kernel source tree
I am reading Part II. Device Drivers from FreeBSD Architecture Handbook. I have listed the hardware with
The result of
I want to know if writing a driver for the hardware without documentation could damage the hardware, as I am using my work computer. Also please suggest me what I should read further to write FreeBSD drivers.
So I want to write a driver for the keyboard first; I will write the drivers for the rest afterwards. Linux kernel 5.3 has drivers for newer keyboards and trackpads but not for the Touch Bar.
kernel/git/torvalds/linux.git - Linux kernel source tree
I am reading Part II. Device Drivers from FreeBSD Architecture Handbook. I have listed the hardware with
ioreg
command from macOS.The result of
ioreg -flir -n SPI1
is attached.I want to know if writing a driver for the hardware without documentation could damage the hardware, as I am using my work computer. Also please suggest me what I should read further to write FreeBSD drivers.