Hello to support,

Having an issue trying to readback the state of the buttons on the 4D 
cape.  I have confirmed the proper wiring

left P9.15 GPIO1_16
right P9.23 GPIO1_17
up P9.16 GPIO1_19
down P9.30 GPIO3_16
enter P9.21 GPIO0_3

running 3.8.13-bone47

The 7" LCD display works.  When trying to access the pins connected to the 
buttons directly or through python get the message that the device or 
resource is busy.  I see that the pins seem to be part of the LCD overlay 
being defined as device gpio_keys.13.  

When I cat the slots I get the following
 0: 54:P---L 4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS      
,BB-BONE-LCD7-01
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G

Doing a cat of gpio returns
GPIOs 0-31, gpio:
 gpio-2   (lcdc_drv:PDN        ) out hi
 gpio-3   (enter               ) in  hi
 gpio-6   (mmc_cd              ) in  hi

GPIOs 32-63, gpio:
 gpio-48  (left                ) in  hi
 gpio-49  (right               ) in  hi
 gpio-51  (up                  ) in  hi
 gpio-52  (eMMC_RSTn           ) out lo
 gpio-53  (beaglebone:green:usr) out lo
 gpio-54  (beaglebone:green:usr) out lo
 gpio-55  (beaglebone:green:usr) out hi
 gpio-56  (beaglebone:green:usr) out lo
 gpio-60  (lcd7:green:usr0     ) out lo

GPIOs 64-95, gpio:

GPIOs 96-127, gpio:
 gpio-112 (down                ) in  hi

I see the pins but just can't seem to access them

I seem to be doing something wrong, Do I need to create a device tree 
overlay to access this pins? 

Thanks for any help,
-pete


-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to