1. A

    Apollo Lake SoC GPIO Driver

    Hello, I'm trying to control some LEDs in my PCB board which uses an Apollo Lake SoC, and is running FreeBSD 12.3 Release. So far the FreeBSD is running fine, and I'm happy with it. My next step is to manage or control some LEDs on the board where I have their address (Export Value) or GPIO...
  2. nactusberrilli

    Solved RP continuous GPIO pin reading (polling)

    I'm writing a little lib (wrapper) in NodeJS using basic gpioctl commands for the RP. Something like this: ... module.exports.toggle_led = function (pin_number, callback) { let err = new Error(); if (typeof (pin_number) != "number") { =
  3. A

    RPI3 one-wire GPIO pin

    Hi! I have RPI 3 and FreeBSD 12 installed on it. Unfortunatelly, there is no any dts file on kernel tree and I cannot define one-wire GPIO pin. Is it possible to define one-wire pi without recompilling kernel and dts\dtb files?
  4. Phishfry

    APU3 GPIO Details

    Got a APU3 from PCEngines directly. Testing the GPIO to see if they used the same GPIO chip and base address as the APU1C. I loaded the module and it looks good. Working GPIO on another amd64 platform. kldload nctgpio or /boot/loader.conf nctgpio_load="YES" root@APU3:~ # sysctl -a | grep 'gpio'...
  5. Phishfry

    One Wire Temp Sensor

    Been looking at tutorials and source for One Wire gpio and I am wondering if anybody else is using this work? I bought a dozen DS18B20 temp sensors to mess with. The source notes for /sys/dev/ow/owll_if.m has to be the most elaborate source documentation ever. Bravo Warner Losh
  6. Phishfry

    16 GPIO pins on the APU1

    Support was added to FreeBSD 11 for an x86 boards GPIO pins. PC Engines -APU1 using the Nuvoton NCT5104D with a driver named nctgpio.c I could not find instructions so here is what is needed: kldload nctgpio or nctgpio_load="YES" in /boot/loader.conf To check pin status: gpioctl -lv To set...
  7. Phishfry

    Baytrail GPIO

    Gonzo has added Baytrail GPIO support. This guy is truly a code master. This has been tested on the Turbot and should work with Intel Baytrail platforms that breakout the SOC GPIO's. This has truly elevated...
  8. aragats

    GPIO Interrupts handling (ARM)

    How to handle GPIO interrupts on BeagleBoard, Raspberry Pi etc. from the user space? That's under TODO at: although the page was edited 1.5 years ago.
  9. aragats

    ThinkPad LEDs

    Is it possible to control ThinkPad LEDs? I'm using FreeBSD 11.0-CURRENT on ThinkPad T430. The driver acpi_ibm is supposed to provide such functionality. Under /dev/led I have: ahci0.0.fault ahci0.0.locate ahci0.1.fault ahci0.1.locate ahci0.4.fault ahci0.4.locate em0 thinklight I have no idea...