Similar Posts
Identifying unknown hardware a Pi running FreeBSD
I’ve been building FreeBSD-CURRENT images for my Pi, and I’ve noticed I have this: ugen0.5: <vendor 0x7392> at usbus0 So, it turns out I have one of these plugged in, and it seems likely that the unknown USB device is ugen0.5. So firstly, there is the question of “ugen”. You can read about it here….
Writing a FreeBSD loadable module
In preparation for writing a device driver, I thought I would firstly write a module. The resulting source code is here. Firstly the Makefile: SRCS+=bus_if.h device_if.h examplemodule.c KMOD=examplemodule .include <bsd.kmod.mk> The first line defines the sources. examplemodule.c is my module source. I needed to include bus_if.h and device_if.h since I’m writing my module…
A simple FreeBSD GPIO Example
I’ve been making FreeBSD-Current builds for my Raspberry Pi. Naturally I wanted to try out the GPIO support to find out just how simple it is to use. Here’s an example, and the full code is here. int main (int argc, char *argv[]) { char *device = “/dev/gpioc0”; int gpiofd = open(device, O_RDWR); if…
FreeBSD-10.1 Soekris r276913
There is a new build of FreeBSD 10.1 for Soekris here. The source tree revision is r276913.
Updated FreeBSD Wandboard Build
This build is for FreeBSD-11, Alpha 2. Binary image, and bootlog.
Time Machine backups using FreeBSD ZFS
In this blog article, I described a way to use Netatalk3 to do Time Machine backups on FreeBSD. This approach worked well, but it had some problems: The Time Machine backups are in every user’s home dir. That’s messy and there is the potential that they’ll accidentally delete the backup. If I put the backups…