gpio

  1. 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") { err.name = errlist.ERR818.name...
  2. 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?
  3. 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'...
  4. 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
  5. 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...
  6. Phishfry

    Baytrail GPIO

    Gonzo has added Baytrail GPIO support. This guy is truly a code master. https://svnweb.freebsd.org/base/head/sys/dev/gpio/bytgpio.c?view=markup&pathrev=308295 This has been tested on the Turbot and should work with Intel Baytrail platforms that breakout the SOC GPIO's. This has truly elevated...
  7. aragats

    GPIO Interrupts handling (ARM)

    How to handle GPIO interrupts on BeagleBoard, Raspberry Pi etc. from the user space? That's under TODO at: https://wiki.freebsd.org/FreeBSD/GPIO although the page was edited 1.5 years ago.
  8. 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...
Top