Mesa 7i92M Support

More
9 years 7 months ago #89038 by andypugh
Replied by andypugh on topic Mesa 7i92M Support

tuffduck33 wrote: The following lines need to be changed to use the GPIO on the G540, not the parallel port. Directions on the web on how to accomplish this, not easy to find.


You need to replace all the "parport.0.pin-NN-in" pins with the hm2_7i92.0.gpio-NNN-in pins in the HAL file.

If you look at the pin listing produced earlier you will see that there are lots of them, though, and the NNN numbers on the 7i92 do not correspond 1 to 1 with the parport.0.NN numbers.

The correspondence would have been printed out by the dimes command, but you don't seem to have given us that, or the mesaflash command that PCW gave you to try. But in the absence of those, here it is from the Mesa firmware source code.
Code:
Base func sec unit sec func GPIO pin -- external DB25 "00"&NullTag & NullPin, -- I/O 00 PIN 1 Output 2 just GPIO "00"& PWMTag & PWMAOutPin, -- I/O 01 PIN 14 Spindle DAC PWM "00" & StepGenTag & StepGenStepPin, -- I/O 02 PIN 2 X Step "00" & NullTag & NullPin, -- I/O 03 PIN 15 Fault in just GPIO "00" & StepGenTag & StepGenDirPin, -- I/O 04 PIN 3 X Dir "04" & StepGenTag & StepGenStepPin, -- I/O 05 PIN 16 Charge Pump (16 KHz) "01" & StepGenTag & StepGenStepPin, -- I/O 06 PIN 4 Y Step "00" & NullTag & NullPin, -- I/O 07 PIN 17 Output 1 just GPIO "01" & StepGenTag & StepGenDirPin, -- I/O 08 PIN 5 Y Dir "02" & StepGenTag & StepGenStepPin, -- I/O 09 PIN 6 Z Step "02" & StepGenTag & StepGenDirPin, -- I/O 10 PIN 7 Z Dir "03" & StepGenTag & StepGenStepPin, -- I/O 11 PIN 8 A Step "03" & StepGenTag & StepGenDirPin, -- I/O 12 PIN 9 A Dir "00" & QCountTag & QCountQAPin, -- I/O 13 PIN 10 Input 1 (Quad A) "00" & QCountTag & QCountQBPin, -- I/O 14 PIN 11 Input 2 (Quad B) "00" & QCountTag & QCountIdxPin, -- I/O 15 PIN 12 Input 3 (Quad Idx) "00" & NullTag & NullPin, -- I/O 16 PIN 13 Input 4 just GPIO


So I _think_ that, for example,
Code:
# --- JOG-X-POS --- net jog-x-pos <= parport.0.pin-03-in
would become
Code:
# --- JOG-X-POS --- net jog-x-pos <= hm2_7i92.0.gpio-004-in-in
Except that isn't right, because the G540 (in hardware) makes the Parport-03/GPIO-04 into an output-only pin. As far as I can tell the G540 only offers you 4 input pins, and three of those might be needed for a spindle encoder.

Unlike a parallel port the GPIO pins on the 7i92 can be individually set to be inputs and outputs, and you have 17 of them on the secondary header available

How many physical input pins do you need?

Please Log in to join the conversation.

More
9 years 7 months ago #89063 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Definitely way more complicated than I imagined. The basic setup I have uses 3 steppers, e-stop, 3 home switches. I have never been able to get the G540 and the VFD to work together so I have done it manually. I have rerun the terminal commands and have posted them below;

debian@debian:~$ mesaflash --device 7i92 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2

General configuration information:
Code:
BoardName : MESA7I92 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 100.0000 MHz Clock High frequency: 200.0000 MHz IDROM Type: 3 Instance Stride 0: 4 Instance Stride 1: 64 Register Stride 0: 256 Register Stride 1: 256 Modules in configuration: Module: DPLL There are 1 of DPLL in configuration Version: 0 Registers: 7 BaseAddress: 7000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: IOPort There are 2 of IOPort in configuration Version: 0 Registers: 5 BaseAddress: 1000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: QCount There are 2 of QCount in configuration Version: 2 Registers: 5 BaseAddress: 3000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: StepGen There are 10 of StepGen in configuration Version: 2 Registers: 10 BaseAddress: 2000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: PWM There are 2 of PWM in configuration Version: 0 Registers: 5 BaseAddress: 4100 ClockFrequency: 200.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort None 14 1 IOPort PWM 0 PWM (Out) 2 2 IOPort StepGen 0 Step/Table1 (Out) 15 3 IOPort None 3 4 IOPort StepGen 0 Dir/Table2 (Out) 16 5 IOPort StepGen 4 Step/Table1 (Out) 4 6 IOPort StepGen 1 Step/Table1 (Out) 17 7 IOPort None 5 8 IOPort StepGen 1 Dir/Table2 (Out) 6 9 IOPort StepGen 2 Step/Table1 (Out) 7 10 IOPort StepGen 2 Dir/Table2 (Out) 8 11 IOPort StepGen 3 Step/Table1 (Out) 9 12 IOPort StepGen 3 Dir/Table2 (Out) 10 13 IOPort QCount 0 Quad-A (In) 11 14 IOPort QCount 0 Quad-B (In) 12 15 IOPort QCount 0 Quad-IDX (In) 13 16 IOPort None IO Connections for P1 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort None 14 18 IOPort PWM 1 PWM (Out) 2 19 IOPort StepGen 5 Step/Table1 (Out) 15 20 IOPort None 3 21 IOPort StepGen 5 Dir/Table2 (Out) 16 22 IOPort StepGen 9 Step/Table1 (Out) 4 23 IOPort StepGen 6 Step/Table1 (Out) 17 24 IOPort None 5 25 IOPort StepGen 6 Dir/Table2 (Out) 6 26 IOPort StepGen 7 Step/Table1 (Out) 7 27 IOPort StepGen 7 Dir/Table2 (Out) 8 28 IOPort StepGen 8 Step/Table1 (Out) 9 29 IOPort StepGen 8 Dir/Table2 (Out) 10 30 IOPort QCount 1 Quad-A (In) 11 31 IOPort QCount 1 Quad-B (In) 12 32 IOPort QCount 1 Quad-IDX (In) 13 33 IOPort None debian@debian:~$ debian@debian:~$ sudo dmesg -c [ 0.274117] PCI: pci_cache_line_size set to 64 bytes [ 0.274285] reserve RAM buffer: 000000000009fc00 - 000000000009ffff [ 0.274292] reserve RAM buffer: 00000000bfe4b000 - 00000000bfffffff [ 0.274297] reserve RAM buffer: 00000000bfeed000 - 00000000bfffffff [ 0.274302] reserve RAM buffer: 00000000bff00000 - 00000000bfffffff [ 0.274702] hpet clockevent registered [ 0.274710] HPET: 3 timers in total, 0 timers will be used for per-cpu timer [ 0.274717] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.274727] hpet0: 3 comparators, 64-bit 14.318180 MHz counter [ 0.284074] AMD NB: Cannot enumerate AMD northbridges. [ 0.284080] Switching to clocksource hpet [ 0.292194] pnp: PnP ACPI init [ 0.292238] ACPI: bus type pnp registered [ 0.296120] pnp 00:00: [bus 00-ff] [ 0.296126] pnp 00:00: [io 0x0cf8-0x0cff] [ 0.296132] pnp 00:00: [io 0x0000-0x0cf7 window] [ 0.296136] pnp 00:00: [io 0x0d00-0xffff window] [ 0.296142] pnp 00:00: [mem 0x000a0000-0x000bffff window] [ 0.296150] pnp 00:00: [mem 0x000e0000-0x000effff window] [ 0.296155] pnp 00:00: [mem 0xf8000000-0xfebfffff window] [ 0.296159] pnp 00:00: [mem 0xc0000000-0xf0000000 window] [ 0.296277] pnp 00:00: Plug and Play ACPI device, IDs PNP0a03 (active) [ 0.296323] pnp 00:01: [mem 0xf0000000-0xf3ffffff] [ 0.296329] pnp 00:01: [mem 0xfed13000-0xfed13fff] [ 0.296333] pnp 00:01: [mem 0xfed14000-0xfed17fff] [ 0.296338] pnp 00:01: [mem 0xfed18000-0xfed18fff] [ 0.296342] pnp 00:01: [mem 0xfed19000-0xfed19fff] [ 0.296346] pnp 00:01: [mem 0xfed1c000-0xfed1ffff] [ 0.296351] pnp 00:01: [mem 0xfed20000-0xfed9ffff] [ 0.296355] pnp 00:01: [mem 0x000c0000-0x000dffff] [ 0.296360] pnp 00:01: [mem 0x000e0000-0x000fffff] [ 0.296513] system 00:01: [mem 0xf0000000-0xf3ffffff] has been reserved [ 0.296520] system 00:01: [mem 0xfed13000-0xfed13fff] has been reserved [ 0.296527] system 00:01: [mem 0xfed14000-0xfed17fff] has been reserved [ 0.296533] system 00:01: [mem 0xfed18000-0xfed18fff] has been reserved [ 0.296539] system 00:01: [mem 0xfed19000-0xfed19fff] has been reserved [ 0.296546] system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved [ 0.296552] system 00:01: [mem 0xfed20000-0xfed9ffff] has been reserved [ 0.296560] system 00:01: [mem 0x000c0000-0x000dffff] could not be reserved [ 0.296567] system 00:01: [mem 0x000e0000-0x000fffff] could not be reserved [ 0.296574] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.297097] pnp 00:02: [io 0x0000-0x000f] [ 0.297103] pnp 00:02: [io 0x0081-0x0083] [ 0.297107] pnp 00:02: [io 0x0087] [ 0.297112] pnp 00:02: [io 0x0089-0x008b] [ 0.297116] pnp 00:02: [io 0x008f] [ 0.297120] pnp 00:02: [io 0x00c0-0x00df] [ 0.297125] pnp 00:02: [dma 4] [ 0.297210] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active) [ 0.297247] pnp 00:03: [io 0x0070-0x0071] [ 0.297252] pnp 00:03: [io 0x0074-0x0077] [ 0.297269] pnp 00:03: [irq 8] [ 0.297347] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.297388] pnp 00:04: [io 0x00f0] [ 0.297402] pnp 00:04: [irq 13] [ 0.297484] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active) [ 0.297527] pnp 00:05: [io 0x0061] [ 0.297612] pnp 00:05: Plug and Play ACPI device, IDs PNP0800 (active) [ 0.297645] pnp 00:06: [io 0x0500-0x053f] [ 0.297650] pnp 00:06: [io 0x0400-0x047f] [ 0.297655] pnp 00:06: [io 0x0092] [ 0.297659] pnp 00:06: [io 0x0680-0x06ff] [ 0.297663] pnp 00:06: [io 0x0010-0x001f] [ 0.297668] pnp 00:06: [io 0x0072-0x0073] [ 0.297672] pnp 00:06: [io 0x0080] [ 0.297676] pnp 00:06: [io 0x0084-0x0086] [ 0.297680] pnp 00:06: [io 0x0088] [ 0.297684] pnp 00:06: [io 0x008c-0x008e] [ 0.297689] pnp 00:06: [io 0x0090-0x009f] [ 0.297844] system 00:06: [io 0x0500-0x053f] has been reserved [ 0.297852] system 00:06: [io 0x0400-0x047f] could not be reserved [ 0.297858] system 00:06: [io 0x0680-0x06ff] has been reserved [ 0.297865] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.298435] pnp 00:07: [irq 12] [ 0.298522] pnp 00:07: Plug and Play ACPI device, IDs PNP0f03 PNP0f13 (active) [ 0.298598] pnp 00:08: [io 0x0060] [ 0.298603] pnp 00:08: [io 0x0064] [ 0.298613] pnp 00:08: [irq 1] [ 0.298703] pnp 00:08: Plug and Play ACPI device, IDs PNP0303 PNP030b (active) [ 0.299128] pnp 00:09: [io 0x03f8-0x03ff] [ 0.299138] pnp 00:09: [irq 4] [ 0.299336] pnp 00:09: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.299581] pnp 00:0a: [mem 0xfec00000-0xfec000ff] [ 0.299674] pnp 00:0a: Plug and Play ACPI device, IDs PNP0003 (active) [ 0.299797] pnp: PnP ACPI: found 11 devices [ 0.299801] ACPI: ACPI bus type pnp unregistered [ 0.311059] pci 0000:01:00.0: no compatible bridge window for [mem 0xfffe0000-0xffffffff pref] [ 0.311074] PCI: max bus depth: 1 pci_try_num: 2 [ 0.311138] pci 0000:00:1c.3: BAR 15: assigned [mem 0xd2500000-0xd26fffff 64bit pref] [ 0.311149] pci 0000:00:1c.3: BAR 13: assigned [io 0x3000-0x3fff] [ 0.311157] pci 0000:00:1c.2: BAR 15: assigned [mem 0xd2700000-0xd28fffff 64bit pref] [ 0.311164] pci 0000:00:1c.2: BAR 13: assigned [io 0x4000-0x4fff] [ 0.311171] pci 0000:00:1c.0: BAR 15: assigned [mem 0xd2900000-0xd2afffff 64bit pref] [ 0.311178] pci 0000:00:1c.0: BAR 13: assigned [io 0x5000-0x5fff] [ 0.311189] pci 0000:01:00.0: BAR 6: can't assign mem pref (size 0x20000) [ 0.311195] pci 0000:00:01.0: PCI bridge to [bus 01-01] [ 0.311202] pci 0000:00:01.0: bridge window [mem 0xd0000000-0xd1ffffff] [ 0.311207] pci 0000:00:01.0: bridge window [mem 0xc0000000-0xcfffffff 64bit pref] [ 0.311215] pci 0000:00:1c.0: PCI bridge to [bus 02-02] [ 0.311220] pci 0000:00:1c.0: bridge window [io 0x5000-0x5fff] [ 0.311227] pci 0000:00:1c.0: bridge window [mem 0xd2200000-0xd22fffff] [ 0.311233] pci 0000:00:1c.0: bridge window [mem 0xd2900000-0xd2afffff 64bit pref] [ 0.311242] pci 0000:00:1c.2: PCI bridge to [bus 03-03] [ 0.311247] pci 0000:00:1c.2: bridge window [io 0x4000-0x4fff] [ 0.311254] pci 0000:00:1c.2: bridge window [mem 0xd2300000-0xd23fffff] [ 0.311260] pci 0000:00:1c.2: bridge window [mem 0xd2700000-0xd28fffff 64bit pref] [ 0.311269] pci 0000:00:1c.3: PCI bridge to [bus 04-04] [ 0.311273] pci 0000:00:1c.3: bridge window [io 0x3000-0x3fff] [ 0.311281] pci 0000:00:1c.3: bridge window [mem 0xd2400000-0xd24fffff] [ 0.311287] pci 0000:00:1c.3: bridge window [mem 0xd2500000-0xd26fffff 64bit pref] [ 0.311296] pci 0000:00:1e.0: PCI bridge to [bus 05-05] [ 0.311301] pci 0000:00:1e.0: bridge window [io 0x1000-0x1fff] [ 0.311308] pci 0000:00:1e.0: bridge window [mem 0xd2000000-0xd20fffff] [ 0.311343] pci 0000:00:01.0: setting latency timer to 64 [ 0.311373] pci 0000:00:1c.0: setting latency timer to 64 [ 0.311395] pci 0000:00:1c.2: setting latency timer to 64 [ 0.311417] pci 0000:00:1c.3: setting latency timer to 64 [ 0.311429] pci 0000:00:1e.0: setting latency timer to 64 [ 0.311435] pci_bus 0000:00: resource 0 [io 0x0000-0xffff] [ 0.311439] pci_bus 0000:00: resource 1 [mem 0x00000000-0xfffffffff] [ 0.311443] pci_bus 0000:01: resource 1 [mem 0xd0000000-0xd1ffffff] [ 0.311447] pci_bus 0000:01: resource 2 [mem 0xc0000000-0xcfffffff 64bit pref] [ 0.311452] pci_bus 0000:02: resource 0 [io 0x5000-0x5fff] [ 0.311455] pci_bus 0000:02: resource 1 [mem 0xd2200000-0xd22fffff] [ 0.311459] pci_bus 0000:02: resource 2 [mem 0xd2900000-0xd2afffff 64bit pref] [ 0.311464] pci_bus 0000:03: resource 0 [io 0x4000-0x4fff] [ 0.311468] pci_bus 0000:03: resource 1 [mem 0xd2300000-0xd23fffff] [ 0.311472] pci_bus 0000:03: resource 2 [mem 0xd2700000-0xd28fffff 64bit pref] [ 0.311476] pci_bus 0000:04: resource 0 [io 0x3000-0x3fff] [ 0.311480] pci_bus 0000:04: resource 1 [mem 0xd2400000-0xd24fffff] [ 0.311484] pci_bus 0000:04: resource 2 [mem 0xd2500000-0xd26fffff 64bit pref] [ 0.311488] pci_bus 0000:05: resource 0 [io 0x1000-0x1fff] [ 0.311492] pci_bus 0000:05: resource 1 [mem 0xd2000000-0xd20fffff] [ 0.311496] pci_bus 0000:05: resource 4 [io 0x0000-0xffff] [ 0.311500] pci_bus 0000:05: resource 5 [mem 0x00000000-0xfffffffff] [ 0.311634] NET: Registered protocol family 2 [ 0.314985] IP route cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.318406] TCP established hash table entries: 524288 (order: 11, 8388608 bytes) [ 0.324298] TCP bind hash table entries: 65536 (order: 9, 3670016 bytes) [ 0.326390] TCP: Hash tables configured (established 524288 bind 65536) [ 0.326395] TCP reno registered [ 0.326492] UDP hash table entries: 2048 (order: 6, 262144 bytes) [ 0.326721] UDP-Lite hash table entries: 2048 (order: 6, 262144 bytes) [ 0.327110] NET: Registered protocol family 1 [ 0.327475] pci 0000:01:00.0: Boot video device [ 0.327504] pci 0000:05:08.0: Firmware left e100 interrupts enabled; disabling [ 0.327519] PCI: CLS 0 bytes, default 64 [ 0.327674] Unpacking initramfs... [ 0.707551] Freeing initrd memory: 10384k freed [ 0.715815] audit: initializing netlink socket (disabled) [ 0.715844] type=2000 audit(1488736129.708:1): initialized [ 0.735759] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.736306] VFS: Disk quotas dquot_6.5.2 [ 0.736388] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.736567] msgmni has been set to 6034 [ 0.736967] alg: No test for stdrng (krng) [ 0.737033] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.737040] io scheduler noop registered [ 0.737043] io scheduler deadline registered [ 0.737075] io scheduler cfq registered (default) [ 0.737317] pcieport 0000:00:01.0: setting latency timer to 64 [ 0.737372] pcieport 0000:00:01.0: irq 40 for MSI/MSI-X [ 0.737485] pcieport 0000:00:1c.0: setting latency timer to 64 [ 0.737539] pcieport 0000:00:1c.0: irq 41 for MSI/MSI-X [ 0.737659] pcieport 0000:00:1c.2: setting latency timer to 64 [ 0.737712] pcieport 0000:00:1c.2: irq 42 for MSI/MSI-X [ 0.737833] pcieport 0000:00:1c.3: setting latency timer to 64 [ 0.737886] pcieport 0000:00:1c.3: irq 43 for MSI/MSI-X [ 0.738099] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.738168] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.738172] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.738970] ERST: Table is not found! [ 0.738974] GHES: HEST is not enabled! [ 0.739114] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.759556] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.880669] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.916294] Linux agpgart interface v0.103 [ 0.917025] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 [ 0.920424] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.920441] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.920817] mousedev: PS/2 mouse device common for all mice [ 0.920901] rtc_cmos 00:03: RTC can wake from S4 [ 0.921156] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 0.921251] rtc0: alarms up to one month, 114 bytes nvram, hpet irqs [ 0.921283] cpuidle: using governor ladder [ 0.921287] cpuidle: using governor menu [ 0.921975] TCP cubic registered [ 0.922066] NET: Registered protocol family 10 [ 0.923716] Mobile IPv6 [ 0.923723] NET: Registered protocol family 17 [ 0.923732] Registering the dns_resolver key type [ 0.924073] PM: Hibernation image not present or could not be loaded. [ 0.924109] registered taskstats version 1 [ 0.924723] rtc_cmos 00:03: setting system clock to 2017-03-05 17:48:50 UTC (1488736130) [ 0.924815] Initializing network drop monitor service [ 0.928109] Freeing unused kernel memory: 916k freed [ 0.928707] Write protecting the kernel read-only data: 6144k [ 0.932168] Freeing unused kernel memory: 548k freed [ 0.936508] Freeing unused kernel memory: 652k freed [ 0.941665] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.963728] udevd[64]: starting version 175 [ 1.081157] SCSI subsystem initialized [ 1.083613] usbcore: registered new interface driver usbfs [ 1.087505] usbcore: registered new interface driver hub [ 1.095801] libata version 3.00 loaded. [ 1.096570] usbcore: registered new device driver usb [ 1.099723] ata_piix 0000:00:1f.1: version 2.13 [ 1.099826] ata_piix 0000:00:1f.1: setting latency timer to 64 [ 1.103017] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.115629] scsi0 : ata_piix [ 1.125349] uhci_hcd: USB Universal Host Controller Interface driver [ 1.127688] scsi1 : ata_piix [ 1.133200] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI [ 1.133207] e100: Copyright(c) 1999-2006 Intel Corporation [ 1.143959] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x20b0 irq 14 [ 1.143967] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x20b8 irq 15 [ 1.144854] ehci_hcd 0000:00:1d.7: setting latency timer to 64 [ 1.144865] ehci_hcd 0000:00:1d.7: EHCI Host Controller [ 1.145002] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 [ 1.145046] ehci_hcd 0000:00:1d.7: using broken periodic workaround [ 1.145065] ehci_hcd 0000:00:1d.7: debug port 1 [ 1.150606] ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported [ 1.151196] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xd2100000 [ 1.156094] ata2: port disabled--ignoring [ 1.164172] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00 [ 1.166806] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.166815] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.166821] usb usb1: Product: EHCI Host Controller [ 1.166827] usb usb1: Manufacturer: Linux 3.2.0-4-rt-amd64 ehci_hcd [ 1.166832] usb usb1: SerialNumber: 0000:00:1d.7 [ 1.182793] hub 1-0:1.0: USB hub found [ 1.182812] hub 1-0:1.0: 8 ports detected [ 1.185594] e100 0000:05:08.0: eth0: addr 0xd2004000, irq 20, MAC addr 00:16:76:1f:1b:8e [ 1.187708] uhci_hcd 0000:00:1d.0: setting latency timer to 64 [ 1.187716] uhci_hcd 0000:00:1d.0: UHCI Host Controller [ 1.187818] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 [ 1.187933] uhci_hcd 0000:00:1d.0: irq 23, io base 0x00002080 [ 1.188170] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.188175] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.188179] usb usb2: Product: UHCI Host Controller [ 1.188183] usb usb2: Manufacturer: Linux 3.2.0-4-rt-amd64 uhci_hcd [ 1.188186] usb usb2: SerialNumber: 0000:00:1d.0 [ 1.193994] hub 2-0:1.0: USB hub found [ 1.194011] hub 2-0:1.0: 2 ports detected [ 1.195605] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ] [ 1.195694] ata_piix 0000:00:1f.2: setting latency timer to 64 [ 1.199318] scsi2 : ata_piix [ 1.199908] scsi3 : ata_piix [ 1.201450] ata3: SATA max UDMA/133 cmd 0x20c8 ctl 0x20e4 bmdma 0x20a0 irq 19 [ 1.201456] ata4: SATA max UDMA/133 cmd 0x20c0 ctl 0x20e0 bmdma 0x20a8 irq 19 [ 1.201682] uhci_hcd 0000:00:1d.1: setting latency timer to 64 [ 1.201691] uhci_hcd 0000:00:1d.1: UHCI Host Controller [ 1.201760] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 [ 1.201857] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002060 [ 1.201968] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.201973] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.201977] usb usb3: Product: UHCI Host Controller [ 1.201981] usb usb3: Manufacturer: Linux 3.2.0-4-rt-amd64 uhci_hcd [ 1.201984] usb usb3: SerialNumber: 0000:00:1d.1 [ 1.208117] hub 3-0:1.0: USB hub found [ 1.208136] hub 3-0:1.0: 2 ports detected [ 1.213249] uhci_hcd 0000:00:1d.2: setting latency timer to 64 [ 1.213257] uhci_hcd 0000:00:1d.2: UHCI Host Controller [ 1.213420] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 [ 1.213593] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00002040 [ 1.213692] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.213698] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.213702] usb usb4: Product: UHCI Host Controller [ 1.213705] usb usb4: Manufacturer: Linux 3.2.0-4-rt-amd64 uhci_hcd [ 1.213709] usb usb4: SerialNumber: 0000:00:1d.2 [ 1.221148] hub 4-0:1.0: USB hub found [ 1.221165] hub 4-0:1.0: 2 ports detected [ 1.225423] uhci_hcd 0000:00:1d.3: setting latency timer to 64 [ 1.225431] uhci_hcd 0000:00:1d.3: UHCI Host Controller [ 1.225531] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 [ 1.225666] uhci_hcd 0000:00:1d.3: irq 16, io base 0x00002020 [ 1.225770] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.225775] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.225780] usb usb5: Product: UHCI Host Controller [ 1.225783] usb usb5: Manufacturer: Linux 3.2.0-4-rt-amd64 uhci_hcd [ 1.225786] usb usb5: SerialNumber: 0000:00:1d.3 [ 1.232569] hub 5-0:1.0: USB hub found [ 1.232615] hub 5-0:1.0: 2 ports detected [ 1.240206] firewire_ohci: Added fw-ohci device 0000:05:05.0, OHCI v1.10, 4 IR + 8 IT contexts, quirks 0x2 [ 1.312331] ata1.00: ATAPI: HL-DT-ST DVDRAM GSA-4167B, DL11, max UDMA/33 [ 1.328210] ata1.00: configured for UDMA/33 [ 1.334877] scsi 0:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-4167B DL11 PQ: 0 ANSI: 5 [ 1.367294] ata3.00: ATA-8: WDC WD5000AAKS-07V0A0, 05.01D05, max UDMA/133 [ 1.367301] ata3.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32) [ 1.380388] ata3.00: configured for UDMA/133 [ 1.380563] scsi 2:0:0:0: Direct-Access ATA WDC WD5000AAKS-0 05.0 PQ: 0 ANSI: 5 [ 1.424775] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray [ 1.424783] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 1.425768] sr 0:0:0:0: Attached scsi CD-ROM sr0 [ 1.426448] sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB) [ 1.426612] sd 2:0:0:0: [sda] Write Protect is off [ 1.426619] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.426687] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.431542] sr 0:0:0:0: Attached scsi generic sg0 type 5 [ 1.431721] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 1.467769] sda: sda1 sda2 < sda5 > [ 1.468641] sd 2:0:0:0: [sda] Attached SCSI disk [ 1.712030] Refined TSC clocksource calibration: 2799.995 MHz. [ 1.712040] Switching to clocksource tsc [ 1.740221] firewire_core: created device fw0: GUID 0090270001980d0d, S400 [ 1.880028] usb 4-1: new full-speed USB device number 2 using uhci_hcd [ 2.053661] usb 4-1: New USB device found, idVendor=058f, idProduct=9360 [ 2.053668] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.053673] usb 4-1: Product: USB Reader [ 2.053676] usb 4-1: Manufacturer: [ 2.053680] usb 4-1: SerialNumber: 2004888 [ 2.061931] Initializing USB Mass Storage driver... [ 2.062187] scsi4 : usb-storage 4-1:1.0 [ 2.062380] usbcore: registered new interface driver usb-storage [ 2.062385] USB Mass Storage support registered. [ 2.232867] PM: Starting manual resume from disk [ 2.232875] PM: Hibernation image partition 8:5 present [ 2.232879] PM: Looking for hibernation image. [ 2.233240] PM: Image not found (code -22) [ 2.233244] PM: Hibernation image not present or could not be loaded. [ 2.371433] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 3.064705] scsi 4:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0 [ 3.067700] scsi 4:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0 [ 3.070700] scsi 4:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0 [ 3.073699] scsi 4:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0 [ 3.075161] sd 4:0:0:0: Attached scsi generic sg2 type 0 [ 3.075590] sd 4:0:0:1: Attached scsi generic sg3 type 0 [ 3.076113] sd 4:0:0:2: Attached scsi generic sg4 type 0 [ 3.076589] sd 4:0:0:3: Attached scsi generic sg5 type 0 [ 3.109698] sd 4:0:0:2: [sdd] Attached SCSI removable disk [ 3.124697] sd 4:0:0:0: [sdb] Attached SCSI removable disk [ 3.128697] sd 4:0:0:3: [sde] Attached SCSI removable disk [ 3.133687] sd 4:0:0:1: [sdc] Attached SCSI removable disk [ 4.079765] udevd[356]: starting version 175 [ 4.493730] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1 [ 4.493746] ACPI: Sleep Button [SLPB] [ 4.512704] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 4.512717] ACPI: Power Button [PWRF] [ 4.536202] input: PC Speaker as /devices/platform/pcspkr/input/input3 [ 4.575844] intel_rng: Firmware space is locked read-only. If you can't or [ 4.575847] intel_rng: don't want to disable this in firmware setup, and if [ 4.575849] intel_rng: you are certain that your system has a functional [ 4.575851] intel_rng: RNG, try using the 'no_fwh_detect' option. [ 4.697914] iTCO_vendor_support: vendor-support=0 [ 4.744684] [drm] Initialized drm 1.1.0 20060810 [ 4.886668] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07 [ 4.886903] iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x0460) [ 4.887023] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 4.987387] leds_ss4200: no LED devices found [ 5.180395] wmi: Mapper loaded [ 5.442403] nouveau 0000:01:00.0: setting latency timer to 64 [ 5.442434] [drm] nouveau 0000:01:00.0: Detected an NV40 generation card (0x046100a3) [ 5.445637] [drm] nouveau 0000:01:00.0: Checking PRAMIN for VBIOS [ 5.549543] [drm] nouveau 0000:01:00.0: ... appears to be valid [ 5.549551] [drm] nouveau 0000:01:00.0: Using VBIOS from PRAMIN [ 5.549588] [drm] nouveau 0000:01:00.0: BIT BIOS found [ 5.549595] [drm] nouveau 0000:01:00.0: Bios version 05.72.22.49 [ 5.549601] [drm] nouveau 0000:01:00.0: TMDS table version 1.1 [ 5.549606] [drm] nouveau 0000:01:00.0: TMDS table script pointers not stubbed [ 5.559414] [drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do [ 5.559421] [drm] nouveau 0000:01:00.0: DCB version 3.0 [ 5.559427] [drm] nouveau 0000:01:00.0: DCB outp 00: 01000300 00000028 [ 5.559432] [drm] nouveau 0000:01:00.0: DCB outp 01: 02011310 00000028 [ 5.559436] [drm] nouveau 0000:01:00.0: DCB outp 02: 01011312 00000000 [ 5.559442] [drm] nouveau 0000:01:00.0: DCB outp 03: 020223f1 00c0c080 [ 5.559446] [drm] nouveau 0000:01:00.0: DCB conn 00: 0000 [ 5.559452] [drm] nouveau 0000:01:00.0: DCB conn 01: 2130 [ 5.559457] [drm] nouveau 0000:01:00.0: DCB conn 02: 0210 [ 5.559463] [drm] nouveau 0000:01:00.0: DCB conn 03: 0211 [ 5.559469] [drm] nouveau 0000:01:00.0: DCB conn 04: 0213 [ 5.559480] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xD25F [ 5.559587] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xD58E [ 5.574763] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xDB2C [ 5.574793] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xDCA7 [ 5.575953] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xDF00 [ 5.577775] [TTM] Zone kernel: Available graphics memory: 1545838 kiB [ 5.577781] [TTM] Initializing pool allocator [ 5.578606] [TTM] Initializing DMA pool allocator [ 5.579796] [drm] nouveau 0000:01:00.0: Detected 128MiB VRAM (DDR2) [ 5.592408] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture) [ 5.594945] [drm] nouveau 0000:01:00.0: Saving VGA fonts [ 5.664194] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4 [ 5.679146] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 5.679152] [drm] No driver support for vblank timestamp query. [ 5.688959] [drm] nouveau 0000:01:00.0: 1 available performance level(s) [ 5.688969] [drm] nouveau 0000:01:00.0: 0: core 450MHz shader 450MHz memory 648MHz fanspeed 100% [ 5.688975] [drm] nouveau 0000:01:00.0: c: core 199MHz memory 391MHz [ 5.691067] [drm] nouveau 0000:01:00.0: 0xC61E: Parsing digital output script table [ 5.744409] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3) [ 5.860814] [drm] nouveau 0000:01:00.0: allocated 1280x1024 fb: 0x49000, bo ffff880036ecf800 [ 5.860981] fbcon: nouveaufb (fb0) is primary device [ 5.881814] Console: switching to colour frame buffer device 160x64 [ 5.884506] fb0: nouveaufb frame buffer device [ 5.884510] drm: registered panic notifier [ 5.884519] [drm] Initialized nouveau 1.0.0 20120316 for 0000:01:00.0 on minor 0 [ 7.290177] Adding 6286332k swap on /dev/sda5. Priority:-1 extents:1 across:6286332k [ 7.323760] EXT4-fs (sda1): re-mounted. Opts: (null) [ 7.566761] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ 7.723720] loop: module loaded [ 9.253774] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 9.256171] e100 0000:05:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex [ 9.269198] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 9.865948] RPC: Registered named UNIX socket transport module. [ 9.865955] RPC: Registered udp transport module. [ 9.865958] RPC: Registered tcp transport module. [ 9.865962] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 9.914205] FS-Cache: Loaded [ 9.977153] FS-Cache: Netfs 'nfs' registered for caching [ 9.989792] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 12.263659] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input5 [ 13.698846] Bluetooth: Core ver 2.16 [ 13.698891] NET: Registered protocol family 31 [ 13.698898] Bluetooth: HCI device and connection manager initialized [ 13.698905] Bluetooth: HCI socket layer initialized [ 13.698910] Bluetooth: L2CAP socket layer initialized [ 13.698928] Bluetooth: SCO socket layer initialized [ 13.761197] Bluetooth: RFCOMM TTY layer initialized [ 13.761210] Bluetooth: RFCOMM socket layer initialized [ 13.761215] Bluetooth: RFCOMM ver 1.11 [ 13.920324] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.920331] Bluetooth: BNEP filters: protocol multicast [ 14.411106] lp: driver loaded but no devices found [ 14.434401] ppdev: user-space parallel port driver [ 20.096014] eth0: no IPv6 routers present [ 3677.167223] ip_tables: (C) 2000-2006 Netfilter Core Team [10138.760026] usb 1-4: new high-speed USB device number 3 using ehci_hcd [10139.010483] usb 1-4: New USB device found, idVendor=1b1c, idProduct=1ab1 [10139.010490] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [10139.010495] usb 1-4: Product: Voyager [10139.010498] usb 1-4: Manufacturer: Corsair [10139.010501] usb 1-4: SerialNumber: AA00000000000070 [10139.011046] scsi5 : usb-storage 1-4:1.0 [10140.479308] scsi 5:0:0:0: Direct-Access Corsair Voyager 1100 PQ: 0 ANSI: 0 CCS [10140.483659] sd 5:0:0:0: Attached scsi generic sg6 type 0 [10141.565640] sd 5:0:0:0: [sdf] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB) [10141.566763] sd 5:0:0:0: [sdf] Write Protect is off [10141.566770] sd 5:0:0:0: [sdf] Mode Sense: 43 00 00 00 [10141.567877] sd 5:0:0:0: [sdf] No Caching mode page found [10141.567884] sd 5:0:0:0: [sdf] Assuming drive cache: write through [10141.572131] sd 5:0:0:0: [sdf] No Caching mode page found [10141.572138] sd 5:0:0:0: [sdf] Assuming drive cache: write through [10141.573161] sdf: sdf1 [10141.576386] sd 5:0:0:0: [sdf] No Caching mode page found [10141.576395] sd 5:0:0:0: [sdf] Assuming drive cache: write through [10141.576402] sd 5:0:0:0: [sdf] Attached SCSI removable disk [10143.730688] FAT-fs (sdf1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [10335.241993] usb 1-4: USB disconnect, device number 3 debian@debian:~$ debian@debian:~$ dmesg [12749.312024] usb 1-4: new high-speed USB device number 4 using ehci_hcd [12749.562427] usb 1-4: New USB device found, idVendor=1b1c, idProduct=1ab1 [12749.562434] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12749.562439] usb 1-4: Product: Voyager [12749.562442] usb 1-4: Manufacturer: Corsair [12749.562446] usb 1-4: SerialNumber: AA00000000000070 [12749.563771] scsi6 : usb-storage 1-4:1.0 [12750.660105] scsi 6:0:0:0: Direct-Access Corsair Voyager 1100 PQ: 0 ANSI: 0 CCS [12750.664588] sd 6:0:0:0: Attached scsi generic sg6 type 0 [12750.664709] sd 6:0:0:0: [sdf] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB) [12750.665828] sd 6:0:0:0: [sdf] Write Protect is off [12750.665835] sd 6:0:0:0: [sdf] Mode Sense: 43 00 00 00 [12750.666948] sd 6:0:0:0: [sdf] No Caching mode page found [12750.666957] sd 6:0:0:0: [sdf] Assuming drive cache: write through [12750.671955] sd 6:0:0:0: [sdf] No Caching mode page found [12750.671963] sd 6:0:0:0: [sdf] Assuming drive cache: write through [12750.673239] sdf: sdf1 [12750.679823] sd 6:0:0:0: [sdf] No Caching mode page found [12750.679832] sd 6:0:0:0: [sdf] Assuming drive cache: write through [12750.679839] sd 6:0:0:0: [sdf] Attached SCSI removable disk [12750.942377] FAT-fs (sdf1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! debian@debian:~$ debian@debian:~$ halcmd show pin Component Pins: Owner Type Dir Value Name debian@debian:~$ debian@debian:~$ halcmd show param Component Pins: Owner Type Dir Value Name debian@debian:~$

Please Log in to join the conversation.

More
9 years 7 months ago #89064 by PCW
Replied by PCW on topic Mesa 7i92M Support
Notice the first two columns of number in the pinout listing of P2?
The first number is the DB25 equivalent parallel port pin number and the second is the
GPIO number used on the HAL file to address the pin.

So for example if you had a limit switch connected to DB25 pin 10, that would be GPIO013 in the hal file
so hm2_7i92.0.gpio.013.in (or perhaps hm2_7i92.0.gpio.013.in_not if the inverted version was needed)

Did you fix the missing IP address issue? if there are no pins shown by halcmd that suggests
that the driver did not load.

Please Log in to join the conversation.

More
9 years 7 months ago #89067 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Okay I understand the first 2 paragraphs of the relationship of parallel port pin number and the GPIO number. I have a list of all of the pin assignments from the old stepgen. Do these pin numbers correspond to the the parallel port pins?

Yes, I did add IP address into the ini file as

DRIVER=hm2_eth board_ip="10.10.10.10"
BOARD=7i92
CONFIG="num_encoders=0 num_stepgens=5"

and added this to the hal file. loadrt hm2_eth board_ip="10.10.10.10"

What did I miss?

Please Log in to join the conversation.

More
9 years 7 months ago #89068 by PCW
Replied by PCW on topic Mesa 7i92M Support
Yes, in parallel port configurations the I/O pins of hal_parport component are named by DB25 pin number

Also need either:
DRIVER=hm2_eth board_ip="10.10.10.10"
CONFIG-"whatever"
in you ini file
and
loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG)
in your hal file

_OR_

loadrt hm2_eth board_ip="10.10.10.10" config="whatever"
in your hal file

but not both

Which you need depends on your hal/ini structure (whether the driver config information is in the hal or ini file)

can you post you _current_ hal/ini files?

Please Log in to join the conversation.

More
9 years 7 months ago #89069 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Okay
The hal file is:
Code:
# Generated by PNCconf at Fri Feb 24 20:17:55 2017 # If you make changes to this file, they will be # overwritten when you run PNCconf again loadrt trivkins loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES loadrt hostmot2 loadrt hm2_eth board_ip="10.10.10.10" setp hm2_7i92.0.watchdog.timeout_ns 5000000 loadrt pid names=pid.x,pid.y,pid.z,pid.s addf hm2_7i92.0.read servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf pid.x.do-pid-calcs servo-thread addf pid.y.do-pid-calcs servo-thread addf pid.z.do-pid-calcs servo-thread addf pid.s.do-pid-calcs servo-thread addf hm2_7i92.0.write servo-thread # --- ESTOP-OUT --- net estop-out hm2_7i92.0.gpio.000.in # --- SPINDLE-CW --- net spindle-cw hm2_7i92.0.gpio.001.in # --- CHARGE-PUMP --- net charge-pump hm2_7i92.0.gpio.005.in # ---G540 Charge Pump--- setp hm2_7i92.0.stepgen.04.steplen 50000 setp hm2_7i92.0.stepgen.04.position-scale 1 setp hm2_7i92.0.stepgen.04.step_type 0 setp hm2_7i92.0.stepgen.04.control-type 1 setp hm2_7i92.0.stepgen.04.velocity-cmd 10000 net machine-is-enabled => hm2_7i92.0.stepgen.04.enable # external input signals # --- JOG-X-POS --- net jog-x-pos <= hm2_7i92.0.gpio.004.in # --- JOG-Y-NEG --- net jog-y-neg <= hm2_7i92.0.gpio.008.in_not # --- JOG-Z-POS --- net jog-z-pos <= hm2_7i92.0.gpio.010.in # --- JOG-A-POS --- net jog-a-pos <= hm2_7i92.0.gpio.012.in # --- HOME-X --- net home-x <= hm2_7i92.0.gpio.014.in # --- HOME-Y --- net home-y <= hm2_7i92.0.gpio.015.in # --- HOME-Z --- net home-z <= hm2_7i92.0.gpio.016.in #******************* # AXIS X #******************* setp pid.x.Pgain [AXIS_0]P setp pid.x.Igain [AXIS_0]I setp pid.x.Dgain [AXIS_0]D setp pid.x.bias [AXIS_0]BIAS setp pid.x.FF0 [AXIS_0]FF0 setp pid.x.FF1 [AXIS_0]FF1 setp pid.x.FF2 [AXIS_0]FF2 setp pid.x.deadband [AXIS_0]DEADBAND setp pid.x.maxoutput [AXIS_0]MAX_OUTPUT setp pid.x.error-previous-target true setp pid.x.maxerror .0005 net x-index-enable <=> pid.x.index-enable net x-enable => pid.x.enable net x-pos-cmd => pid.x.command net x-vel-cmd => pid.x.command-deriv net x-pos-fb => pid.x.feedback net x-output => pid.x.output # Step Gen signals/setup setp hm2_7i92.0.stepgen.01.dirsetup [AXIS_0]DIRSETUP setp hm2_7i92.0.stepgen.01.dirhold [AXIS_0]DIRHOLD setp hm2_7i92.0.stepgen.01.steplen [AXIS_0]STEPLEN setp hm2_7i92.0.stepgen.01.stepspace [AXIS_0]STEPSPACE setp hm2_7i92.0.stepgen.01.position-scale [AXIS_0]STEP_SCALE setp hm2_7i92.0.stepgen.01.step_type 0 setp hm2_7i92.0.stepgen.01.control-type 1 setp hm2_7i92.0.stepgen.01.maxaccel [AXIS_0]STEPGEN_MAXACCEL setp hm2_7i92.0.stepgen.01.maxvel [AXIS_0]STEPGEN_MAXVEL # ---closedloop stepper signals--- net x-pos-cmd <= axis.0.motor-pos-cmd net x-vel-cmd <= axis.0.joint-vel-cmd net x-output <= hm2_7i92.0.stepgen.01.velocity-cmd net x-pos-fb <= hm2_7i92.0.stepgen.01.position-fb net x-pos-fb => axis.0.motor-pos-fb net x-enable <= axis.0.amp-enable-out net x-enable => hm2_7i92.0.stepgen.01.enable # ---setup home / limit switch signals--- net home-x => axis.0.home-sw-in net x-neg-limit => axis.0.neg-lim-sw-in net x-pos-limit => axis.0.pos-lim-sw-in #******************* # AXIS Y #******************* setp pid.y.Pgain [AXIS_1]P setp pid.y.Igain [AXIS_1]I setp pid.y.Dgain [AXIS_1]D setp pid.y.bias [AXIS_1]BIAS setp pid.y.FF0 [AXIS_1]FF0 setp pid.y.FF1 [AXIS_1]FF1 setp pid.y.FF2 [AXIS_1]FF2 setp pid.y.deadband [AXIS_1]DEADBAND setp pid.y.maxoutput [AXIS_1]MAX_OUTPUT setp pid.y.error-previous-target true setp pid.y.maxerror .0005 net y-index-enable <=> pid.y.index-enable net y-enable => pid.y.enable net y-pos-cmd => pid.y.command net y-vel-cmd => pid.y.command-deriv net y-pos-fb => pid.y.feedback net y-output => pid.y.output # Step Gen signals/setup setp hm2_7i92.0.stepgen.02.dirsetup [AXIS_1]DIRSETUP setp hm2_7i92.0.stepgen.02.dirhold [AXIS_1]DIRHOLD setp hm2_7i92.0.stepgen.02.steplen [AXIS_1]STEPLEN setp hm2_7i92.0.stepgen.02.stepspace [AXIS_1]STEPSPACE setp hm2_7i92.0.stepgen.02.position-scale [AXIS_1]STEP_SCALE setp hm2_7i92.0.stepgen.02.step_type 0 setp hm2_7i92.0.stepgen.02.control-type 1 setp hm2_7i92.0.stepgen.02.maxaccel [AXIS_1]STEPGEN_MAXACCEL setp hm2_7i92.0.stepgen.02.maxvel [AXIS_1]STEPGEN_MAXVEL # ---closedloop stepper signals--- net y-pos-cmd <= axis.1.motor-pos-cmd net y-vel-cmd <= axis.1.joint-vel-cmd net y-output <= hm2_7i92.0.stepgen.02.velocity-cmd net y-pos-fb <= hm2_7i92.0.stepgen.02.position-fb net y-pos-fb => axis.1.motor-pos-fb net y-enable <= axis.1.amp-enable-out net y-enable => hm2_7i92.0.stepgen.02.enable # ---setup home / limit switch signals--- net home-y => axis.1.home-sw-in net y-neg-limit => axis.1.neg-lim-sw-in net y-pos-limit => axis.1.pos-lim-sw-in #******************* # AXIS Z #******************* setp pid.z.Pgain [AXIS_2]P setp pid.z.Igain [AXIS_2]I setp pid.z.Dgain [AXIS_2]D setp pid.z.bias [AXIS_2]BIAS setp pid.z.FF0 [AXIS_2]FF0 setp pid.z.FF1 [AXIS_2]FF1 setp pid.z.FF2 [AXIS_2]FF2 setp pid.z.deadband [AXIS_2]DEADBAND setp pid.z.maxoutput [AXIS_2]MAX_OUTPUT setp pid.z.error-previous-target true setp pid.z.maxerror .0005 net z-index-enable <=> pid.z.index-enable net z-enable => pid.z.enable net z-pos-cmd => pid.z.command net z-vel-cmd => pid.z.command-deriv net z-pos-fb => pid.z.feedback net z-output => pid.z.output # Step Gen signals/setup setp hm2_7i92.0.stepgen.03.dirsetup [AXIS_2]DIRSETUP setp hm2_7i92.0.stepgen.03.dirhold [AXIS_2]DIRHOLD setp hm2_7i92.0.stepgen.03.steplen [AXIS_2]STEPLEN setp hm2_7i92.0.stepgen.03.stepspace [AXIS_2]STEPSPACE setp hm2_7i92.0.stepgen.03.position-scale [AXIS_2]STEP_SCALE setp hm2_7i92.0.stepgen.03.step_type 0 setp hm2_7i92.0.stepgen.03.control-type 1 setp hm2_7i92.0.stepgen.03.maxaccel [AXIS_2]STEPGEN_MAXACCEL setp hm2_7i92.0.stepgen.03.maxvel [AXIS_2]STEPGEN_MAXVEL # ---closedloop stepper signals--- net z-pos-cmd <= axis.2.motor-pos-cmd net z-vel-cmd <= axis.2.joint-vel-cmd net z-output <= hm2_7i92.0.stepgen.03.velocity-cmd net z-pos-fb <= hm2_7i92.0.stepgen.03.position-fb net z-pos-fb => axis.2.motor-pos-fb net z-enable <= axis.2.amp-enable-out net z-enable => hm2_7i92.0.stepgen.03.enable # ---setup home / limit switch signals--- net home-z => axis.2.home-sw-in net z-neg-limit => axis.2.neg-lim-sw-in net z-pos-limit => axis.2.pos-lim-sw-in #******************* # SPINDLE S #******************* setp pid.s.Pgain [SPINDLE_9]P setp pid.s.Igain [SPINDLE_9]I setp pid.s.Dgain [SPINDLE_9]D setp pid.s.bias [SPINDLE_9]BIAS setp pid.s.FF0 [SPINDLE_9]FF0 setp pid.s.FF1 [SPINDLE_9]FF1 setp pid.s.FF2 [SPINDLE_9]FF2 setp pid.s.deadband [SPINDLE_9]DEADBAND setp pid.s.maxoutput [SPINDLE_9]MAX_OUTPUT setp pid.s.error-previous-target true net spindle-index-enable <=> pid.s.index-enable net spindle-enable => pid.s.enable net spindle-vel-cmd-rpm => pid.s.command net spindle-vel-fb-rpm => pid.s.feedback net spindle-output <= pid.s.output # ---setup spindle control signals--- net spindle-vel-cmd-rps <= motion.spindle-speed-out-rps net spindle-vel-cmd-rps-abs <= motion.spindle-speed-out-rps-abs net spindle-vel-cmd-rpm <= motion.spindle-speed-out net spindle-vel-cmd-rpm-abs <= motion.spindle-speed-out-abs net spindle-enable <= motion.spindle-on net spindle-cw <= motion.spindle-forward net spindle-ccw <= motion.spindle-reverse net spindle-brake <= motion.spindle-brake net spindle-revs => motion.spindle-revs net spindle-at-speed => motion.spindle-at-speed net spindle-vel-fb-rps => motion.spindle-speed-in net spindle-index-enable <=> motion.spindle-index-enable # ---Setup spindle at speed signals--- sets spindle-at-speed true #****************************** # connect miscellaneous signals #****************************** # ---HALUI signals--- net joint-select-a halui.joint.0.select net x-is-homed halui.joint.0.is-homed net jog-x-pos halui.jog.0.plus net jog-x-neg halui.jog.0.minus net jog-x-analog halui.jog.0.analog net joint-select-b halui.joint.1.select net y-is-homed halui.joint.1.is-homed net jog-y-pos halui.jog.1.plus net jog-y-neg halui.jog.1.minus net jog-y-analog halui.jog.1.analog net joint-select-c halui.joint.2.select net z-is-homed halui.joint.2.is-homed net jog-z-pos halui.jog.2.plus net jog-z-neg halui.jog.2.minus net jog-z-analog halui.jog.2.analog net jog-selected-pos halui.jog.selected.plus net jog-selected-neg halui.jog.selected.minus net spindle-manual-cw halui.spindle.forward net spindle-manual-ccw halui.spindle.reverse net spindle-manual-stop halui.spindle.stop net machine-is-on halui.machine.is-on net jog-speed halui.jog-speed net MDI-mode halui.mode.is-mdi # ---charge pump signals--- net estop-out => charge-pump.enable net charge-pump <= charge-pump.out # ---coolant signals--- #net coolant-mist <= iocontrol.0.coolant-mist #net coolant-flood <= iocontrol.0.coolant-flood # ---probe signal--- #net probe-in => motion.probe-input # ---motion control signals--- net in-position <= motion.in-position net machine-is-enabled <= motion.motion-enabled # ---digital in / out signals--- # ---estop signals--- net estop-out <= iocontrol.0.user-enable-out net estop-out => iocontrol.0.emc-enable-in # ---manual tool change signals--- loadusr -W hal_manualtoolchange net tool-change-request iocontrol.0.tool-change => hal_manualtoolchange.change net tool-change-confirmed iocontrol.0.tool-changed <= hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

The ini file is
Code:
[HOSTMOT2] #DRIVER=hm2_eth board_ip="192.168.1.121" DRIVER=hm2_eth board_ip="10.10.10.10" BOARD=7i92 CONFIG="num_encoders=0 num_stepgens=5" [EMC] # Name of machine, for use with display, etc. MACHINE = HM2-Stepper # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others #DEBUG = 0x00000003 #DEBUG = 0x00000007 DEBUG = 1 [DISPLAY] # Name of display program, e.g., tkemc #DISPLAY = tkemc DISPLAY = axis # Cycle time, in seconds, that display will sleep between polls CYCLE_TIME = 0.100 # Path to help file HELP_FILE = tkemc.txt # Initial display setting for position, RELATIVE or MACHINE POSITION_OFFSET = RELATIVE # Initial display setting for position, COMMANDED or ACTUAL POSITION_FEEDBACK = ACTUAL # Highest value that will be allowed for feed override, 1.0 = 100% MAX_FEED_OVERRIDE = 30 # Prefix to be used PROGRAM_PREFIX = ../../nc_files/ # Introductory graphic INTRO_GRAPHIC = emc2.gif INTRO_TIME = 5 [FILTER] PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image PROGRAM_EXTENSION = .py Python Script png = image-to-gcode gif = image-to-gcode jpg = image-to-gcode py = python [TASK] # Name of task controller program, e.g., milltask TASK = milltask # Cycle time, in seconds, that task controller will sleep between polls CYCLE_TIME = 0.010 [RS274NGC] # File containing interpreter variables PARAMETER_FILE = hm2-stepper.var [EMCMOT] EMCMOT = motmod # Timeout for comm to emcmot, in seconds COMM_TIMEOUT = 1.0 # Interval between tries to emcmot, in seconds COMM_WAIT = 0.010 # Servo task period, in nanoseconds SERVO_PERIOD = 1000000 [HAL] # The run script first uses halcmd to execute any HALFILE # files, and then to execute any individual HALCMD commands. # list of hal config files to run through halcmd # files are executed in the order in which they appear HALFILE = LinuxCNC_Mesa7i92.hal # list of halcmd commands to execute # commands are executed in the order in which they appear #HALCMD = save neta [TRAJ] AXES = 3 COORDINATES = X Y Z #HOME = 0 0 0 LINEAR_UNITS = mm ANGULAR_UNITS = degree CYCLE_TIME = 0.001 [AXIS_0] # # Step timing is 2.5 us steplen + 2.5 us stepspace # That gives 5 us step period = 200 KHz max step freq # # # Scale is 2000 steps/rev * 5 revs/inch = 10000 steps/inch # # This gives a maxvel of 200000/10000 = 20 ips # TYPE = LINEAR MAX_VELOCITY = 15 MAX_ACCELERATION = 100 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL = 18 STEPGEN_MAX_ACC = 120 BACKLASH = 0.000 # scale is 2000 steps/rev * 4.9875 revs/inch SCALE = 9970 MIN_LIMIT = -30.0 MAX_LIMIT = 30.0 FERROR = .0002 MIN_FERROR = .0001 #HOME = 0.000 #HOME_OFFSET = 0.10 #HOME_SEARCH_VEL = 0.10 #HOME_LATCH_VEL = -0.01 #HOME_USE_INDEX = YES #HOME_IGNORE_LIMITS = YES # these are in nanoseconds DIRSETUP = 2000 DIRHOLD = 2000 STEPLEN = 2500 STEPSPACE = 2500 # PID tuning params DEADBAND = 0 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0.00011 BIAS = 0 MAX_OUTPUT = 0 MAX_ERROR = 0.0005 [AXIS_1] TYPE = LINEAR MAX_VELOCITY = 15 MAX_ACCELERATION = 100 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL = 18 STEPGEN_MAX_ACC = 120 BACKLASH = 0.000 SCALE = 10000 MIN_LIMIT = -30.0 MAX_LIMIT = 30.0 FERROR = .0002 MIN_FERROR = .0001 #HOME = 0.000 #HOME_OFFSET = 0.10 #HOME_SEARCH_VEL = 0.10 #HOME_LATCH_VEL = -0.01 #HOME_USE_INDEX = YES #HOME_IGNORE_LIMITS = YES # these are in nanoseconds DIRSETUP = 2000 DIRHOLD = 2000 STEPLEN = 2500 STEPSPACE = 2500 # PID tuning params DEADBAND = 0 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0.00011 BIAS = 0 MAX_OUTPUT = 0 MAX_ERROR = 0.0005 [AXIS_2] TYPE = LINEAR MAX_VELOCITY = 15 MAX_ACCELERATION = 100 # Set Stepgen max 20% higher than the axis STEPGEN_MAX_VEL = 18 STEPGEN_MAX_ACC = 120 BACKLASH = 0.000 SCALE = 10000 MIN_LIMIT = -30.0 MAX_LIMIT = 30.0 FERROR = .0002 MIN_FERROR = .0001 #HOME = 0.000 #HOME_OFFSET = 0.10 #HOME_SEARCH_VEL = 0.10 #HOME_LATCH_VEL = -0.01 #HOME_USE_INDEX = YES #HOME_IGNORE_LIMITS = YES # these are in nanoseconds DIRSETUP = 2000 DIRHOLD = 2000 STEPLEN = 2500 STEPSPACE = 2500 # PID tuning params DEADBAND = 0 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0.00011 BIAS = 0 MAX_OUTPUT = 0 MAX_ERROR = 0.0005 [SPINDLE_9] # PID tuning params DEADBAND = 0 P = 50 I = 200 D = .2 FF0 = 0 FF1 = 0 FF2 = 0 BIAS = 0 MAX_OUTPUT = 0 MAX_ERROR = 50 SCALE = 6000 MINLIM = 0 MAXLIM = 6000 [EMCIO] # Name of IO controller program, e.g., io EMCIO = io # cycle time, in seconds CYCLE_TIME = 0.100 # tool table file TOOL_TABLE = tool.tbl

The message that comes up when I run the linuxcnc gui is : (I am guessing the GIPO pin references are missing?)
Code:
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/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.5 LINUXCNC - 2.7.8 Machine configuration directory is '/home/debian/linuxcnc/configs/LinuxCNC_Mesa7i92' Machine configuration file is 'LinuxCNC_Mesa7i92.ini' INIFILE=/home/debian/linuxcnc/configs/LinuxCNC_Mesa7i92/LinuxCNC_Mesa7i92.ini PARAMETER_FILE=hm2-stepper.var TASK=milltask HALUI= DISPLAY=axis Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Found file(REL): ./LinuxCNC_Mesa7i92.hal hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:13:00:32 hm2_eth: discovered 7I92 hm2/hm2_7i92.0: 34 I/O Pins used: hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort hm2/hm2_7i92.0: IO Pin 001 (P2-14): PWMGen #0, pin Out0 (PWM or Up) (Output) hm2/hm2_7i92.0: IO Pin 002 (P2-02): StepGen #0, pin Step (Output) hm2/hm2_7i92.0: IO Pin 003 (P2-15): IOPort hm2/hm2_7i92.0: IO Pin 004 (P2-03): StepGen #0, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 005 (P2-16): StepGen #4, pin Step (Output) hm2/hm2_7i92.0: IO Pin 006 (P2-04): StepGen #1, pin Step (Output) hm2/hm2_7i92.0: IO Pin 007 (P2-17): IOPort hm2/hm2_7i92.0: IO Pin 008 (P2-05): StepGen #1, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 009 (P2-06): StepGen #2, pin Step (Output) hm2/hm2_7i92.0: IO Pin 010 (P2-07): StepGen #2, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 011 (P2-08): StepGen #3, pin Step (Output) hm2/hm2_7i92.0: IO Pin 012 (P2-09): StepGen #3, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 013 (P2-10): Encoder #0, pin A (Input) hm2/hm2_7i92.0: IO Pin 014 (P2-11): Encoder #0, pin B (Input) hm2/hm2_7i92.0: IO Pin 015 (P2-12): Encoder #0, pin Index (Input) hm2/hm2_7i92.0: IO Pin 016 (P2-13): IOPort hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort hm2/hm2_7i92.0: IO Pin 018 (P1-14): PWMGen #1, pin Out0 (PWM or Up) (Output) hm2/hm2_7i92.0: IO Pin 019 (P1-02): StepGen #5, pin Step (Output) hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort hm2/hm2_7i92.0: IO Pin 021 (P1-03): StepGen #5, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 022 (P1-16): StepGen #9, pin Step (Output) hm2/hm2_7i92.0: IO Pin 023 (P1-04): StepGen #6, pin Step (Output) hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort hm2/hm2_7i92.0: IO Pin 025 (P1-05): StepGen #6, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 026 (P1-06): StepGen #7, pin Step (Output) hm2/hm2_7i92.0: IO Pin 027 (P1-07): StepGen #7, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 028 (P1-08): StepGen #8, pin Step (Output) hm2/hm2_7i92.0: IO Pin 029 (P1-09): StepGen #8, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 030 (P1-10): Encoder #1, pin A (Input) hm2/hm2_7i92.0: IO Pin 031 (P1-11): Encoder #1, pin B (Input) hm2/hm2_7i92.0: IO Pin 032 (P1-12): Encoder #1, pin Index (Input) hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort hm2/hm2_7i92.0: registered Shutting down and cleaning up LinuxCNC... Killing task linuxcncsvr, PID=2021 hm2_eth: HostMot2 ethernet driver unloaded hm2: unloading Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime ./LinuxCNC_Mesa7i92.hal:93: Ini variable '[AXIS_0]STEP_SCALE' not found. 2021 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Note: Using POSIX realtime Kernel message information: [12749.312024] usb 1-4: new high-speed USB device number 4 using ehci_hcd [12749.562427] usb 1-4: New USB device found, idVendor=1b1c, idProduct=1ab1 [12749.562434] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12749.562439] usb 1-4: Product: Voyager [12749.562442] usb 1-4: Manufacturer: Corsair [12749.562446] usb 1-4: SerialNumber: AA00000000000070 [12749.563771] scsi6 : usb-storage 1-4:1.0 [12750.660105] scsi 6:0:0:0: Direct-Access Corsair Voyager 1100 PQ: 0 ANSI: 0 CCS [12750.664588] sd 6:0:0:0: Attached scsi generic sg6 type 0 [12750.664709] sd 6:0:0:0: [sdf] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB) [12750.665828] sd 6:0:0:0: [sdf] Write Protect is off [12750.665835] sd 6:0:0:0: [sdf] Mode Sense: 43 00 00 00 [12750.666948] sd 6:0:0:0: [sdf] No Caching mode page found [12750.666957] sd 6:0:0:0: [sdf] Assuming drive cache: write through [12750.671955] sd 6:0:0:0: [sdf] No Caching mode page found [12750.671963] sd 6:0:0:0: [sdf] Assuming drive cache: write through [12750.673239] sdf: sdf1 [12750.679823] sd 6:0:0:0: [sdf] No Caching mode page found [12750.679832] sd 6:0:0:0: [sdf] Assuming drive cache: write through [12750.679839] sd 6:0:0:0: [sdf] Attached SCSI removable disk [12750.942377] FAT-fs (sdf1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [13429.122934] usb 1-4: USB disconnect, device number 4 [18428.844109] usb 1-4: new high-speed USB device number 5 using ehci_hcd [18429.094535] usb 1-4: New USB device found, idVendor=1b1c, idProduct=1ab1 [18429.094542] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [18429.094546] usb 1-4: Product: Voyager [18429.094550] usb 1-4: Manufacturer: Corsair [18429.094553] usb 1-4: SerialNumber: AA00000000000070 [18429.095233] scsi7 : usb-storage 1-4:1.0 [18430.378735] scsi 7:0:0:0: Direct-Access Corsair Voyager 1100 PQ: 0 ANSI: 0 CCS [18430.381784] sd 7:0:0:0: Attached scsi generic sg6 type 0 [18430.921071] sd 7:0:0:0: [sdg] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB) [18430.922182] sd 7:0:0:0: [sdg] Write Protect is off [18430.922188] sd 7:0:0:0: [sdg] Mode Sense: 43 00 00 00 [18430.923306] sd 7:0:0:0: [sdg] No Caching mode page found [18430.923313] sd 7:0:0:0: [sdg] Assuming drive cache: write through [18430.927682] sd 7:0:0:0: [sdg] No Caching mode page found [18430.927690] sd 7:0:0:0: [sdg] Assuming drive cache: write through [18430.928720] sdg: sdg1 [18430.934828] sd 7:0:0:0: [sdg] No Caching mode page found [18430.934837] sd 7:0:0:0: [sdg] Assuming drive cache: write through [18430.934845] sd 7:0:0:0: [sdg] Attached SCSI removable disk [18433.196501] FAT-fs (sdg1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [19172.200836] usb 1-4: USB disconnect, device number 5 [20044.632022] usb 1-4: new high-speed USB device number 6 using ehci_hcd [20044.882526] usb 1-4: New USB device found, idVendor=1b1c, idProduct=1ab1 [20044.882534] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [20044.882539] usb 1-4: Product: Voyager [20044.882542] usb 1-4: Manufacturer: Corsair [20044.882546] usb 1-4: SerialNumber: AA00000000000070 [20044.883302] scsi8 : usb-storage 1-4:1.0 [20046.846977] scsi 8:0:0:0: Direct-Access Corsair Voyager 1100 PQ: 0 ANSI: 0 CCS [20046.849074] sd 8:0:0:0: Attached scsi generic sg6 type 0 [20047.928443] sd 8:0:0:0: [sdg] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB) [20047.929554] sd 8:0:0:0: [sdg] Write Protect is off [20047.929561] sd 8:0:0:0: [sdg] Mode Sense: 43 00 00 00 [20047.930679] sd 8:0:0:0: [sdg] No Caching mode page found [20047.930686] sd 8:0:0:0: [sdg] Assuming drive cache: write through [20049.553425] sd 8:0:0:0: [sdg] No Caching mode page found [20049.553433] sd 8:0:0:0: [sdg] Assuming drive cache: write through [20049.554459] sdg: sdg1 [20049.557924] sd 8:0:0:0: [sdg] No Caching mode page found [20049.557932] sd 8:0:0:0: [sdg] Assuming drive cache: write through [20049.557940] sd 8:0:0:0: [sdg] Attached SCSI removable disk [20049.789982] FAT-fs (sdg1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

Please Log in to join the conversation.

More
9 years 7 months ago #89070 by PCW
Replied by PCW on topic Mesa 7i92M Support
The error:

./LinuxCNC_Mesa7i92.hal:93: Ini variable '[AXIS_0]STEP_SCALE' not found.

Means you have got a mis-matched set of hal/ini files
(it looks like a Mesa sample ini file and a pncconf created hal file)

These are not going to agree on variable names...

Please Log in to join the conversation.

More
9 years 7 months ago #89071 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
In the ini file you have scale for all 3 axis, but the step_scale is missing for all 3 of them, just add them.
I just got out my 7i92 and will do some testing tomorrow.

Please Log in to join the conversation.

More
9 years 7 months ago #89072 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Not sure how I managed that but I did. Best course of action? Create new files from pncconf ?

Please Log in to join the conversation.

More
9 years 7 months ago #89073 by andypugh
Replied by andypugh on topic Mesa 7i92M Support

tuffduck33 wrote: Not sure how I managed that but I did. Best course of action? Create new files from pncconf ?


I would say "go back to the config where most things worked" which I think was a Mesa sample config without a working charge pump?

That was close, you seem to have gone backwards since.

PnCConf is definitely no longer your friend at this point.

Please Log in to join the conversation.

Time to create page: 0.497 seconds
Powered by Kunena Forum