Hello, I also found this idea on GitHub.com for BeagleBone products and Adafruit_BBIO: https://github.com/adafruit/adafruit-beaglebone-io-python.
Seth On Saturday, May 19, 2018 at 10:12:37 AM UTC-5, rj...@umich.edu wrote: > > Hello, > > I'm trying to follow the Adafruit_BBIO UART tutorial ( > https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation-on-ubuntu > ) > > When I execute > UART.setup("UART1") > I get the following error: > RuntimeError: Unable to export UART channel. > > Is this an error with the pinmuxing for UART or a different issue? > > > > This is the message I get from > dmesg | grep tty > > debian@beaglebone:~/Desktop$ dmesg | grep tty > [ 0.000000] Kernel command line: console=ttyO0,115200n8 > root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M > [ 0.002638] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' > [ 1.468369] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, > base_baud = 3000000) is a 8250 > [ 2.278660] console [ttyS0] enabled > [ 2.283219] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, > base_baud = 3000000) is a 8250 > [ 2.293149] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160, > base_baud = 3000000) is a 8250 > [ 2.302915] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, > base_baud = 3000000) is a 8250 > [ 2.312698] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, > base_baud = 3000000) is a 8250 > [ 8.022515] systemd[1]: Created slice system-getty.slice. > > > this is what I get when I print ls -l /dev/ttyO* > debian@beaglebone:/boot$ ls -l /dev/ttyO* > lrwxrwxrwx 1 root root 5 May 19 14:41 /dev/ttyO0 -> ttyS0 > lrwxrwxrwx 1 root root 5 May 19 14:41 /dev/ttyO1 -> ttyS1 > lrwxrwxrwx 1 root root 5 May 19 14:41 /dev/ttyO2 -> ttyS2 > lrwxrwxrwx 1 root root 5 May 19 14:41 /dev/ttyO4 -> ttyS4 > lrwxrwxrwx 1 root root 5 May 19 14:41 /dev/ttyO5 -> ttyS5 > > > This is my uEnv.txt > > debian@beaglebone:/boot$ cat uEnv.txt > > # this uEnv.txt created by configure_robotics_dt > > uname_r=4.9.78-ti-r94 > dtb=am335x-boneblack-roboticscape.dtb > cmdline=coherent_pool=1M > debian@beaglebone:/boot$ > > > This is my dogtag > debian@beaglebone:/boot$ cat /etc/dogtag > BeagleBoard.org Debian Image 2018-01-28 > > > Thank you. > -- 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/052297aa-c816-4bd4-a62e-07a9a1707985%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.