On 15 April 2015 at 01:32, Joe H <[email protected]> wrote: > "dmesg" does show > information, but no pin out.I could use a pointer in the correct > direction. I've been reading the manual but I am stuck.
dmesg is a way to view the log of kernel messages. When LinuxCNC starts up with a Mesa card it prints the information to the kernel log, but after a reboot or other information the data will tend to scroll off the top. If you start the PC then "sudo dmesg -c" then the kernel log will be cleared. Then you can start LinuxCNC and "dmesg" again to see the pinout in the terminal. You can either copy and paste the information from the terminal window to a text editor, or use dmesg > hm2.txt to send the log to a text file then open that. You can also get this information without starting (all of) LinuxCNC. (And this can be a good way to find out what the pinout of a specific firmware is). Assuming for this example that you are interested in the SVST8_4.BIT firmware file open a terminal and.. halrun loadrt hostmot2 loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT" show pin show param exit dmesg That will give you a list of all the HAL pins, all the parameters and then the pinout for that firmware. Because no modifiers are used then all functions will be enabled and there may well be no pins "free" for GPIO. You typically make pins available for GPIO by disabling other functions. Another way to find the pinout of a specific firmware is to to look here: http://git.linuxcnc.org/gitweb?p=hostmot2-firmware.git;a=tree For example the default pinout for SVST8_4 can be seen in the PIN_SVST8_4_72.VHD file. (72 means "pinout for 72 pin cards" such as 5i20, 5i23 etc) -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
