I'm not big on Python, but it looks like you are using some of the Adafruit libraries, they are broken for some kernels, I'm not the guy to tell you if your current kernel is one of them.
To isolate the problem, do: apt-get install minicom and jumper RX to TX. I think by default in Debian images you need to run minicom as root. >From my command history when I was playing with uart1: sudo minicom -D /dev/ttyS1 OTOH your python script may also need to run as root with the default device permissions. If minicom works (after you've jumpered TX to RX) you know the overlay is loading correctly, and the problem is either the Python library or the permissions your scripts runs with. If minicom doesn't work the overlay is not loading correctly. There has been a fair number of threads about what uart overlays to use with various kernels try some searching. Hope this helps. On Thursday, May 19, 2016 at 5:41:53 PM UTC-5, Shaurabh Kumar Singh wrote: > > BeagleBoard.org BeagleBone Debian Image 2014-04-23 > Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l > GNU/Linux > > I am fairly new to beaglebone, could you tel me how to configure the > cape-universal overlay. > -- 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/3e26cffd-df67-4867-8775-7e3716ea1af0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.