OnionIoT / Onion-Docs

Documentation for all things Onion
https://docs.onion.io
GNU General Public License v3.0
112 stars 65 forks source link

Expansion-Dock.md Inaccurate & expled segfaults #26

Closed pjobson closed 7 years ago

pjobson commented 7 years ago

According to Expansion-Dock.md you can use expled to change the LED color on the board. You can't actually do anything with it.

Various tries, for all the LED remained blue. If you put a 00 as a value the program segfaults.

root@Omega-ADBD:~# expled 0xf21133
Setting LEDs to: f21133
Duty: 6 94 80
root@Omega-ADBD:~# expled 0xff1133
Setting LEDs to: ff1133
Duty: 0 94 80
root@Omega-ADBD:~# expled 0xff0000
Setting LEDs to: ff0000
Duty: 0 100 100
Segmentation fault
Segmentation fault
root@Omega-ADBD:~# expled 0x00ff00
Setting LEDs to: 00ff00
Duty: 100 0 100
Segmentation fault
Segmentation fault
root@Omega-ADBD:~# expled 0x0000ff
Setting LEDs to: 0000ff
Duty: 100 100 0
Segmentation fault
Segmentation fault
greenbreakfast commented 7 years ago

Yep, expled currently doesn't work since it relies on fast-gpio, this is listed as one of the known issues in the firmware: https://docs.onion.io/omega2-docs/known-firmware-issues.html

greenbreakfast commented 7 years ago

This is now fixed, please update your firmware

(fix is reflected at: https://docs.onion.io/omega2-docs/known-firmware-issues.html)