Thanks for the clarification - much appreciated. It seems the driver is ignoring the parameter though. And I get the same result. From linuxcnc.log:
May 20 00:07:37 pocketbeagle msgd:0: startup pid=1376 flavor=rt-preempt rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 6.3.0 20170516 version=v0.1~-----~355496b May 20 00:07:37 pocketbeagle msgd:0: ØMQ=4.2.1 czmq=4.0.2 protobuf=3.0.0 atomics=gcc intrinsics libwebsockets=2.0.3 May 20 00:07:37 pocketbeagle msgd:0: configured: sha=355496b May 20 00:07:37 pocketbeagle msgd:0: built: Mar 14 2019 10:47:55 sha=355496b May 20 00:07:37 pocketbeagle msgd:0: register_stuff: actual hostname as announced by avahi='pocketbeagle.local' May 20 00:07:37 pocketbeagle msgd:0: zeroconf: registering: 'Log service on pocketbeagle.local pid 1376' May 20 00:07:38 pocketbeagle msgd:0: zeroconf: registered 'Log service on pocketbeagle.local pid 1376' _machinekit._tcp 49152 TXT "uuid=4e7e123c-1726-4351-bdfc-eba93047fb35" "instance=f2ce6258-7acd-11e9-aea4-606405e00475" "service=log" "dsn=tcp://pocketbeagle.local:49152" May 20 00:07:39 pocketbeagle rtapi:0: 1:rtapi_app:1381:user hal_bb_gpio: ERROR: invalid pin number '901'. Valid pins are 101-136 and 201-236. May 20 00:07:39 pocketbeagle rtapi:0: rtapi_app_main(hal_bb_gpio): -1 Operation not permitted May 20 00:07:39 pocketbeagle rtapi:0: 1:rtapi_app:1381:user rtapi_app_main(hal_bb_gpio): -1 Operation not permitted May 20 00:07:45 pocketbeagle rtapi:0: unload: '' not loaded May 20 00:07:45 pocketbeagle rtapi:0: unload: '' not loaded May 20 00:07:45 pocketbeagle rtapi:0: unload: 'motmod' not loaded May 20 00:07:45 pocketbeagle msgd:0: rtapi_app exit detected - scheduled shutdown May 20 00:07:47 pocketbeagle msgd:0: msgd shutting down May 20 00:07:47 pocketbeagle msgd:0: zeroconf: unregistering 'Log service on pocketbeagle.local pid 1376' May 20 00:07:47 pocketbeagle msgd:0: log buffer hwm: 0% (0 msgs, 0 bytes out of 524288) May 20 00:07:47 pocketbeagle msgd:0: normal shutdown - global segment detached Thanks again, Markus On Mon, 20 May 2019 06:43:43 -0500 Charles Steinkuehler <[email protected]> wrote: > On 5/20/2019 1:22 AM, markus wrote: > >> On Monday, May 20, 2019 at 11:07:12 AM UTC+8, mlampert wrote: > >>> > >>> Am I correct that the support for the PB is a 'compile time' > >>> decision? > >> > >> Try`board=PocketBeagle` > >> > >> https://github.com/machinekit/machinekit/blob/b58f6e83/src/hal/drivers/hal_bb_gpio/hal_bb_gpio.c#L83 > >> > >> John > > > > Where? When? > > In your hal file when you load the hal_bb_gpio module, eg: > > loadrt hal_bb_gpio board=PocketBeagle output_pins=... > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/20190520133651.618ef3cc%40yolanda. For more options, visit https://groups.google.com/d/optout.
