I am trying out Machinekit on the BBB. I am wanting to keep the HDMI output 
on the board. 

I have the uEnv enable_uboot_cape_universal = 1

I do not have an actual cape on the BBB at this time.

I am trying to run the CRAMPS sample configuration. I am getting the 
following error.

sudo: no askpass program specified, try setting SUDO_ASKPASS
Cannot write gpio direction file: /sys/class/gpio/gpio66/direction.
CRAMPS.hal:12: program 'config-pin' failed, returned 1

In the CRAMPS.bbio file the first pin it tries to configure is P8_07 which 
equates to gpio66. If I comment out that line it gives the error for the 
next pin gpio67 or P8_08.

These pins should not be conflicting with the HDMI cape. 

What is the issue with this set of errors.

I do see something in the CRAMPS.hal file that concerns me after this. it 
says the following.

loadrt hal_bb_gpio output_pins=816,822,823,824,825,826,914,923,925 
input_pins=807,808,809,810,817,911,913

I don't understand why it is trying to set pins 822,823,824,825 as gpio. 
What are the "servo" signals used for that are connected to these pins. I 
don't see a purpose. Then you would not have to disable the eMMC.

Mainly looking for help on the SUDO_ASKPASS issue and not being able to 
write to the gpio pins using config-pin.

Thanks,

Jim

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/512ca30f-7940-4577-bb26-c3e2a17e23e2%40googlegroups.com.

Reply via email to