These are chat archives for nebrius/raspi-io

21st
Apr 2017
Bryan Hughes
@nebrius
Apr 21 2017 07:09
Just a heads up, Raspi IO is broken right now. I’m kinda stumped why, but I’ll keep digging: nebrius/raspi-io#91
Luis Montes
@monteslu
Apr 21 2017 07:10
Pigpio doesn't need root right?
Seems like it could be an improvement
Bryan Hughes
@nebrius
Apr 21 2017 07:10
I’m unsure, but if so, that would be awesome
Even if that’s not the case, switching should make all of the raspi-* modules pure JavaScript, instead of the current mix of JavaScript and C++ (technically pigpio has a build step still, but it nonetheless reduces the number of builds)
Luis Montes
@monteslu
Apr 21 2017 07:15
Sounds fantastic. Though I have no idea the effort :)
Bryan Hughes
@nebrius
Apr 21 2017 07:17
Hopefully not much? raspi-gpio is one of the simplest of the bunch, and I can collapse raspi-pwm and raspi-soft-pwm into a single module, with raspi-soft-pwm basically being a drop-in replacement
Those are the only two that depend on Wiring Pi
(Wiring Pi is the thing that’s breaking…or how I’m using it…or I dunno)
Luis Montes
@monteslu
Apr 21 2017 07:21
Cool. I'll help test when you get something
Bryan Hughes
@nebrius
Apr 21 2017 07:22
Thanks, I’ll be sure to let you know :)
Brian Cooke
@fivdi
Apr 21 2017 13:44
pigpio requires root privileges to access the hardware required for DMA bases PWM and servo pulses.
Luis Montes
@monteslu
Apr 21 2017 13:48
Node-red had a pigpio based node that I thought didn't require root. I'll dig into that to see what they're doing
Brian Cooke
@fivdi
Apr 21 2017 14:00
They're talking to the pigpiod deamon and the deamon has the root privileges. The pigpio JavaScript package uses the pigpio C library directly.
Luis Montes
@monteslu
Apr 21 2017 14:02
Ahhh