Hi, I am trying to get a touchscreen lcd bbb cape to work with machinekit. When I install the prebuilt machinekit image with kernel 3.8.13, the backlight works, but nothing else (and I have read there may be a bug in 3.8 to do with lcd capes). I can login via ssh, and it seems otherwise ok. I then tried using the 4.4.91-ti-rt-r141 kernel (on debian stretch), where the screen works fine, but I get errors when opening machinekit. I have found many posts hinting at how to fix these errors, but I found it hard to identify exactly what to do to fix them.
Error 1: grep: /sys/devices/bone_capemgr.*/slots: no such file or directory Solution: I think I need to comment out the SLOTS=/sys/devices/bone_capemgr.*/slots line in setup.sh as the capes are managed differently in this later kernel so that file no longer exists. However, the SLOTS variable is mentioned in code below this line and I think this gives another error. Error 2: sudo: no askpass program specified, try setting SUDO_ASKPASS Error loading device tree overlay file: BB-LCNC-BEBOPR I then tried commenting out the whole section referring to SLOTS in the setup.sh, but the next section of code gives errors. Error 3: Analog input files not found in /sys/devices/ocp.*/helper.* I think this is something to do with the files moving to another directory (iio?), but I'm not sure what to change here. I have tried all sorts of things from many page, and am at a loss for how to get it working. Could anyone help either with getting the lcd touchscreen cape working on 3.8.x or getting machinekit working on 4.4.x? Please let me know any output/ other details that would help to answer the question. Thank you -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
