Here's where it starts loading the hal_bb_gpio module:

> Feb 18 12:20:36 beaglebone rtapi:0: 4:rtapi_app:17438:user hal_bb_gpio.so 
> default iparms: '' 
> Feb 18 12:20:36 beaglebone rtapi:0: 4:rtapi_app:17438:user halg_xinitfv:90 
> HAL: initializing component 'hal_bb_gpio' type=1 arg1=0 ar
> g2=0/0x0 
> Feb 18 12:20:36 beaglebone rtapi:0: 4:rtapi_app:17438:user 
> halg_pin_newfv:192 HAL: creating pin 'bb_gpio.p8.in-07' bit OUT false 
> Feb 18 12:20:36 beaglebone rtapi:0: 4:rtapi_app:17438:user 
> halg_pin_newfv:192 HAL: creating pin 'bb_gpio.p8.in-07.invert' bit IN fals
> e 

The input pin (GPIO1_14) loaded OK.

> Feb 18 12:20:36 beaglebone rtapi:0: 1:rtapi_app:17438:user hal_bb_gpio: 
> ERROR: GPIO Port 2 is not enabled in device tree 

This looks like your problem (GPIO Port 2 is not enabled), so
hal_bb_gpio cannot talk to GPIO2_2 (P8 pin 7)

> Feb 18 12:20:36 beaglebone msgd:0: ulapi:17444:user _ulapi_init(): ulapi 
> rt-preempt v0.1~-----~57844e1 loaded 
> Feb 18 12:20:36 beaglebone msgd:0: ulapi:17444:user halg_xinitfv:271 HAL: 
> singleton component 'hal_lib17444' id=74 initialized 
> Feb 18 12:20:36 beaglebone msgd:0: hal_lib:17444:user --halcmd loadrt 
> hal_bb_gpio output_pins=816 input_pins=807 
> Feb 18 12:20:41 beaglebone msgd:0: hal_lib:17444:user halg_exit:293 HAL: 
> removing component 76 'halcmd17444' 
> Feb 18 12:20:41 beaglebone msgd:0: hal_lib:17444:user 
> ulapi_hal_lib_cleanup:235 HAL: lib_module_id=74 
> Feb 18 12:20:41 beaglebone msgd:0: hal_lib:17444:user halg_exit:293 HAL: 
> removing component 74 'hal_lib17444' 
> Feb 18 12:20:41 beaglebone msgd:0: hal_lib:17444:user halg_exit:315 HAL: 
> hal_errorcount()=0 
> Feb 18 12:20:41 beaglebone msgd:0: hal_lib:17444:user halg_exit:316 HAL: 
> _halerrno=0 
> machinekit@beaglebone:~/CRAMPS$ 
> 
> dmesg output:

There are lots of errors loading the universalh overlay, it looks like
a lot of the hardware is already enabled.  Make sure you are not
loading any other overlays prior to trying to load cape-universalh,
and make sure you have disabled the HDMI output, since the universalh
overlay attempts to claim the pins used for HDMI.

-- 
Charles Steinkuehler
[email protected]

-- 
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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to