On Tue, 28 Feb 2012, Viesturs Lācis wrote:
2012/2/28 <[email protected]>:
On Tue, 28 Feb 2012, Viesturs Lācis wrote:
I have set up 2 machines with 5i25 and also with 5i23. I do not
remember any address for pci cards in INI or HAL files.
Could You, please, explain, what kind of address You mean?
In my .hal file 'loadrt hal_parport cfg="0x378 out 0x278 out "'
Would I not be required to change this to the address of the new card
That line explicitly says that it is parport address, which is LPT aka
parallel port!
5i25 plugs in PCI slot, so forget about parallel ports of Your PC!
Remove that line, it is totally unnecessary for 5i25.
Start with 5i23 sample config!
1) change the board name from 5i23 to 5i25
2) remove the "firmware = [path/to/firmware/file]" part of the "config ="
line, keep any commands for loading stepgens, pwmgens or encoder
modules, if they are needed for Your machine.
OK the last message was my fault
I removed the CONFIG line instead of leaving a empty one
Now I have CONFIG=""
$ emc /home/rray/emc2/configs/hm2-stepper/5i25.ini
EMC2 - 2.5.0-pre2-626-g402b6cd
Machine configuration directory is '/home/rray/emc2/configs/hm2-stepper'
Machine configuration file is '5i25.ini'
Starting EMC2...
insmod: error inserting
'/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_pci.ko': -1 No such device
hm2-stepper.hal:41: exit value: 1
hm2-stepper.hal:41: insmod failed, returned -1
See the output of 'dmesg' for more information.
Shutting down and cleaning up EMC2...
Cleanup done
EMC terminated with an error. You can find more information in the log:
/home/rray/emc_debug.txt
and
/home/rray/emc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Where do I find this kernel module
Richard------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users