cdsteinkuehler / beaglebone-universal-io

Device tree overlay and support scripts for using most available hardware I/O on the BeagleBone without editing dts files or rebuilding the kernel
GNU General Public License v2.0
127 stars 54 forks source link

kernel 4.1 check is incorrect, breaks config-pin #33

Closed plauria closed 9 years ago

plauria commented 9 years ago

Hi guys, 2 days ago there was a commit that checked for kernel 4.1; the commit is " adapt to kernel (4.1.x) changes..." which simply checks for the existance of /sys/devices/platform/. This is not correct, because this directory exists on 3.8.13-bone47. Thus config-pin is currently broken on non-4.1 kernels, giving a spurious "pinmux file not found" error when you try to change a pin's function. Commenting out the changed lines fixes the issue. I suggest a simple 'uname -r' replacement but that is up to you.

cdsteinkuehler commented 9 years ago

Fixed by #34