kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 156 forks source link

BeagleBone slots file location changed in Kernel 4.1+ #80

Open douglas-gibbons opened 7 years ago

douglas-gibbons commented 7 years ago

Kernel 4.1+ changed the name of the slots directory from: /sys/devices/bone_capemgr.*/slots to /sys/devices/platform/bone_capemgr/slots

The fix for me was a pattern change in lines 102 and 131 of embd/host/bbb/bbb.go

Let me know if you need a pr.