> Am 11.09.2016 um 18:22 schrieb John Erlandsson <john.lunat...@gmail.com>:
> 
> Hi!
> 
> I am trying to run machinekit on a raspberry pi 3. Installed raspbian jessie 
> and installed the rt preempt kernel and machinekit from the repo. Machinekit 
> runs fine, but fails when I load the hal_gpio component.
> 
> halcmd: loadrt hal_gpio
> <stdin>:1: insmod failed, returned -22:
> rtapi_app_main(hal_gpio): -22 Invalid argument
> 
> from /var/log/linuxcnc.log:
> Sep 11 15:07:45 raspberrypi rtapi:0: rtapi_app_main(hal_gpio): -22 Invalid 
> argument
> Sep 11 15:07:45 raspberrypi msgd:0: hal_lib:1173:rt HAL_GPIO: ERROR: board 
> revision 4 not supported
> Sep 11 15:07:45 raspberrypi msgd:0: rtapi_app:1173:user 
> rtapi_app_main(hal_gpio): -22 Invalid argument
> 
> 
> How do I fix this? Should I use a different component?

no, it means what it says: "board revision 4 not supported"

likely you need to dig a bit into the source: 
https://github.com/machinekit/machinekit/blob/master/src/hal/drivers/hal_bb_gpio.c
 and adapt for peculiarities of the rpi3

-m

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

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

Reply via email to