NOTES
HACKS
DRUMS
ABOUT
NOTES
HACKS
DRUMS
ABOUT
  • Notes on Raspberry Pi USB Gadget Mode

    Dec 11, 2015
    • notebook
    • raspberry pi
    • kernel
    • otg
    • usb

    via raspberrypi/linux#884:

    Use the upstream dwc2 driver in gadget mode - this in theory “should work” but hasn’t really been tested in device mode. The hardware is similar to the type underneath the s3c_hsotg driver in upstream and there is an ongoing effort to consolidate both codebases. This would be the ideal solution if you just require device mode.

    Other useful threads:

    • dwc_otg can’t coexist with other USB drivers raspberrypi/linux#881
    • RPi zero Support for USB Gadget Mode (pi shows up as keyboard, disk, net, camera etc) raspberrypi/linux#1212
    read more →
  • Simple Let's Encrypt Instructions for nginx

    Dec 6, 2015
    • notebook
    • ssl
    • eff
    • nginx
    • let's encrypt

    Here are the steps I used to setup a new Let’s Encrypt certificate for nginx running on a Debian EC2 instance.

    read more →
  • Mosca MQTT Persistence Performance

    Dec 2, 2015
    • notebook
    • mqtt
    • node.js
    • redis
    • lua
    • adafruit io

    While quietly rolling out the public beta of Adafruit IO, we noticed some CPU spikes in our Node.js processes that handle MQTT. We currently use a slightly modified version of Mosca by @mcollina as our MQTT broker. It is a very solid package, but we seemed to be pushing the limits of Mosca’s Redis persistence module.

    read more →
« Newer Older »

©2019 Uniontown Laboratories