> > > and with sudo sh -c "echo 'BB-UART2' > /sys/devices/platform/bone_ > capemgr/slots" > > i get sh: echo: I/O-error > > This generally means the cape couldn't be loaded. You can sometimes > find more detail at the end of dmesg output, but failures when trying > to load capes are usually pretty cryptic. >
I've seen this happen several time when loading a cape, that is trying to configure pins that have already been configured. For me, this happened after unloading the previous cape. There still seems to be a "bug" when unloading capes. On Mon, Nov 7, 2016 at 6:28 AM, Charles Steinkuehler < char...@steinkuehler.net> wrote: > On 11/6/2016 4:46 PM, Theodosis Ntegiannakis wrote: > > > > With the above settings ADC and PWM works fine, but not UART... > > Although /dev/ttyO2 and /dev/ttyO4 are present it doesn't work. > > You have to set the pins to the proper pinmux values for UART and PWM, > not just load the overlay. > > > I am having trouble understanding dts files in order to create my own > overlay. > > Also when i tried to run config-pin i get command not found > > You are running a non-standard distribution. The universal overlays > are part of the BBB kernels, but the config-pin utility is probably > not getting installed. Just grab it from github: > > https://github.com/cdsteinkuehler/beaglebone-universal-io > > ...or you can directly play with the sysfs entries created by the overlay. > > > and with sudo sh -c "echo 'BB-UART2' > /sys/devices/platform/bone_ > capemgr/slots" > > i get sh: echo: I/O-error > > This generally means the cape couldn't be loaded. You can sometimes > find more detail at the end of dmesg output, but failures when trying > to load capes are usually pretty cryptic. > > -- > Charles Steinkuehler > char...@steinkuehler.net > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/db971a2d-a086-ddc1-2d15-bbfd9958ff77%40steinkuehler.net. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqaY%2Bk2GVWWTmnukEzDxAz7_dAUBDO43Oc4NcC7UUv1_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.