RPI gipo help

1,209 views
Skip to first unread message

Timothy March

unread,
Jun 17, 2018, 12:06:02 PM6/17/18
to Machinekit
Having trouble getting gipo's to work can get all to show up as outputs but when I load comp no pins are available output or input. The following is my work sheet for what I am trying to achieve

BOB    SIGNAL     GIPO    IN or OUT       RPI PIN    BINARY

P2 =    XPUL    = GIPO2  =   OUT      =       3    =    1
P3 =    XDIR     = GIPO3  =   OUT      =       5    =    1
P4 =    YPUL    = GIPO4  =   OUT      =       7    =    1
P5 =    YDIR     = GIPO5  =   OUT      =      29   =    1
P6 =    UPUL    = GIPO6  =   OUT      =      31   =    1
P7 =    UDIR     = GIPO7  =   OUT      =      26    =    1
P8 =    VPUL    = GIP08  =   OUT       =      24    =    1
P9 =    VDIR    = GIPO9  =   OUT       =      21    =    1
P10=   ESTOP = GIPO10 =   IN         =      19    =    0
P11=X AXIS LIMIT= GIPO11 =   IN    =      23    =    0
P12=Y AXIS LIMIT= GIPO12 =   IN    =      32    =    0
P13=U AXIS LIMIT= GIPO13 =   IN    =      33    =    0
P14=    ENABLE    = GIPO14 = OUT  =       8    =    1
P15=V AXIS LIMIT= GIPO15 =   IN    =      10    =    0
P16=    BPUL        = GIPO16 =OUT    =      36    =    1
P17=  BDIR/RELAY= GIPO17 =OUT   =      11    =    1
P1 =    PWM          = GIPO18 =OUT   =      12    =    1
GND=   PC GROUND=   ~      =    ~    =       9    =    ~
PCGND= PC GROUND=   ~    =    ~   =      14    =    ~
PC5V=  PC 5 VOLT=   ~        =    ~    =       2    =    ~
PC5V=  PC 5 VOLT=   ~       =    ~     =       4    =    ~
--------------------------------------------------------------
loadrt hal_gpio dir=0x??????????????
1 means output
0 means input

you can exclude pins that you will not use

loadrt hal_gpio dir=0x???????? exclude=0x???????
1 means don't use this pin
0 means use this pin

or you can directly write binary numbers in loading hal_gpio comp
------------------------------------------------------------------------

#rpi2_gpios[] = {2, 3, 4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 };
#rpi2_pins[] =  {3, 5, 7, 29, 31, 26, 24, 21, 19, 23, 32, 33,  8, 10, 36, 11, 12, 35, 38, 40, 15, 16, 18, 22, 37, 13 };

     dir=0x      1  1  1   1   1   1   1   1   0   0   0   0   1   0   1   1   1   0   0   0   0   0   0   0   0   0                 
 exclude=        0  0  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   1   1   1   1   1   1   1   1   1                                                   
----------------------------------------------------------------
#commandline
echo 'ibase=2;A;11111111000010111000000000' | bc
10
66858496

echo 'ibase=2;A;00000000000000000111111111' | bc
10
511
------------------------------------------------------------------
#For my BOB
loadrt hal_gpio dir=0x11111111000010111000000000 exclude=0x00000000000000000111111111
or
loadrt hal_gpio dir=66858496 exclude=511

------------------------------------------------------------------

To get pins to show as all outputs I use:
loadrt hal_gipo

I am running Raspbian Jessie this is a new install of OS the output for dmesg is as follows

pi@raspberrypi:~ $ machinekit
MACHINEKIT - 0.1
Machine configuration directory is '/home/pi/machinekit/configs/my-foam'
Machine configuration file is 'my-foam.ini'
Starting Machinekit...
rtapi_msgd command:  /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288
rtapi_app command:  /usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0
io started
halcmd loadusr io started
standard_pinout.hal:25: Pin 'hal_gpio.pin-03-out' does not exist
Shutting down and cleaning up Machinekit...
Cleanup done
Machinekit terminated with an error.  You can find more information in the log:
    /home/pi/linuxcnc_debug.txt
and
    /home/pi/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
pi@raspberrypi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.43-rt31-rc1-v7+ (pi@raspberrypi) (gcc version 4.9.2 (Raspbian 4.9.2-10+deb8u1)) #1 SMP PREEMPT RT Mon Jun 11 01:27:42 EDT 2018
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x3a800000
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 80c898c0, node_mem_map b9faa000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] percpu: Embedded 17 pages/cpu @b9f53000 s40960 r8192 d20480 u69632
[    0.000000] pcpu-alloc: s40960 r8192 d20480 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1440 bcm2708_fb.fbheight=900 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=1228887d-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 935632K/966656K available (7168K kernel code, 577K rwdata, 2092K rodata, 1024K init, 733K bss, 22832K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80800000   (8160 kB)
      .init : 0x80b00000 - 0x80c00000   (1024 kB)
      .data : 0x80c00000 - 0x80c90500   ( 578 kB)
       .bss : 0x80c97fdc - 0x80d4f72c   ( 734 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 25255 entries in 75 pages
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     No expedited grace period (rcu_normal_after_boot).
[    0.000000]     Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000020] Switching to timer-based delay loop, resolution 52ns
[    0.000311] Console: colour dummy device 80x30
[    0.001316] console [tty1] enabled
[    0.001340] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001353] pid_max: default: 32768 minimum: 301
[    0.001717] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001735] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002799] Disabling memory control group subsystem
[    0.002902] CPU: Testing write buffer coherency: ok
[    0.003525] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.040171] Setting up static identity map for 0x100000 - 0x10003c
[    0.080147] Hierarchical SRCU implementation.
[    0.160306] smp: Bringing up secondary CPUs ...
[    0.260988] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.361064] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.461230] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.461396] smp: Brought up 1 node, 4 CPUs
[    0.461509] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.461542] CPU: All CPU(s) started in HYP mode.
[    0.461569] CPU: Virtualization extensions available.
[    0.462858] devtmpfs: initialized
[    0.487201] random: get_random_u32 called from bucket_table_alloc+0x130/0x288 with crng_init=0
[    0.487948] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.488367] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.488431] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.489153] pinctrl core: initialized pinctrl subsystem
[    0.490674] NET: Registered protocol family 16
[    0.495434] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.504512] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.504559] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.504806] Serial: AMBA PL011 UART driver
[    0.507512] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.508243] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.566770] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
[    0.569244] SCSI subsystem initialized
[    0.569651] usbcore: registered new interface driver usbfs
[    0.569775] usbcore: registered new interface driver hub
[    0.569959] usbcore: registered new device driver usb
[    0.571323] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-07-03 14:16
[    0.573328] clocksource: Switched to clocksource arch_sys_counter
[    0.581565] raspberrypi-firmware soc:firmware: Get Throttled mailbox call failed
[    0.722833] VFS: Disk quotas dquot_6.6.0
[    0.722987] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.723521] FS-Cache: Loaded
[    0.723840] CacheFiles: Loaded
[    0.739731] NET: Registered protocol family 2
[    0.740994] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.741174] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
[    0.741789] TCP: Hash tables configured (established 8192 bind 8192)
[    0.742047] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.742189] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.742785] NET: Registered protocol family 1
[    0.743699] RPC: Registered named UNIX socket transport module.
[    0.743734] RPC: Registered udp transport module.
[    0.743764] RPC: Registered tcp transport module.
[    0.743792] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.745791] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.752538] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.768201] FS-Cache: Netfs 'nfs' registered for caching
[    0.769547] NFS: Registering the id_resolver key type
[    0.769628] Key type id_resolver registered
[    0.769658] Key type id_legacy registered
[    0.769707] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.773017] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.773244] io scheduler noop registered
[    0.773276] io scheduler deadline registered (default)
[    0.773938] io scheduler cfq registered
[    0.773971] io scheduler mq-deadline registered
[    0.774002] io scheduler kyber registered
[    0.779207] BCM2708FB: allocated DMA memory fa910000
[    0.779410] BCM2708FB: allocated DMA channel 0 @ bb813000
[    0.816158] Console: switching to colour frame buffer device 180x56
[    0.839582] bcm2835-rng 3f104000.rng: hwrng registered
[    0.839949] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.840994] vc-sm: Videocore shared memory driver
[    0.841624] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.861138] brd: module loaded
[    0.881424] loop: module loaded
[    0.881561] Loading iSCSI transport class v2.0-870.
[    0.882687] libphy: Fixed MDIO Bus: probed
[    0.882970] usbcore: registered new interface driver lan78xx
[    0.883238] usbcore: registered new interface driver smsc95xx
[    0.883555] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.111976] Core Release: 2.80a
[    1.112088] Setting default values for core params
[    1.112264] Finished setting default values for core params
[    1.312938] Using Buffer DMA mode
[    1.313052] Periodic Transfer Interrupt Enhancement - disabled
[    1.313227] Multiprocessor Interrupt Enhancement - disabled
[    1.313441] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.313582] Dedicated Tx FIFOs mode
[    1.314362] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xba904000 dma = 0xfa904000 len=9024
[    1.314665] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    1.344510] dwc_otg: Microframe scheduler enabled
[    1.344574] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x80602ba8
[    1.344581] WARN::hcd_init_fiq:460: FIQ ASM at 0x80602f10 length 36
[    1.344589] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87e000
[    1.344652] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.368086] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.374178] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.380145] Init: Port Power? op_state=1
[    1.386119] Init: Power Port (0)
[    1.392221] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.398148] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.404034] usb usb1: Product: DWC OTG Controller
[    1.409802] usb usb1: Manufacturer: Linux 4.14.43-rt31-rc1-v7+ dwc_otg_hcd
[    1.415694] usb usb1: SerialNumber: 3f980000.usb
[    1.422588] hub 1-0:1.0: USB hub found
[    1.428554] hub 1-0:1.0: 1 port detected
[    1.435276] dwc_otg: FIQ enabled
[    1.435284] dwc_otg: NAK holdoff enabled
[    1.435290] dwc_otg: FIQ split-transaction FSM enabled
[    1.435306] Module dwc_common_port init
[    1.435643] usbcore: registered new interface driver usb-storage
[    1.441748] mousedev: PS/2 mouse device common for all mice
[    1.447866] IR NEC protocol handler initialized
[    1.453679] IR RC5(x/sz) protocol handler initialized
[    1.459429] IR RC6 protocol handler initialized
[    1.465244] IR JVC protocol handler initialized
[    1.470963] IR Sony protocol handler initialized
[    1.476779] IR SANYO protocol handler initialized
[    1.482511] IR Sharp protocol handler initialized
[    1.488279] IR MCE Keyboard/mouse protocol handler initialized
[    1.494094] IR XMP protocol handler initialized
[    1.501050] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    1.507286] bcm2835-cpufreq: min=600000 max=1200000
[    1.513624] sdhci: Secure Digital Host Controller Interface driver
[    1.519238] sdhci: Copyright(c) Pierre Ossman
[    1.525448] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    1.531744] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    1.537722] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.546815] hidraw: raw HID events driver (C) Jiri Kosina
[    1.552805] usbcore: registered new interface driver usbhid
[    1.558684] usbhid: USB HID core driver
[    1.565347] vchiq: vchiq_init_state: slot_zero = ba980000, is_master = 0
[    1.572964] [vc_sm_connected_init]: start
[    1.582743] [vc_sm_connected_init]: end - returning 0
[    1.589557] Initializing XFRM netlink socket
[    1.595408] NET: Registered protocol family 17
[    1.601348] Key type dns_resolver registered
[    1.607530] Registering SWP/SWPB emulation handler
[    1.614407] registered taskstats version 1
[    1.635538] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    1.641380] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.650599] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.656480] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    1.662474] Indeed it is in host mode hprt0 = 00021501
[    1.744600] sdhost: log_buf @ ba907000 (fa907000)
[    1.771728] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.780471] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.789560] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.799516] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.843394] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.856585] of_cfs_init
[    1.865452] of_cfs_init: OK
[    1.873395] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.873698] Indeed it is in host mode hprt0 = 00001101
[    1.886182] Waiting for root device PARTUUID=1228887d-02...
[    1.930246] mmc1: new high speed SDIO card at address 0001
[    1.933376] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.936198] mmc0: new high speed SDHC card at address 0002
[    1.942568] mmcblk0: mmc0:0002       30.0 GiB
[    1.944650]  mmcblk0: p1 p2
[    2.004685] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.011467] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.029970] devtmpfs: mounted
[    2.042096] Freeing unused kernel memory: 1024K
[    2.133967] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.141108] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.149619] hub 1-1:1.0: USB hub found
[    2.157054] hub 1-1:1.0: 5 ports detected
[    2.426292] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    2.433555] systemd[1]: Detected architecture 'arm'.
[    2.483447] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.607786] NET: Registered protocol family 10
[    2.614059] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.614070] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.617159] smsc95xx v1.0.6
[    2.635832] Segment Routing with IPv6
[    2.642389] systemd[1]: Inserted module 'ipv6'
[    2.652272] systemd[1]: Set hostname to <raspberrypi>.
[    2.659041] systemd[1]: Initializing machine ID from random generator.
[    2.665792] systemd[1]: Installed transient /etc/machine-id file.
[    2.714267] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:8d:39:c3
[    2.823416] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[    2.964968] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52b
[    2.971635] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.978424] usb 1-1.2: Product: USB Receiver
[    2.985204] usb 1-1.2: Manufacturer: Logitech
[    3.214825] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[    3.232684] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    3.240580] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.247868] systemd[1]: Starting Remote File Systems (Pre).
[    3.659555] fuse init (API version 7.26)
[    4.150308] systemd-udevd[146]: starting version 215
[    5.969682] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    6.150485] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[    6.597568] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    6.607260] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
[    6.618928] usbcore: registered new interface driver brcmfmac
[    6.849177] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug  7 2017 00:46:29 version
7.45.41.46
(r666254 CY) FWID 01-f8a78378

[    6.850277] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.41 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-08-07 00:37:47
[    7.131122] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.2/input2
[    7.340956] input: Logitech K400 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0003/0003:046D:4024.0004/input/input0
[    7.345209] logitech-hidpp-device 0003:046D:4024.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech K400] on usb-3f980000.usb-1.2:1
[   14.776729] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   15.305096] systemd-journald[142]: Received request to flush runtime journal from PID 1
[   15.799351] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   15.799378] brcmfmac: power management disabled
[   16.476975] uart-pl011 3f201000.serial: no DMA platform data
[   16.895554] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   16.895976] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.907720] Adding 102396k swap on /var/swap.  Priority:-2 extents:4 across:241660k SSFS
[   20.884749] Bluetooth: Core ver 2.22
[   20.884862] NET: Registered protocol family 31
[   20.884871] Bluetooth: HCI device and connection manager initialized
[   20.884916] Bluetooth: HCI socket layer initialized
[   20.884946] Bluetooth: L2CAP socket layer initialized
[   20.885043] Bluetooth: SCO socket layer initialized
[   20.901474] Bluetooth: HCI UART driver ver 2.3
[   20.901490] Bluetooth: HCI UART protocol H4 registered
[   20.901498] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   20.902013] Bluetooth: HCI UART protocol Broadcom registered
[   21.072934] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   21.072945] Bluetooth: BNEP filters: protocol multicast
[   21.072968] Bluetooth: BNEP socket layer initialized
[   58.002565] logitech-hidpp-device 0003:046D:4024.0004: HID++ 2.0 device connected.
[   95.014365] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  568.867228] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x36c08aa0
[  569.484701] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x36c08aa0
[  583.914499] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x5a431c28
[  585.564955] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x5a431c28
[  594.578986] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x25f901a0
[  596.125745] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x25f901a0
[  817.529672] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x22487d30
[  819.964433] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x22487d30
[  848.946983] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x451e28f0
[  851.740887] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x451e28f0
[  903.803840] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x299abe60
[  906.026560] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x299abe60
[  920.252102] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x4bcb59c0
[  921.355377] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x4bcb59c0
[  930.185209] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x202fd7a8
[  931.657875] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x202fd7a8
[  939.998021] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x36931ff8
[  941.126410] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x36931ff8
[  951.281444] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x40b6c7d8
[  952.855488] Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x40b6c7d8
[  962.039831] usb 1-1.2: USB disconnect, device number 4
[ 1051.948844] systemd-udevd[5111]: starting version 215
[ 1143.929921] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[ 1144.065345] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52b
[ 1144.065363] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1144.065374] usb 1-1.2: Product: USB Receiver
[ 1144.065384] usb 1-1.2: Manufacturer: Logitech
[ 1144.085851] logitech-djreceiver 0003:046D:C52B.0007: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.2/input2
[ 1144.231505] input: Logitech K400 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0007/0003:046D:4024.0008/input/input1
[ 1144.233650] logitech-hidpp-device 0003:046D:4024.0008: input,hidraw1: USB HID v1.11 Keyboard [Logitech K400] on usb-3f980000.usb-1.2:1
[ 1148.029956] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 1148.175526] usb 1-1.4: New USB device found, idVendor=6557, idProduct=4200
[ 1148.175544] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1148.175555] usb 1-1.4: Product: USB DISK 2.0
[ 1148.175565] usb 1-1.4: Manufacturer:        
[ 1148.175574] usb 1-1.4: SerialNumber: 90006AF2C71C7440
[ 1148.176903] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 1148.179477] scsi host0: usb-storage 1-1.4:1.0
[ 1149.212110] scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
[ 1149.234159] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1149.298560] logitech-hidpp-device 0003:046D:4024.0008: HID++ 2.0 device connected.
[ 1151.771340] sd 0:0:0:0: [sda] 15130624 512-byte logical blocks: (7.75 GB/7.21 GiB)
[ 1151.773662] sd 0:0:0:0: [sda] Write Protect is off
[ 1151.773671] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 1151.775294] sd 0:0:0:0: [sda] No Caching mode page found
[ 1151.775302] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1151.788998]  sda: sda1
[ 1151.798211] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1192.443004] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 1897.809774] usb 1-1.4: USB disconnect, device number 6

I have tried this with RPI2B, RPI3B and RPI3B+ with the same results for all three.
What am I doing wrong please help.
Attached are my configs

Tim

my-foam.zip

Timothy March

unread,
Jun 17, 2018, 2:07:12 PM6/17/18
to Machinekit
In addition to get pins to show up as all outputs you must comment out all net input lines with hash tag in standard pinout file

Timothy March

unread,
Jun 20, 2018, 8:40:02 PM6/20/18
to Machinekit

Tried again with fresh install on RPI3B, Raspbian/Jessie, started Machinekit from menu item then load failed error message was:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=/usr/libexec/linuxcnc/inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6

MACHINEKIT - 0.1
Machine configuration directory is '/home/pi/machinekit/configs/my-foam'
Machine configuration file is 'my-foam.ini'
INIFILE=/home/pi/machinekit/configs/my-foam/my-foam.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting Machinekit...
Starting Machinekit server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting Machinekit IO program: io

io started
halcmd loadusr io started
Shutting down and cleaning up Machinekit...
Killing task linuxcncsvr, PID=23063
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:

rtapi_msgd command:  /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288
rtapi_app command:  /usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0
standard_pinout.hal:25: Pin 'hal_gpio.pin-03-out' does not exist
23063
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.43-rt31-rc1-v7+ (pi@raspberrypi) (gcc version 4.9.2 (Raspbian 4.9.2-10+deb8u1)) #1 SMP PREEMPT RT Mon Jun 11 01:27:42 EDT 2018
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x3a800000
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 80c898c0, node_mem_map b9faa000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] percpu: Embedded 17 pages/cpu @b9f53000 s40960 r8192 d20480 u69632
[    0.000000] pcpu-alloc: s40960 r8192 d20480 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1366 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=1228887d-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 935632K/966656K available (7168K kernel code, 577K rwdata, 2092K rodata, 1024K init, 733K bss, 22832K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80800000   (8160 kB)
      .init : 0x80b00000 - 0x80c00000   (1024 kB)
      .data : 0x80c00000 - 0x80c90500   ( 578 kB)
       .bss : 0x80c97fdc - 0x80d4f72c   ( 734 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 25255 entries in 75 pages
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     No expedited grace period (rcu_normal_after_boot).
[    0.000000]     Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000020] Switching to timer-based delay loop, resolution 52ns
[    0.000309] Console: colour dummy device 80x30
[    0.001315] console [tty1] enabled

[    0.001340] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001353] pid_max: default: 32768 minimum: 301
[    0.001721] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001739] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002786] Disabling memory control group subsystem
[    0.002891] CPU: Testing write buffer coherency: ok
[    0.003501] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.040165] Setting up static identity map for 0x100000 - 0x10003c
[    0.080140] Hierarchical SRCU implementation.
[    0.160299] smp: Bringing up secondary CPUs ...
[    0.260993] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.361058] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.461221] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.461388] smp: Brought up 1 node, 4 CPUs
[    0.461501] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.461534] CPU: All CPU(s) started in HYP mode.
[    0.461561] CPU: Virtualization extensions available.
[    0.462846] devtmpfs: initialized
[    0.487243] random: get_random_u32 called from bucket_table_alloc+0x130/0x288 with crng_init=0
[    0.487990] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.488409] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.488472] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.489195] pinctrl core: initialized pinctrl subsystem
[    0.490718] NET: Registered protocol family 16
[    0.495476] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.504548] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.504593] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.504842] Serial: AMBA PL011 UART driver
[    0.507544] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.508277] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.566933] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
[    0.569406] SCSI subsystem initialized
[    0.569810] usbcore: registered new interface driver usbfs
[    0.569934] usbcore: registered new interface driver hub
[    0.570120] usbcore: registered new device driver usb
[    0.571317] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-07-03 14:16
[    0.573317] clocksource: Switched to clocksource arch_sys_counter
[    0.581563] raspberrypi-firmware soc:firmware: Get Throttled mailbox call failed
[    0.722760] VFS: Disk quotas dquot_6.6.0
[    0.722916] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.723442] FS-Cache: Loaded
[    0.723765] CacheFiles: Loaded
[    0.739655] NET: Registered protocol family 2
[    0.740918] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.741097] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
[    0.741716] TCP: Hash tables configured (established 8192 bind 8192)
[    0.741976] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.742118] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.742714] NET: Registered protocol family 1
[    0.743644] RPC: Registered named UNIX socket transport module.
[    0.743679] RPC: Registered udp transport module.
[    0.743709] RPC: Registered tcp transport module.
[    0.743738] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.745733] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.752490] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.768140] FS-Cache: Netfs 'nfs' registered for caching
[    0.769485] NFS: Registering the id_resolver key type
[    0.769553] Key type id_resolver registered
[    0.769583] Key type id_legacy registered
[    0.769633] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.772943] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.773172] io scheduler noop registered
[    0.773205] io scheduler deadline registered (default)
[    0.773856] io scheduler cfq registered
[    0.773889] io scheduler mq-deadline registered
[    0.773921] io scheduler kyber registered
[    0.779134] BCM2708FB: allocated DMA memory fa910000
[    0.779338] BCM2708FB: allocated DMA channel 0 @ bb813000
[    0.809741] Console: switching to colour frame buffer device 170x48
[    0.829649] bcm2835-rng 3f104000.rng: hwrng registered
[    0.830019] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.831066] vc-sm: Videocore shared memory driver
[    0.831696] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.851430] brd: module loaded
[    0.871533] loop: module loaded
[    0.871678] Loading iSCSI transport class v2.0-870.
[    0.872851] libphy: Fixed MDIO Bus: probed
[    0.873137] usbcore: registered new interface driver lan78xx
[    0.873585] usbcore: registered new interface driver smsc95xx
[    0.873776] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.102212] Core Release: 2.80a
[    1.102328] Setting default values for core params
[    1.107422] Finished setting default values for core params
[    1.312976] Using Buffer DMA mode
[    1.317973] Periodic Transfer Interrupt Enhancement - disabled
[    1.322950] Multiprocessor Interrupt Enhancement - disabled
[    1.327967] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.332897] Dedicated Tx FIFOs mode
[    1.338453] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xba904000 dma = 0xfa904000 len=9024
[    1.343665] FIQ FSM acceleration enabled for :

Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    1.369133] dwc_otg: Microframe scheduler enabled
[    1.369202] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x80602ba8
[    1.369210] WARN::hcd_init_fiq:460: FIQ ASM at 0x80602f10 length 36
[    1.369218] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87e000
[    1.369286] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.389309] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.394549] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.399596] Init: Port Power? op_state=1
[    1.404597] Init: Power Port (0)
[    1.409737] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.414732] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.419666] usb usb1: Product: DWC OTG Controller
[    1.424630] usb usb1: Manufacturer: Linux 4.14.43-rt31-rc1-v7+ dwc_otg_hcd
[    1.429660] usb usb1: SerialNumber: 3f980000.usb
[    1.435815] hub 1-0:1.0: USB hub found
[    1.440898] hub 1-0:1.0: 1 port detected
[    1.446934] dwc_otg: FIQ enabled
[    1.446941] dwc_otg: NAK holdoff enabled
[    1.446947] dwc_otg: FIQ split-transaction FSM enabled
[    1.446963] Module dwc_common_port init
[    1.447334] usbcore: registered new interface driver usb-storage
[    1.452778] mousedev: PS/2 mouse device common for all mice
[    1.458262] IR NEC protocol handler initialized
[    1.463380] IR RC5(x/sz) protocol handler initialized
[    1.468360] IR RC6 protocol handler initialized
[    1.473227] IR JVC protocol handler initialized
[    1.478042] IR Sony protocol handler initialized
[    1.482716] IR SANYO protocol handler initialized
[    1.487483] IR Sharp protocol handler initialized
[    1.492123] IR MCE Keyboard/mouse protocol handler initialized
[    1.496902] IR XMP protocol handler initialized
[    1.502860] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    1.508253] bcm2835-cpufreq: min=600000 max=1200000
[    1.513862] sdhci: Secure Digital Host Controller Interface driver
[    1.518700] sdhci: Copyright(c) Pierre Ossman
[    1.524215] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    1.529769] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    1.534971] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.543123] hidraw: raw HID events driver (C) Jiri Kosina
[    1.548385] usbcore: registered new interface driver usbhid
[    1.553493] usbhid: USB HID core driver
[    1.559271] vchiq: vchiq_init_state: slot_zero = ba980000, is_master = 0
[    1.565934] [vc_sm_connected_init]: start
[    1.575540] [vc_sm_connected_init]: end - returning 0
[    1.581241] Initializing XFRM netlink socket
[    1.586172] NET: Registered protocol family 17
[    1.591179] Key type dns_resolver registered
[    1.596431] Registering SWP/SWPB emulation handler
[    1.602373] registered taskstats version 1
[    1.622481] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    1.627609] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.636058] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.641075] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    1.663549] Indeed it is in host mode hprt0 = 00021501
[    1.704200] sdhost: log_buf @ ba907000 (fa907000)
[    1.770027] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.778353] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.785826] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.794475] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.803478] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.814180] of_cfs_init
[    1.820159] of_cfs_init: OK
[    1.827251] Waiting for root device PARTUUID=1228887d-02...
[    1.882555] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.894021] mmc0: new high speed SDHC card at address 0002
[    1.903421] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.912010] Indeed it is in host mode hprt0 = 00001101
[    1.919274] mmcblk0: mmc0:0002       30.0 GiB
[    1.923262] mmc1: new high speed SDIO card at address 0001
[    1.926652]  mmcblk0: p1 p2
[    1.971134] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.976479] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.992476] devtmpfs: mounted
[    2.002437] Freeing unused kernel memory: 1024K
[    2.184071] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.191411] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.200308] hub 1-1:1.0: USB hub found
[    2.207927] hub 1-1:1.0: 5 ports detected
[    2.394475] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    2.400465] systemd[1]: Detected architecture 'arm'.
[    2.533437] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.581844] NET: Registered protocol family 10
[    2.589293] Segment Routing with IPv6
[    2.594945] systemd[1]: Inserted module 'ipv6'
[    2.603915] systemd[1]: Set hostname to <raspberrypi>.
[    2.609547] systemd[1]: Initializing machine ID from random generator.
[    2.615398] systemd[1]: Installed transient /etc/machine-id file.
[    2.665214] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.671170] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.681184] smsc95xx v1.0.6
[    2.780739] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:8d:39:c3
[    2.883480] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[    3.022672] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52b
[    3.028603] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.034505] usb 1-1.4: Product: USB Receiver
[    3.040230] usb 1-1.4: Manufacturer: Logitech
[    3.220076] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[    3.236523] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    3.243765] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.250273] systemd[1]: Starting Remote File Systems (Pre).
[    3.632115] fuse init (API version 7.26)
[    4.099077] systemd-udevd[147]: starting version 215
[    5.669721] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.707910] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[    5.750954] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.344691] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    6.354316] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
[    6.367704] usbcore: registered new interface driver brcmfmac
[    6.581115] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug  7 2017 00:46:29 version
7.45.41.46
(r666254 CY) FWID 01-f8a78378

[    6.582240] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.41 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-08-07 00:37:47
[    6.958132] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.4/input2
[    7.232953] input: Logitech K400 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.2/0003:046D:C52B.0003/0003:046D:4024.0004/input/input0
[    7.248803] logitech-hidpp-device 0003:046D:4024.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech K400] on usb-3f980000.usb-1.4:1
[    7.369504] systemd-journald[143]: Received request to flush runtime journal from PID 1
[    8.272432] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    8.272445] brcmfmac: power management disabled
[    8.380218] EXT4-fs (mmcblk0p2): resizing filesystem from 1239808 to 7847424 blocks
[    9.163568] uart-pl011 3f201000.serial: no DMA platform data
[   16.307314] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   16.308192] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.703710] Adding 102396k swap on /var/swap.  Priority:-2 extents:4 across:241660k SSFS
[   21.132182] Bluetooth: Core ver 2.22
[   21.132275] NET: Registered protocol family 31
[   21.132279] Bluetooth: HCI device and connection manager initialized
[   21.132307] Bluetooth: HCI socket layer initialized
[   21.132340] Bluetooth: L2CAP socket layer initialized
[   21.132391] Bluetooth: SCO socket layer initialized
[   21.826490] Bluetooth: HCI UART driver ver 2.3
[   21.826508] Bluetooth: HCI UART protocol H4 registered
[   21.826515] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   21.827054] Bluetooth: HCI UART protocol Broadcom registered
[   23.519923] EXT4-fs (mmcblk0p2): resized to 2621440 blocks
[   30.429866] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   30.429877] Bluetooth: BNEP filters: protocol multicast
[   30.429916] Bluetooth: BNEP socket layer initialized
[   36.159239] EXT4-fs (mmcblk0p2): resized to 3670016 blocks
[   46.354395] EXT4-fs (mmcblk0p2): resized to 4718592 blocks
[   57.269161] EXT4-fs (mmcblk0p2): resized to 5767168 blocks
[   68.828313] EXT4-fs (mmcblk0p2): resized to 6815744 blocks
[   79.360817] EXT4-fs (mmcblk0p2): resized filesystem to 7847424
[   89.008426] logitech-hidpp-device 0003:046D:4024.0004: HID++ 2.0 device connected.
[  120.768180] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1618.081831] systemd-udevd[20485]: starting version 215
[ 1691.310043] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 1691.455628] usb 1-1.2: New USB device found, idVendor=6557, idProduct=4200
[ 1691.455647] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1691.455657] usb 1-1.2: Product: USB DISK 2.0
[ 1691.455667] usb 1-1.2: Manufacturer:        
[ 1691.455676] usb 1-1.2: SerialNumber: 90006AF2C71C7440
[ 1691.456992] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 1691.460733] scsi host0: usb-storage 1-1.2:1.0
[ 1692.492211] scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
[ 1692.516555] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1695.035784] sd 0:0:0:0: [sda] 15130624 512-byte logical blocks: (7.75 GB/7.21 GiB)
[ 1695.038102] sd 0:0:0:0: [sda] Write Protect is off
[ 1695.038113] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 1695.039751] sd 0:0:0:0: [sda] No Caching mode page found
[ 1695.039759] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1695.052564]  sda: sda1
[ 1695.063692] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1705.543409] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Please help
Tim

Bas de Bruijn

unread,
Jun 21, 2018, 2:56:55 AM6/21/18
to Timothy March, Machinekit


On 21 Jun 2018, at 02:40, Timothy March <timoth...@gmail.com> wrote:

Debug file information:


standard_pinout.hal:25: Pin 'hal_gpio.pin-03-out' does not exist

Your error is above. If you need to look further, please start machinekit from shell, after you enabled debug messages with "export DEBUG=5"

Then first look at the session at /var/log/linuxcnc.log and use something like pastebin.com to share the contents.

Bas

Timothy March

unread,
Jun 21, 2018, 9:35:10 PM6/21/18
to Machinekit
Thank you Bas for the response,
I did as you suggested and used pastebin.com
here are my configs
my-foam.ini                  https://pastebin.com/JeHrv7b1
my-foam.hal                https://pastebin.com/FwQ32GWh
standard_pinout.hal       https://pastebin.com/ahRzpLyG
linuxcnc.var                 https://pastebin.com/ZFELSvjS
tool.tbl                        https://pastebin.com/KZXikvEB

Now the debug info
linuxcnc.log                https://pastebin.com/XUJJZwqv
terminal output            https://pastebin.com/YvJU7HvU

My work sheet            https://pastebin.com/hVqF6bVi

Thanks again

Tim
Message has been deleted

mung kie

unread,
Jun 22, 2018, 4:14:23 PM6/22/18
to Machinekit
https://youtu.be/89GSUhzT3Ow?t=54

in/out problems?
read the meter?

Timothy March

unread,
Jun 23, 2018, 12:04:03 PM6/23/18
to Machinekit
Thank you again Bas for the tip on DEBUG was able to figure it out
0 = output
1 = input
you must directly write binary numbers in loading hal_gpio comp

So a new worksheet that works is as follows


BOB    SIGNAL     GIPO    IN or OUT       RPI PIN    BINARY

P2 =    XPUL    = GIPO2  =   OUT      =       3    =    0
P3 =    XDIR    = GIPO3  =   OUT      =       5    =    0
P4 =    YPUL    = GIPO4  =   OUT      =       7    =    0
P5 =    YDIR    = GIPO5  =   OUT      =      29    =    0
P6 =    UPUL    = GIPO6  =   OUT      =      31    =    0
P7 =    UDIR    = GIPO7  =   OUT      =      26    =    0
P8 =    VPUL    = GIP08  =   OUT      =      24    =    0
P9 =    VDIR    = GIPO9  =   OUT      =      21    =    0
P10=    ESTOP   = GIPO10 =   IN       =      19    =    1
P11=X AXIS LIMIT= GIPO11 =   IN       =      23    =    1
P12=Y AXIS LIMIT= GIPO12 =   IN       =      32    =    1
P13=U AXIS LIMIT= GIPO13 =   IN       =      33    =    1
P14=    ENABLE  = GIPO14 =   OUT      =       8    =    0
P15=V AXIS LIMIT= GIPO15 =   IN       =      10    =    1
P16=    BPUL    = GIPO16 =   OUT      =      36    =    0
P17=  BDIR/RELAY= GIPO17 =   OUT      =      11    =    0
P1 =    PWM     = GIPO18 =   OUT      =      12    =    0

GND=   PC GROUND=   ~    =    ~       =       9    =    ~
PCGND= PC GROUND=   ~    =    ~       =      14    =    ~
PC5V=  PC 5 VOLT=   ~    =    ~       =       2    =    ~
PC5V=  PC 5 VOLT=   ~    =    ~       =       4    =    ~
--------------------------------------------------------------
loadrt hal_gpio dir=??????????????
0 means output
1 means input

you must directly write binary numbers in loading hal_gpio comp

------------------------------------------------------------------------
#rpi2_gpios[] = {2, 3, 4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 };
#rpi2_pins[] =  {3, 5, 7, 29, 31, 26, 24, 21, 19, 23, 32, 33,  8, 10, 36, 11, 12, 35, 38, 40, 15, 16, 18, 22, 37, 13 };

                 0  0  0   0   0   0   0   0   1   1   1   1   0   1   0   0   0   1   1   1   1   1   1   1   1   1
----------------------------------------------------------------
#commandline
echo 'ibase=2;A;00000000111101000111111111' | bc
10
250367
------------------------------------------------------------------
#For my BOB
loadrt hal_gpio dir=250367

Thanks again
Tim

Timothy March

unread,
Jun 23, 2018, 12:53:58 PM6/23/18
to Machinekit
Oh Mung Kie I forgot to mention:
 exclude=
dose not work

Tim

Bas de Bruijn

unread,
Jun 23, 2018, 5:44:14 PM6/23/18
to Timothy March, Machinekit


On 23 Jun 2018, at 18:04, Timothy March <timoth...@gmail.com> wrote:

Thank you again Bas for the tip on DEBUG was able to figure it out

Great! 

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

mung kie

unread,
Jun 23, 2018, 6:03:23 PM6/23/18
to Machinekit
I am sorry, I did not know what was excluded, also was not sure what foam ment in ini? input and output in hal and in ini information is important.

You also did not give any details of what hal meter showed, have you fully read and worked through the documentation for hal?

If you got everything working why have you not posted full details so future users and everyone on this forum can have benefit of the advice you received?


Timothy March

unread,
Jun 24, 2018, 9:05:02 AM6/24/18
to Machinekit
I did report follow whole thread and see my previous post

Tim

Masoun Mardini

unread,
Jun 24, 2018, 3:02:44 PM6/24/18
to Machinekit
Hi Timothy,
the easiest way to test hal_gpio is through "halrun" command
in empty terminal just type "halrun"

then you can type your hal command in it 

as per the photo above 
I've wrote"loader hal_gpio dir=14 exclude=3"
which means excluding the first two pin ie 3 and 5 (gpio pins 2,3)
and the direction of pin 7-29 is output (gpio pins 4-5)
finding your pins is a littlest tricky as you may mix up physical pins with gpio pins
the second command is "Show Pin" you can scroll up to see which pins is available and what they do
PS: when I tried your command "loadrt hal_gpio dir=66858496 exclude=511" no pins where available the value was not valid 
hope this will help you

Masoun  

Bas de Bruijn

unread,
Jun 25, 2018, 11:07:31 AM6/25/18
to Timothy March, Machinekit
Did you look into the previous post, about a pin not existing?

your terminal output shows the following:
standard_pinout.hal:25: Pin 'hal_gpio.pin-03-out' does not exist
Shutting down and cleaning up Machinekit...

I'm not familiar with a rpi, so I'm not versed on how to set up those pins for the rpi but that should be the place to start. So find out why pin 03 does not exist (setup)

Bas

Timothy March

unread,
Jun 28, 2018, 7:13:50 PM6/28/18
to Machinekit
Bas said

Did you look into the previous post, about a pin not existing?

 Yes I did Bas have it working now

Tim
!!!!!!!!!!!!    Thank you everyone for the help    !!!!!!!!!!!

mung kie

unread,
Jul 3, 2018, 9:55:44 AM7/3/18
to Machinekit
I have sent this thread link to a guy that was asking me to sort out their raspberry pi system and told them you said your config worked.
They messaged me back saying that your config does not work, so I am not sure what to think, I got linuxcnc working on a rpi1/2 a few years back and have had a few requests for how to get it running, unfortunately I don't have time to sort out problems with new rpi kernels/dists etc.. but always try to be helpful and forward info if I notice any updates.

As far as I remember the only reasonable image with good drivers only worked with wheezy or possible jessie versions of raspbian from at least 3 years ago.

So not sure why your config does not work for him but as far as I remember there were kernel irq problems, has someone fixed the fiqs and spinlocks etc?
such as:

Can you give further details or preferably a writeup of what drivers you use how to install and setup the system etc?

I am sure its possible to get rpi gpio working within limits but trying to chase their kernel and handle lots of help requests from  cheap 3dprinter owners that have no idea how to config linux let alone setup and calibrate a cnc machine is beyond my ability.

Sorry I could not be of more help, unfortunately I tend to give terse flippant answers to questions I don't understand and am not sure even are possible to answer.

Really if you posted a list of hal pins siganals with something like "halcmd list  ’comp’, ’pin’, ’sig’, ’param’, ’funct’, or 
thread’"

Or I think there was some graphical charting app in rockhopper that showed the hal networks?

I would love to see machinekit or linuxcnc working well with rpi gpio, and have someone create simple docs that I can direct people to so that anyone can get it setup and running motors.

Timothy March

unread,
Jul 28, 2018, 8:25:13 PM7/28/18
to Machinekit

Mung Kie said, "They messaged me back saying that your config does not work, so I am not sure what to think"
Well if he took the first post in this thread and tried it , it will not work that is why I posted here in the first place. If he read the whole thread he would have found the second work sheet I posted and at the bottom of work sheet had the answer
The following is that post


Thank you again Bas for the tip on DEBUG was able to figure it out
0 = output
1 = input
you must directly write binary numbers in loading hal_gpio comp

So a new worksheet that works is as follows


BOB    SIGNAL     GIPO    IN or OUT       RPI PIN    BINARY

P2 =    XPUL    = GIPO2  =   OUT      =       3    =    0
P3 =    XDIR    = GIPO3  =   OUT      =       5    =    0
P4 =    YPUL    = GIPO4  =   OUT      =       7    =    0
P5 =    YDIR    = GIPO5  =   OUT      =      29    =    0
P6 =    UPUL    = GIPO6  =   OUT      =      31    =    0
P7 =    UDIR    = GIPO7  =   OUT      =      26    =    0
P8 =    VPUL    = GIP08  =   OUT      =      24    =    0
P9 =    VDIR    = GIPO9  =   OUT      =      21    =    0
P10=    ESTOP   = GIPO10 =   IN       =      19    =    1
P11=X AXIS LIMIT= GIPO11 =   IN       =      23    =    1
P12=Y AXIS LIMIT= GIPO12 =   IN       =      32    =    1
P13=U AXIS LIMIT= GIPO13 =   IN       =      33    =    1
P14=    ENABLE  = GIPO14 =   OUT      =       8    =    0
P15=V AXIS LIMIT= GIPO15 =   IN       =      10    =    1
P16=    BPUL    = GIPO16 =   OUT      =      36    =    0
P17=  BDIR/RELAY= GIPO17 =   OUT      =      11    =    0
P1 =    PWM     = GIPO18 =   OUT      =      12    =    0
GND=   PC GROUND=   ~    =    ~       =       9    =    ~
PCGND= PC GROUND=   ~    =    ~       =      14    =    ~
PC5V=  PC 5 VOLT=   ~    =    ~       =       2    =    ~
PC5V=  PC 5 VOLT=   ~    =    ~       =       4    =    ~
--------------------------------------------------------------
loadrt hal_gpio dir=??????????????
0 means output
1 means input

you must directly write binary numbers in loading hal_gpio comp

------------------------------------------------------------------------
#rpi2_gpios[] = {2, 3, 4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 };
#rpi2_pins[] =  {3, 5, 7, 29, 31, 26, 24, 21, 19, 23, 32, 33,  8, 10, 36, 11, 12, 35, 38, 40, 15, 16, 18, 22, 37, 13 };

                 0  0  0   0   0   0   0   0   1   1   1   1   0   1   0   0   0   1   1   1   1   1   1   1   1   1
----------------------------------------------------------------
#commandline
echo 'ibase=2;A;00000000111101000111111111' | bc
10
250367
------------------------------------------------------------------
#For my BOB
loadrt hal_gpio dir=250367


Use the above in HAL file and it works the whole idea was to figure out how it all works and the work sheet shows you how to calculate it

Now for setting up the PI to start with is as follows

#I do not use Debian Stretch, Axis GUI has a memory leak when run on Stretch
#Download Debian Jessie image from here

http://downloads.raspberrypi.org/raspbian/images/

#Use Etcher to flash SD-card

# Install Sdcard into PI and boot up

user = pi
password = raspberry

# Connect to wired network
# Or shh from another computers ethernet connection

---------------------------------------------------------------------

sudo apt-get -y update

# Update to correct keyboard layout

sudo dpkg-reconfigure keyboard-configuration

---------------------------------------------------------------------

# Generate locales

sudo dpkg-reconfigure locales
            #add correct language mine for US
                en_US.UTF-8

-----------------------------------------------------------------------

#Update Time Zone

sudo dpkg-reconfigure tzdata

sudo reboot -n

----------------------------------------------------------------------

# Install kernel Raspberry Pi 2, Pi 3 default build configuration on PI Note: this kernel has no bad habits

sudo apt-get install git bc
git clone --depth=1 https://github.com/raspberrypi/linux -b rpi-4.14.y-rt
cd linux
KERNEL=kernel7
make bcm2709_defconfig
make menuconfig

#CONFIG_PREEMPT_RT_FULL-Kernel Feature --> Preeemption Model (full
#Preemptble Kernel(RT) --> Fully Preemptble Kernel(RT)

make -j4 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img
sudo reboot -n

----------------------------------------------------------------------

# RPI 2 or 3 for XFCE Desktop

sudo apt-get install -y xfce4 xorg lightdm wpagui htop synaptic chromium-browser xfce4-terminal mousepad xfce4-power-manager thunar-archive-plugin convertall galculator mesa-utils

-----------------------------------------------------------------------

# To improve latency

cd /boot
sudo mousepad cmdline.txt

#Add at the end

quiet splash lapic noxsave acpi_osi= isolcpus=2,3 acpi_irq_nobalance noirqbalance vmalloc=32MB clocksource=acpi_pm

sudo reboot -n
------------------------------------------------------------------------

#Install Machinekit

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 43DDF224

sudo sh -c \
  "echo 'deb http://deb.machinekit.io/debian jessie main' > \
  /etc/apt/sources.list.d/machinekit.list"

sudo apt-get update

sudo apt-get install machinekit-rt-preempt

------------------------------------------------------------------------------------------

If you want to use this image on a RPI3+ do the following
You'll need to do this first step on a pi3 (not plus):

    Update the bootloader:

   sudo SKIP_KERNEL=1 rpi-update ef7621d91cb58ccc856c3c17ddda28685edd23f3

      New WiFi driver

    Download and install the new WiFi drivers:

    wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb
    sudo dpkg -i firmware-brcm80211_20161130-3+rpt3_all.deb

Now you should have a Jessie install that works on 3B+ including WiFi support.

-------------------------------------------------------------------------

#To make image backup of sdcard on a linux computer I think this works on MAC also

# First use Gparted to shrink second partition

sudo fdisk -u -l   <----use to find where sdcard is mounted run without card, then with card
sudo fdisk -u -l /dev/mmcblk0 <----run with name of sdcard in my computer this is /dev/mmcblk0 your card may be named different
-----------------------------------------------------
----------------Screen Shot--------------------------
Disk /dev/mmcblk0: 30 GiB, 32191283200 bytes, 62873600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x46f1a0e2

Device         Boot Start     End Sectors  Size Id Type
/dev/mmcblk0p1       8192   93813   85622 41.8M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 5869567 5775360  2.8G 83 Linux
-----------------------------------------------------
-----------------------------------------------------
sudo dd if=/dev/mmcblk0 of=~/rpi_xfce.img count=5869567  <---- # = END of sectors on second partition, yours will be different

# Remember to exspand file system with raspi-config when rewiting to a new sdcard


Mug Kie when you have people come look have the read the whole thread

Tim

KL Chin

unread,
Aug 7, 2018, 4:45:46 AM8/7/18
to Machinekit
Hi Tim, 

I think the pin layout not correct as compare to the pins in hal_gpio.c

#rpi2_gpios[] = {2, 3, 4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 };
#rpi2_pins[] =  {3, 5, 7, 29, 31, 26, 24, 21, 19, 23, 32, 33,  8, 10, 36, 11, 12, 35, 38, 40, 15, 16, 18, 22, 37, 13 };

Can you verify it

  rpi2_pins   38, 40, 15, 16  should be  38, 15, 40, 16

Regards,
KL Chin

Daren Schwenke

unread,
Aug 8, 2018, 2:50:24 PM8/8/18
to Machinekit
Curious, what kind of step rates can you reliably get out of this on the Pi?


On Sunday, June 17, 2018 at 12:06:02 PM UTC-4, Timothy March wrote:

Timothy March

unread,
Aug 9, 2018, 9:19:47 AM8/9/18
to Machinekit
You are correct should be 38, 15, 40, 16 my mistakes

Timothy March

unread,
Aug 9, 2018, 9:22:20 AM8/9/18
to Machinekit
Maybe someone who has a machine setup with this could would reply

Timothy March

unread,
Aug 9, 2018, 10:04:14 AM8/9/18
to Machinekit
Thank you KL Chin

Tim

KL Chin

unread,
Aug 11, 2018, 11:16:10 AM8/11/18
to Machinekit

Hi Tim,

Sorry to disturb you again.

Just wanted to confirm that do you experience this weird symptom or not with RPi 3.

I had tested the sample PCB gcode file from thls link 

With the sample  \Theremino_CNC\GCodes\PCB Large\Alim1 ( optim 1m ) ( mill 1_40_25).gc
milling everything look normal, the stepping motors can return origin location.

But when minimised the MachineKit window, everything look weird, 
  1) stepper motors running faster, not according to the feeding velocity
  2) stepper motors missed steps, cannot return to origin location after complete milling (G00 X0.000 Y0.000 z10.000)
      it took about 1.45 hrs

Regards,
KL Chin






On Thursday, 9 August 2018 22:04:14 UTC+8, Timothy March wrote:
Thank you KL Chin

Tim

Timothy March

unread,
Aug 11, 2018, 3:30:14 PM8/11/18
to Machinekit
I am still building machine cannot duplicate for you sorry

Tim

Timothy March

unread,
Aug 11, 2018, 3:43:23 PM8/11/18
to Machinekit
I have a question for you are you using Jessie or Stretch? Stretch has a memory leak with Axis GUI it will eventually use up all memory. I have post in this thread on how to setup Jessie light check it out

KL Chin

unread,
Aug 11, 2018, 11:25:27 PM8/11/18
to Machinekit

Hi Tim,

TQVM for your reply and your help.  So far I had no memory issue. Also I using 2gb swapfile.

I using RPi Stretch build from source 4.14. y-rt and RealtimePi OS.

Both behave the same when I minimise the window, the stepper speed immediate out of sync.
So I do not think is memory issue,

Under RealtimePi I can get the stepper motor back to origin after complete, still testing. 
But not under RPi Stretch (Tested LinuxCNC and Machinekit), even with 6-8mm/min velocity.

Will try to with Jessie soon.

Regards,
KL Chin

schoo...@btinternet.com

unread,
Aug 12, 2018, 1:59:54 AM8/12/18
to machi...@googlegroups.com
Can you please quantify the assertion that Stretch has a memory leak
with Axis.

I have been using Stretch since it was alpha status.  Usually any memory
leak is with a program and will manifest irrespective of the distro.

Timothy March

unread,
Aug 12, 2018, 9:34:42 AM8/12/18
to Machinekit
On RPI using RT kernel with Stretch and it dosen’t matter which RT kernel you use. I use Htop to monitor system memory climbs until it is out. This happens on RPI and Tinkerboard but not when using Jessie it is a very slow leak

Tim

schoo...@btinternet.com

unread,
Aug 12, 2018, 11:05:53 AM8/12/18
to machi...@googlegroups.com
Without precise details of what you are doing, it is impossible to judge.

It is well known that big gcode files will cause Axis to eat all memory
on small boards when doing a preview, but that is NOT a leak.

Whether that happens more quickly on Stretch, which may well be a
'heavier' system, I don't know.

You can mitigate it to an extent by disabling previews, has been
discussed many times on this list.
The only full solution is to use a more capable computer / board or a
different GUI.

TJoseph Powderly

unread,
Aug 13, 2018, 1:39:32 AM8/13/18
to Machinekit
Hello, I cannot get any inputs to work.

system:  Rpi3B+ MK, I ssh into it and use halrun to test hardware

pi@raspberrypi:~/Downloads/DUPEmk-raspi3bPlus--hal_gpio $ uname -a
Linux raspberrypi 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC 2016 armv7l GNU/Linux

outputs seem ok ( not everyone tested yet, but several )

input wiring is classic external pulldown, with inline current limit:
  rpin1(3.3V) to spst switch com , 
  spst switch n.o. to 10K to rpin39(gnd),
  spst n.o. also to 1K to rpin input ( any of 26 pins tested )

real meter on rpi pin shows 0 (inactive) to 3.3V swing(switch closed)
halmeter shows no change while switch is operated
"show pin hal_gpio.*" displays all pins as input but all FALSE in any switch position, on any of 26 pins

(again every pin can be used as output , i drive leds thru  ULN2803a when I test the outputs , different DIR different EXCLUDE of course)

               hal file   ( enables ALL pins and cfgs as INPUTS )
-------------------------------------------------
loadrt hal_gpio exclude=0 dir=0   

newthread fast 100000
newthread slow 1000000 fp

addf hal_gpio.write fast

start
------------------------------------
                               halrun session:
#Component Pins:
#  Comp   Inst Type  Dir         Value  Name                                            Epsilon Flags  linked to:
#    78        bit   OUT         FALSE  hal_gpio.pin-03-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-05-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-07-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-08-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-10-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-11-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-12-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-13-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-15-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-16-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-18-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-19-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-21-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-22-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-23-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-24-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-26-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-29-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-31-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-32-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-33-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-35-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-36-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-37-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-38-in                                      --l-
#    78        bit   OUT         FALSE  hal_gpio.pin-40-in                                      --l-

I dont see what I'm doing wrong.
I thought I had the cfg dir and exclude wrong, so i went to dir=0 exclude=0 to avoid that as a problem

what does the "Epsilon --l- " mean?

tomp


Alexander Rössler

unread,
Aug 13, 2018, 5:23:04 AM8/13/18
to Machinekit, TJoseph Powderly
Ignore the epsilon, this is for Hal Remote.

TJoseph Powderly

unread,
Aug 13, 2018, 8:01:08 AM8/13/18
to Machinekit
(please view with monospace font so columns align, google groups 'Normal Normal' seems to work )

Alexander, thank you ( less to worry about)

I would re-phrase the last message...
I cannot get any inputs to work >>using hal_gpio<<
All work fine with RPi.GPIO python module.
( and i mean ALL as i just finished testing each bit )

Also, I think, another an error
gpio22 is coded to align with rpin15
and
gpio21 is coded to align with rpin40
BUT enabling gpio22 gets you hal_gpio.pin-40-in
and enabling gpio21 gets you hal_gpio.pin-15-in
the pairs are crossed

i made 26 configurations,  testing each pin individually.

here's the test.hal and the recorded rpin created for every bit in the 26 possible

substitute the decimal 'exclude' parameter for the rpin desired

--------------------------------- snip -----------------------------------------------
# x.hal scratch file to test each gpio bit , just walk the bits  1 2 4 8 16...
# damn not walkthe bits, its walk the NOT bit so always a huge frkn number
#11111111111111111111111110 = 67108862 gpio2  gets rpin3  as input
#11111111111111111111111101 = 67108861 gpio3  gets rpin5  as input
#11111111111111111111111011 = 67108859 gpio4  gets rpin7  as input
#11111111111111111111110111 = 67108855 gpio5  gets rpin29 as input
#11111111111111111111101111 = 67108847 gpio6  gets rpin31 as input
#11111111111111111111011111 = 67108831 gpio7  gets rpin26 as input
#11111111111111111110111111 = 67108799 gpio8  gets rpin24 as input
#11111111111111111101111111 = 67108735 gpio9  gets rpin21 as input
#11111111111111111011111111 = 67108607 gpio10 gets rpin19 as input
#11111111111111110111111111 = 67108351 gpio11 gets rpin23 as input
#11111111111111101111111111 = 67107839 gpio12 gets rpin32 as input
#11111111111111011111111111 = 67106815 gpio13 gets rpin33 as input
#11111111111110111111111111 = 67104767 gpio14 gets rpin8  as input
#11111111111101111111111111 = 67100671 gpio15 gets rpin10 as input
#11111111111011111111111111 = 67092479 gpio16 gets rpin36 as input
#11111111110111111111111111 = 67076095 gpio17 gets rpin11 as input
#11111111101111111111111111 = 67043327 gpio18 gets rpin12 as input
#11111111011111111111111111 = 66977791 gpio19 gets rpin35 as input
#11111110111111111111111111 = 66846719 gpio20 gets rpin38 as input
#11111101111111111111111111 = 66584575 gpio21 gets rpin15 as input
#11111011111111111111111111 = 66060287 gpio22 gets rpin40 as input
#11110111111111111111111111 = 65011711 gpio23 gets rpin16 as input
#11101111111111111111111111 = 62914559 gpio24 gets rpin18 as input
#11011111111111111111111111 = 58720255 gpio25 gets rpin22 as input
#10111111111111111111111111 = 50331647 gpio26 gets rpin37 as input
#01111111111111111111111111 = 33554431 gpio27 gets rpin13 as input

# results, this is truth, its what actually happens, wether code is right or wrong, this is the result
# 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0  GPIO#

#
# original code from hal_gpio.c retrieved from github 13aug2018
#// Raspberry2/3:   edited so the 2 data were adjacent vertically
#static unsigned char rpi2_gpios[] =                                        *   * these 2 pairs are suspect
#{2, 3, 4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 21, 23, 24, 25, 26, 27 };
#{3, 5, 7, 29, 31, 26, 24, 21, 19, 23, 32, 33,  8, 10, 36, 11, 12, 35, 38, 15, 40, 16, 18, 22, 37, 13 };
#static unsigned char rpi2_pins[] =
#
# the original code uses 2 aligned arrays of the gpios and the rpins
# how is it possible to get a different result from them? they are like a python dictionary
#
# also where is the code for setting the pin to input, this fails also.
#
# hal show will report the pin as an input but it does not react to 3.3 or 0V changes ( NONE of 26 tested will change )
# despite hal show hal_gpio.* reporting they are all inputs, thier states are fixed forever

# edit the exclude value according to the rpin to be created, there will onlybe one pin and it will be an input
loadrt hal_gpio exclude=67108799 dir=0


newthread fast 100000
newthread slow 1000000 fp

addf hal_gpio.write fast

start
---------- now use show pin hal_gpio.*  and a halmeter as you like

I'd like to use the pi's gpio
regards
TomP

KL Chin

unread,
Aug 13, 2018, 8:21:12 AM8/13/18
to Machinekit
Hi Tim,

I had using stretch for about 12hrs already.

I do not experience memory leak. Without zooming and hence the CPU about 70+%.

Could it be leakage during high CPU usage or/and large GCode file?

Regards,
KL Chin

Timothy March

unread,
Aug 13, 2018, 9:04:10 AM8/13/18
to Machinekit
To KL Chin
I just setup Stretch SDcard again last night and tried it briefly before I left for work today. Gcode I am using is Machinekit Splash Goode. I just start Axis and open Htop I do not have to run code screen just displaying Axis memory usage climbs very slowly. When I found this a wile back it to over 36 hours to eat up all available memory. If you shut down Axis memory returns to normal

Tim

KL Chin

unread,
Aug 13, 2018, 12:09:23 PM8/13/18
to Machinekit
Hi Tim,

I tested 2 version.

a) RealtimePi + MachineKit (ver 0.1)
b) RPi Stretch + LinuxCNC (2.8.1-Pre)

So far, both no memory leakage.

Maybe I will try without running the code.

Regards,
KL chin

pcwcol

unread,
Aug 13, 2018, 9:57:25 PM8/13/18
to Machinekit
I have had a LinuxCNC 2.8.1-Pre +Axis test running on a RPI with Raspbian Stretch + Preempt-RT kernel
for at least 3 weeks now without any noticeable memory issue.
This is with a fairly dense Gcode example running + hardware accelerated OpenGL + real I/O hardware

KL Chin

unread,
Aug 13, 2018, 10:02:24 PM8/13/18
to Machinekit
Hi Tim,

I did quick test Stretch + Axis, just turn on without run the milling with default gcode.

  a) MachineKit - memory leakage 
  b) LinuxCNC - no leakage

Regards,
KL Chin

KL Chin

unread,
Aug 14, 2018, 3:38:27 AM8/14/18
to Machinekit
Hi Tim,

FYI, the Stretch + Axis + MK memory leak is about 1MByte per min.

Not sure what the differents for Axis under LinuxCNC and MachineKit.

Regards,
KL Chin

TJoseph Powderly

unread,
Aug 16, 2018, 10:03:25 PM8/16/18
to Machinekit
Hello

i could not get hal_gpio inputs to work

until

(doh!)

addf hal_gpio.read threadname

arrgh! i spent days building systems and failing because of that omission.

-----------this works great-----------------

# hal_gpioTestAllInputs.hal

# next line allows all gpio pins and makes them all Inputs

loadrt hal_gpio exclude=0 dir=0

newthread fast 100000
newthread slow 1000000 fp

#loadusr halmeter

# new vvv
addf hal_gpio.read fast
# new ^^^

addf hal_gpio.write fast

# beware inputs are floating and wild, an external 10K to gnd will tame them
start

---------------eof------------------------

thanks to all tomp

KL Chin

unread,
Aug 26, 2018, 10:37:34 AM8/26/18
to Machinekit
Hi Tim,

Regards this ->  git clone --depth=1 https://github.com/raspberrypi/linux -b rpi-4.14.y-rt
Did you able to compile a stable version of image?

I was able to build it but the out come no so stable. The RT-test not stable, the 
result beyond expectation, at one point the latency become minus value.

Suddenly somehow after running few time of LinuxCNC the system not able to shutdown 
and finally the whole SD image cannot boot-up and had to rebuild.

Regards,
KL Chin

Timothy March

unread,
Aug 27, 2018, 3:22:29 PM8/27/18
to Machinekit
KL Chin I did succeed in building this RPI image on a RPI3b+ should work on RPI3b also, just skip section on RPI update and WiFi driver load.

Tim

Timothy March

unread,
Aug 27, 2018, 3:36:08 PM8/27/18
to Machinekit
KL Chin also start with Jessie lite download

Regards
Tim

Timothy March

unread,
Aug 27, 2018, 3:42:31 PM8/27/18
to Machinekit
KL Chin why are you using LinuxCnc instead of Machinekit? The hal_gipo only works with Machinekit there is no gipo driver for LinuxCnc.

Tim

KL Chin

unread,
Aug 27, 2018, 10:24:28 PM8/27/18
to Machinekit
OK.  Will try it.

BTW, other then Axis memory leakage issue ans more Lite version, 
what other reasons to use Jessie to build RT image?
As I still new to Linux environment.

Regards,
KL Chin

KL Chin

unread,
Aug 27, 2018, 10:36:53 PM8/27/18
to Machinekit
Hi Tim,

I still testing both.

1) LinuxCNC had already 2.8 but MachineKit still based on 2.6.
2) The StepConf was so slow with MachineKit.
3) The Gui sample works on LinuxCNC

BTW. I had attached the hal_gpio.so for LinuxCNC, may be you can try it.
Just copy to LinuxCNC rtlib folder. I just change few lines of the hal_gpio.c.

Regards,
KL Chin
hal_gpio.so

Timothy March

unread,
Aug 28, 2018, 6:12:55 AM8/28/18
to Machinekit
KL Chin memory leakage is the issue I had it using LinuxCnc and Machinekit

Tim

Timothy March

unread,
Aug 28, 2018, 6:16:18 AM8/28/18
to Machinekit
I will try your file soon working a lot of overtime now it will be a bit before I can try

Tim

KL Chin

unread,
Aug 28, 2018, 6:21:46 AM8/28/18
to Machinekit

Very strange. I did not have leakage with LinuxCNC.

Look like I got another problem, after build new RT look more stable but only 2 core working. 
Got any ideal?

Regards.
KL Chin/

KL Chin

unread,
Aug 28, 2018, 6:27:24 AM8/28/18
to Machinekit
Hi Tomp,

Here the edited hal_gpio.c, it required 2 files from MachineKit, copy it to linuxcnc/src/hal/drivers folder.
then u can start build it.  

Pls. check the Makefile also, search for hal_gpio.

Regards,
KL Chin
hal_gpio.c
Makefile

Timothy March

unread,
Aug 28, 2018, 6:32:05 AM8/28/18
to Machinekit
KL Chin almost forgot other issue with Stretch and LinuxCnc is Build Bot repo dose not have armhf packages

Tim

Timothy March

unread,
Aug 28, 2018, 6:40:31 AM8/28/18
to Machinekit
KL Chin the cmdline.txt isolcpus=2,3 is what limits cores to 0,1 if only using two cores latency will be lower

Tim

KL Chin

unread,
Aug 28, 2018, 6:50:34 AM8/28/18
to Machinekit
Hi Tim,

Ya. I think that the reason.  I had added this param for my last build.

Regards.
KL Chin.

Timothy March

unread,
Aug 28, 2018, 8:20:29 AM8/28/18
to Machinekit
KL Chin you might what to try isolcpus=3 I vaguely remember having good latency with using 3 cores. If you try it post to let me know

Tim

KL Chin

unread,
Aug 28, 2018, 12:10:43 PM8/28/18
to Machinekit
Hi Tim,

With isolcpus=2,3 work great stable latency abt 100xxx ns, even with 4 glxgears..

But just isolcpus=3, failed terrible. jitters event.without glxgears.

See attaches.

Regards,
KL Chin
IMG_20180828_235441.jpg
IMG_20180828_234250.jpg
IMG_20180828_234937.jpg

KL Chin

unread,
Aug 28, 2018, 12:27:14 PM8/28/18
to Machinekit
Hi Tim,

Test on MachineKit with isolcpus=3, it work great. Jitter (ns) abt 12xxxx.
No ideal what the latency-test different LinuxCNC and MachinKit.

Regards,
KL Chin
IMG_20180829_002050.jpg

Timothy March

unread,
Aug 28, 2018, 12:46:11 PM8/28/18
to Machinekit
KL Chin thanks for the info when I find time to try your file I will use this info

Tim

Timothy March

unread,
Aug 28, 2018, 1:02:30 PM8/28/18
to Machinekit
KL Chin I do believe the difference between latency test are LinuxCnc has both Base thread and Servo thread running. Machinekit just has Servo thread. With LinuxCnc you might want to try command line:

latency-histogram —nobase

Lantecy test then may be comparable

Tim

KL Chin

unread,
Aug 29, 2018, 4:18:00 AM8/29/18
to Machinekit
Hi Tim,

TQVM.. With latency-histogram —nobase, the latency look good under LinuxCNC. 

Regards,
KL Chin

schoo...@gmail.com

unread,
Aug 29, 2018, 4:37:17 AM8/29/18
to machi...@googlegroups.com
If you run a dummy base thread, but don't actually connect anything to it, it can improve latency with rt-preempt on multi-core processors.

I suspect it just prevents cache hopping, by keeping all the code in one cache whilst the other processor deals with the base thread.

Experiment using 'latency-test 50us 1ms' as opposed to just 'latency-test' which will start just a 1ms servo thread by default.

Linuxcnc is still oriented towards software step generation, so always runs a base thread on a latency test unless specifically told otherwise.
--
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+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Timothy March

unread,
Aug 29, 2018, 9:30:33 AM8/29/18
to Machinekit
Thank you Schooner

KL Chin

unread,
Aug 29, 2018, 9:35:41 AM8/29/18
to Machinekit
Hi Schooner

TQVM.  With the "latency-test 50us 1m" the result show much accurate results also with glxgear.

Regards,
KL Chin

Timothy March

unread,
Sep 3, 2018, 9:27:41 PM9/3/18
to Machinekit
KL Chin
I had a chance to try your fiile with LinuxCnc this weekend the file worked but latency was not good. The best  latency with with isolcpus=2,3 kernel boot parameter. When running LinuxCnc gcode would run but would error with latency fault.

Screenshot from 2018-09-03 20-49-10.png


Screenshot from 2018-09-03 20-48-26.png


pastbin files for my config


The following is my-foam.ini

https://pastebin.com/fq1ZDrxY


thefollowing is my-foam.hal

The following is file standard_pinout.hal

Machinekit worked much better used boot parameter isolcpus=3 I liked the idea of having 3 cores running instaed of two. Axis GUI worked flawlessly with Machinekit but Axis GUI with LinuxCnc worked but was choppy 


Regards
Tim

Reply all
Reply to author
Forward
0 new messages