*Oops*, missed an update to the script.  Thanks!

7c7
< clr=/sys/class/gpio/gpio48
---
> clr=/sys/class/gpio/gpio48
34a35,38
>
>         # [NJO CHANGE] Set GPIO48 as an output
>         echo 48 > /sys/class/gpio/export
>         echo out > ${clr}/direction


-------------------------------------------------
Paul Wolfson, Ph.D., TX LPI, #A17473
Dallas Legal Technology
3402 Oak Grove Avenue, Suite 300-A
Dallas, Texas 75204-2353


*214-257-0984 (Tel)214-838-7220 (Fax)Send me an email. <[email protected]>*
-------------------------------------------------
The contents of this email are confidential to the sender and the ordinary
user of the email address to which it was addressed, and may also be
privileged.  If you are not the addressee of the email, you may not copy,
forward, disclose or otherwise use it or any part of it in any form
whatsoever.  If you have received this email in error, please advise the
sender at  214-257-0984.  Thank you.
-------------------------------------------------

On Mon, Mar 21, 2016 at 2:09 PM, Paul Wolfson <[email protected]> wrote:

>
> I just purchased a Bacon Cape to play with and I am having trouble with
> initial diagnostics.   The bash test script
> https://github.com/SoCM/Embedded/blob/master/common/scripts-for-BBB/BBB/Bacon-test.sh
> complains that gpio48 is undefined.   As a result the character display
> tests are failing - quick hint -- hopefully something very simple?
>
> *bash constant definitions:*
>
> cape="BB-BONE-BACONE"
> clk=/sys/class/gpio/gpio2
> serial=/sys/class/gpio/gpio4
> latch=/sys/class/gpio/gpio5
> clr=/sys/class/gpio/gpio48
> button=/sys/class/gpio/gpio22
> red=/sys/class/pwm/pwm0
> green=/sys/class/pwm/pwm1
> blue=/sys/class/pwm/pwm2
> pot=/sys/devices/ocp*/bacon_adc_helper*/AIN5
> pot_min=0
> pot_max=1800000
>
>
> *output:*
>
> Red PWM
> Green PWM
> Blue PWM
> 7 segment display all off
> 7 segment display all on
> 7 segment display digit check
> 7 segment display digit check (with a dot)
> Press button to continue
> button pressed
> Slider test (press button to exit)
> total 0
>
>
> *pseudo device listing:*
>
> --w------- 1 root root 4096 Dec 31  1999 export
> lrwxrwxrwx 1 root root    0 Mar 21 11:06 gpio2 ->
> ../../devices/virtual/gpio/gpio2
> lrwxrwxrwx 1 root root    0 Mar 21 11:06 gpio22 ->
> ../../devices/virtual/gpio/gpio22
> lrwxrwxrwx 1 root root    0 Mar 21 11:06 gpio4 ->
> ../../devices/virtual/gpio/gpio4
> lrwxrwxrwx 1 root root    0 Mar 21 11:06 gpio5 ->
> ../../devices/virtual/gpio/gpio5
> ................................... no gpio48 port here?
> .......................................................................
> lrwxrwxrwx 1 root root    0 Dec 31  1999 gpiochip0 ->
> ../../devices/virtual/gpio/gpiochip0
> lrwxrwxrwx 1 root root    0 Dec 31  1999 gpiochip32 ->
> ../../devices/virtual/gpio/gpiochip32
> lrwxrwxrwx 1 root root    0 Dec 31  1999 gpiochip64 ->
> ../../devices/virtual/gpio/gpiochip64
> lrwxrwxrwx 1 root root    0 Dec 31  1999 gpiochip96 ->
> ../../devices/virtual/gpio/gpiochip96
> --w------- 1 root root 4096 Dec 31  1999 unexport
>
>
> TIA
> Paul Wolfson
> Dallas
>
> --
> 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.
>

-- 
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