Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been able to use the modified System application on my own firefoxos-based boards. However, for GPIO I have used a background process based on NodeJS (which exposes the ports using a REST-api). Getting GPIO working on some phoneboards would still prove a challenge as mostly they do not have these easily exposed.


No, not super easy, but not impossible either. http://ee.telenor.io/gonzo/hardware/2015/02/10/gpio.html


... of the GPIO on the SoC, you only have some of the exposed buttons a device might have. Far from ideal... also, at the moment FirefoxOS itself does not have a notion of GPIO as a WebAPI. But great to see this, nice article.


Correct, but they're exposed over file descriptors, and I added http://janos.io/api-reference/fs.html to talk to them :-).




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: