I did some testing here on a similar system: $ uname -r > 4.14.69-ti-r76 > $ python 1.py > F800 E9C0 F3B0 8230 5370 9830 B450 F2B0 > F910 EEC0 F540 C600 9BA0 9230 9830 F2F0 > F920 EEE0 F500 CC90 ABC0 A190 9FB0 F2E0 > F960 EF20 F4B0 CDA0 AEF0 A6D0 A440 F2B0 > F960 EEA0 F510 CDB0 B240 ACF0 AAF0 F300 > F910 EEF0 F4E0 CDE0 B310 AEC0 AE50 F310 > F960 EF00 F4D0 CDE0 B360 AF60 AFF0 F2F0 > F980 EEF0 F500 CDC0 B340 B000 B0A0 F2E0 > F960 EF20 F550 CE70 B4F0 B1F0 B330 F320 > F950 EF00 F4E0 CED0 B530 B280 B480 F310 > F980 EEE0 F4F0 CED0 B530 B300 B480 F2F0 > F920 EEF0 F500 CE40 B4D0 B250 B410 F310 > F940 EF00 F4D0 CE30 B450 B170 B340 F2C0 > $ python3 1.py > Traceback (most recent call last): > File "1.py", line 18, in <module> > from libpruio import * > File "/home/debian/Projekte/libpruio/src/python/libpruio/__init__.py", > line 1, in <module> > from pruio import * > ImportError: No module named 'pruio' > $ ls -l /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins > -rw-rw-r-- 1 root gpio 0 Jan 1 1970 > /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins > $ cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins > Pinmux settings per pin > Format: pin (name): mux_owner gpio_owner hog? > pin 0 (PIN0): 481d8000.mmc (GPIO UNCLAIMED) function pinmux_emmc_pins > group pinmux_emmc_pins > pin 1 (PIN1): 481d8000.mmc (GPIO UNCLAIMED) function pinmux_emmc_pins > group pinmux_emmc_pins > pin 2 (PIN2): 481d8000.mmc (GPIO UNCLAIMED) function pinmux_emmc_pins > group pinmux_emmc_pins > pin 3 (PIN3): 481d8000.mmc (GPIO UNCLAIMED) function pinmux_emmc_pins > group pinmux_emmc_pins > ... >
python2 works, python3 doesn't. The file pinmux-pins is acessable for users of group gpio on my system. In your output the lines containing ocp:Px_xx_pinmux indicate that the cape-universal device-tree blob is loaded and claims the pins. Try enable_uboot_cape_universal=0 in uEnv.txt. Regards -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a4264e52-28bb-4e6b-a43b-2c31f47b90f4o%40googlegroups.com.
