Re: [Emc-users] Installing an MPG Pendant
On 19 June 2012 06:19, Anders Wallin anders.e.e.wal...@gmail.com wrote: some googling suggests that PCIe parallel ports don't have any standard address, and the address may even change at each bootup, If that is the case, then referring to the parports as 0 and 1 rather than by address in the loadrt hal_parport line is probably the better solution. hal_parport can work with parport_pc to identify parallel ports by index rather than by explicit address. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
What is the syntax for doing that? N. Christopher Perry On Jun 19, 2012, at 6:26, andy pugh bodge...@gmail.com wrote: On 19 June 2012 06:19, Anders Wallin anders.e.e.wal...@gmail.com wrote: some googling suggests that PCIe parallel ports don't have any standard address, and the address may even change at each bootup, If that is the case, then referring to the parports as 0 and 1 rather than by address in the loadrt hal_parport line is probably the better solution. hal_parport can work with parport_pc to identify parallel ports by index rather than by explicit address. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
I did reboot the system and recheck the address reported by lspci, which was the same. That may not be very definitive, but at least serves as a data point. Unfortunately the card doesn't appear to show up in the bios setup. I'll check again. N. Christopher Perry On Jun 19, 2012, at 1:19, Anders Wallin anders.e.e.wal...@gmail.com wrote: I updated my HAL file accordingly: loadrt hal_parport cfg=0x378 0xec00 in # Added 2012-Jun-18, NCP some googling suggests that PCIe parallel ports don't have any standard address, and the address may even change at each bootup, or it may be software configurable on the PCIe card. I'm guessing the ec00 above is the problem. Does the PCIe card have a BIOS-like setup menu of its own? Can you see or set the address there? AW -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
On 19 June 2012 12:27, N. Christopher Perry n_christopher_pe...@me.com wrote: What is the syntax for doing that? http://www.linuxcnc.org/docview/html/hal/parallel_port.html Suggests that loadrt hal_parport cfg=0 1 in Ought to work. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
Snip: On 19 June 2012 12:27, N. Christopher Perry n_christopher_pe...@me.com wrote: What is the syntax for doing that? http://www.linuxcnc.org/docview/html/hal/parallel_port.html Suggests that loadrt hal_parport cfg=0 1 in Ought to work. -- atp Atp, Thank you for the info and pointer. Reading through the linked page I found a mention of a similar error connected with 'parpart_pc' and 'probe_parport'. I commended out the 'loadrt probe_parport' and I'm getting motion with the pendant! Still needed to poke around to get the basics working, but I've got most of the functionality I'm looking for. All, Thank you all for the help. N.C. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Installing an MPG Pendant
I'm having some trouble getting my system configured to accept a pendant. I've got a ECS TIGT-I2 motherboard with an Atom D410 processor and built in parallel port. That seems to work fine controlling my mill. The hitch is that the motherboard only has a PCIe bus on it. Having seen some posts that favorably mentioned SIIG boards, I ordered their DP 1-Port board (JJ-E01211-S1). After installing the new hardware, I started following the Hooking Up A MPG Pendant wiki. Here is the relevant output from executing 'lspci -v': 02:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02) Subsystem: Oxford Semiconductor Ltd Device c110 Flags: bus master, fast devsel, latency 0, IRQ 17 I/O ports at ec00 [size=8] I/O ports at e880 [size=4] Capabilities: [40] Power Management version 3 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [100] Device Serial Number 10-01-00-11-11-e0-30-00 Capabilities: [110] Power Budgeting ? Kernel driver in use: parport_pc Kernel modules: parport_pc I updated my HAL file accordingly: loadrt hal_parport cfg=0x378 0xec00 in # Added 2012-Jun-18, NCP addf parport.1.read base-thread # Added 2012-Jun-18, NCP addf parport.1.write base-thread # Added 2012-Jun-18, NCP I tried launching AXIS at this point as a test and everything appears to work, short of the pendant anyway. I added the included content to the custom.hal. When I attempt to launch AXIS it pukes the following: Print file information: RUN_IN_PLACE=no EMC2_DIR= EMC2_BIN_DIR=/usr/bin EMC2_TCL_DIR=/usr/share/emc/tcl EMC2_SCRIPT_DIR= EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2 EMC2_CONFIG_DIR= EMC2_LANG_DIR=/usr/share/emc/tcl/msgs INIVAR=inivar HALCMD=halcmd EMC2_EMCSH=/usr/bin/wish8.5 EMC2 - 2.4.6 Machine configuration directory is '/home/n_christopher_perry/emc2/configs/mini-mill' Machine configuration file is 'mini-mill.ini' INIFILE=/home/n_christopher_perry/emc2/configs/mini-mill/mini-mill.ini PARAMETER_FILE=emc.var EMCMOT=motmod EMCIO=io TASK=milltask HALUI= DISPLAY=axis NML_FILE= Starting EMC2... Starting EMC2 server program: emcsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting EMC2 IO program: io Shutting down and cleaning up EMC2... Killing task emcsvr, PID=3347 Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Cleanup done Debug file information: custom.hal:16: parameter or pin 'axis.N.jog-vel-mode' not found 3347 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [ 1535.678381] I-pipe: Domain RTAI registered. [ 1535.678396] RTAI[hal]: 3.8.1 mounted over IPIPE-NOTHREADS 2.6-03. [ 1535.678402] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [ 1535.678457] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [ 1535.678462] PIPELINE layers: [ 1535.678468] fad66e20 9ac15d93 RTAI 200 [ 1535.678473] c085cb20 0 Linux 100 [ 1535.729984] RTAI[malloc]: global heap size = 2097152 bytes, BSD. [ 1535.730393] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: with RTAI OWN KTASKs, kstacks pool size = 524288 bytes. [ 1535.730406] RTAI[sched]: hard timer type/freq = APIC/10415798(Hz); default timing: periodic; linear timed lists. [ 1535.730414] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1666429000 hz. [ 1535.730420] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns. [ 1535.730551] RTAI[usi]: enabled. [ 1535.846165] RTAI[math]: loaded. [ 1535.968433] config string '0x378 0xec00 in' [ 1537.609860] RTAI[math]: unloaded. [ 1537.674269] SCHED releases registered named ALIEN RTGLBH [ 1537.708446] RTAI[malloc]: unloaded. [ 1537.808031] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 1537.814618] I-pipe: Domain RTAI unregistered. [ 1537.814688] RTAI[hal]: unmounted. I switched to the other I/O port: loadrt hal_parport cfg=0x378 0xec00 in # Added 2012-Jun-18, NCP Attempted to relaunch and got a different error: Print file information: RUN_IN_PLACE=no EMC2_DIR= EMC2_BIN_DIR=/usr/bin EMC2_TCL_DIR=/usr/share/emc/tcl EMC2_SCRIPT_DIR= EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2 EMC2_CONFIG_DIR= EMC2_LANG_DIR=/usr/share/emc/tcl/msgs INIVAR=inivar HALCMD=halcmd EMC2_EMCSH=/usr/bin/wish8.5 EMC2 - 2.4.6 Machine configuration directory is '/home/n_christopher_perry/emc2/configs/mini-mill' Machine configuration file is 'mini-mill.ini' INIFILE=/home/n_christopher_perry/emc2/configs/mini-mill/mini-mill.ini PARAMETER_FILE=emc.var EMCMOT=motmod EMCIO=io TASK=milltask HALUI= DISPLAY=axis NML_FILE= Starting EMC2... Starting EMC2 server program: emcsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting EMC2 IO program: io Shutting down and cleaning up EMC2...
Re: [Emc-users] Installing an MPG Pendant
On Tue, 19 Jun 2012, N. Christopher Perry wrote: Date: Tue, 19 Jun 2012 03:47:25 + (GMT) From: N. Christopher Perry n_christopher_pe...@me.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users] Installing an MPG Pendant I'm having some trouble getting my system configured to accept a pendant. I've got a ECS TIGT-I2 motherboard with an Atom D410 processor and built in parallel port. That seems to work fine controlling my mill. The hitch is that the motherboard only has a PCIe bus on it. Having seen some posts that favorably mentioned SIIG boards, I ordered their DP 1-Port board (JJ-E01211-S1). After installing the new hardware, I started following the Hooking Up A MPG Pendant wiki. Here is the relevant output from executing 'lspci -v': Debug file information: custom.hal:16: parameter or pin 'axis.N.jog-vel-mode' not found This looks like simple typo, the N should be 0,1,2 etc depending the axis How should I proceed? N. C. -- Peter Wallace Mesa Electronics-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
Debug file information: custom.hal:16: parameter or pin 'axis.N.jog-vel-mode' not found This looks like simple typo, the N should be 0,1,2 etc depending the axis Opps... You're right on that point. I forgot to update the custom HAL content for my machine. Unfortunately, after doing that I still get the following: Print file information: RUN_IN_PLACE=no EMC2_DIR= EMC2_BIN_DIR=/usr/bin EMC2_TCL_DIR=/usr/share/emc/tcl EMC2_SCRIPT_DIR= EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2 EMC2_CONFIG_DIR= EMC2_LANG_DIR=/usr/share/emc/tcl/msgs INIVAR=inivar HALCMD=halcmd EMC2_EMCSH=/usr/bin/wish8.5 EMC2 - 2.4.6 Machine configuration directory is '/home/n_christopher_perry/emc2/configs/mini-mill' Machine configuration file is 'mini-mill.ini' INIFILE=/home/n_christopher_perry/emc2/configs/mini-mill/mini-mill.ini PARAMETER_FILE=emc.var EMCMOT=motmod EMCIO=io TASK=milltask HALUI= DISPLAY=axis NML_FILE= Starting EMC2... Starting EMC2 server program: emcsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting EMC2 IO program: io Shutting down and cleaning up EMC2... Killing task emcsvr, PID=2307 Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Cleanup done Debug file information: insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_parport.ko': -1 Resource temporarily unavailable mini-mill.hal:8: exit value: 1 mini-mill.hal:8: insmod failed, returned -1 See the output of 'dmesg' for more information. 2307 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [ 2087.216199] I-pipe: Domain RTAI registered. [ 2087.216218] RTAI[hal]: 3.8.1 mounted over IPIPE-NOTHREADS 2.6-03. [ 2087.216226] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [ 2087.216284] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [ 2087.216291] PIPELINE layers: [ 2087.216299] fa93ae20 9ac15d93 RTAI 200 [ 2087.216306] c085cb20 0 Linux 100 [ 2087.268492] RTAI[malloc]: global heap size = 2097152 bytes, BSD. [ 2087.269275] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: with RTAI OWN KTASKs, kstacks pool size = 524288 bytes. [ 2087.269288] RTAI[sched]: hard timer type/freq = APIC/10415738(Hz); default timing: periodic; linear timed lists. [ 2087.269296] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 148000 hz. [ 2087.269302] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns. [ 2087.269436] RTAI[usi]: enabled. [ 2087.388588] RTAI[math]: loaded. [ 2087.512674] config string '0x378 0xec00 in' [ 2087.512702] PARPORT: ERROR: port parport0 claim failed [ 2088.404795] RTAI[math]: unloaded. [ 2088.481446] SCHED releases registered named ALIEN RTGLBH [ 2088.512447] RTAI[malloc]: unloaded. [ 2088.612032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 2088.618587] I-pipe: Domain RTAI unregistered. [ 2088.618658] RTAI[hal]: unmounted. N.C. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Installing an MPG Pendant
I updated my HAL file accordingly: loadrt hal_parport cfg=0x378 0xec00 in # Added 2012-Jun-18, NCP some googling suggests that PCIe parallel ports don't have any standard address, and the address may even change at each bootup, or it may be software configurable on the PCIe card. I'm guessing the ec00 above is the problem. Does the PCIe card have a BIOS-like setup menu of its own? Can you see or set the address there? AW -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users