UPDATE STATUS

At boot, the output of # cat /sys/devices/platform/bone_capemgr/slots is:

> # cat /sys/devices/platform/bone_capemgr/slots
>  0: PF----  -1 
>  1: PF----  -1 
>  2: PF----  -1 
>  3: PF----  -1 
>

In the file  */etc/default/capemgr*, I have no options passing to capemgr 
at boot (*CAPE= *          is the only entry).

In the file */boot/uEnv.txt* , I have deleted cape_universal=enable 
(uncommented line now reads *cmdline=coherent_pool=1M net.ifnames=0 quiet* )

If I then run *config-pin overlay cape-universal* I get:
# cat /sys/devices/platform/bone_capemgr/slots
 0: PF----  -1 
 1: PF----  -1 
 2: PF----  -1 
 3: PF----  -1 
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,cape-universal

If I then run the following two config-pin commands,

*# config-pin P9.11 uart# config-pin P9.13 uart*
the pins for UART4 are enabled and it works from a Python script.

Now, I can use config-pin to setup GPIO pins as inputs, outputs, pulldown, 
pullup, high, low, etc,

the Adafruit_BBIO python library generated some error "Set gpio direction 
failed, missing file or invalid permissions." last night, but when I went 
to duplicate it this morning (reboot), it worked.

Last night, I was running as root, tried using sudo, etc etc, still not 
sure about the permissions error.

But it is working now to toggle GPIO out and to set pins as input or 
output, except I still can't get 

GPIO.event_detected
to work the way I want.






-- 
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/fbeac744-e389-4aab-99fe-c0ab8b19469c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to