Geil-o-mat/PC: Unterschied zwischen den Versionen
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springenReox (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „How to set up the LinuxCNC PC * Download ISO from LinuxCNC Homepage, <pre>dd if=linuxcnc.iso of=/dev/stick</pre> on usb stick and install: [http://linuxcnc.or…“) |
Reox (Diskussion | Beiträge) (more notes) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
How to set up the LinuxCNC PC | How to set up the LinuxCNC PC | ||
− | * Download ISO from LinuxCNC Homepage, < | + | * In the BIOS, set the parallel port settings as follows: |
− | * After installation put network to static, use < | + | Port Address: 378 |
− | * Clone the config: < | + | Port Mode: ECP+EPP |
− | * Add lp group to cnc user: < | + | EPP Version: 1.9 |
− | * Tweak the Jitter, see [http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2 isolcpus Boot parameter]: put < | + | ECP Mode DMA Channel: DMA3 |
− | </ | + | Parallel Port IRQ: IRQ5 |
+ | at least this works for this specific mainboard. '''ECP+EPP''' is probably the most important thing! The Port address is also important but can be changed in the .hal files. | ||
+ | * It is also a good idea to disable all hardware in the BIOS that is not needed. e.g. audio, firewire, ... | ||
+ | * Download ISO from LinuxCNC Homepage, <tt>dd if=linuxcnc.iso of=/dev/stick</tt> on usb stick and install: [http://linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html Download Page] | ||
+ | * After installation put network to static, use <tt>10.20.30.60/16</tt> as IP Address, look up current gateway and DNS server | ||
+ | * Clone the config: <tt>git clone https://github.com/Metalab/linuxcnc_config.git linuxcnc</tt> | ||
+ | * Add lp group to cnc user: <tt>adduser cnc lp</tt> | ||
+ | * Tweak the Jitter, see [http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2 isolcpus Boot parameter]: put <tt>GRUB_CMDLINE_LINUX_DEFAULT="noapic isolcpus=1 idle=poll nohlt quiet rootdelay=5" | ||
+ | </tt> into <tt>/etc/default/grub</tt> config and <tt>update-grub</tt> | ||
+ | * If you really need to, you can try adding <tt>acpi=off</tt> as well, but that also removes the ability to shut the PC off without pressing the power button in the end (and it seems to have not a huge impact as for example the <tt>isolcpus</tt>). | ||
* After a reboot, you should get really nice jitter values, see screenshot | * After a reboot, you should get really nice jitter values, see screenshot | ||
[[Datei:Jitter.png]] | [[Datei:Jitter.png]] | ||
+ | |||
+ | * To push the LinuxCNC config back to github, you need an github account that is associated with the Metalab repos. Then use the ssh agent to forward your key to the CNC machine and use <tt>git push github-ssh master</tt> to push. You can also use <tt>origin</tt> as remote, which is the HTTPS method. |
Aktuelle Version vom 4. Januar 2017, 19:47 Uhr
How to set up the LinuxCNC PC
- In the BIOS, set the parallel port settings as follows:
Port Address: 378 Port Mode: ECP+EPP EPP Version: 1.9 ECP Mode DMA Channel: DMA3 Parallel Port IRQ: IRQ5
at least this works for this specific mainboard. ECP+EPP is probably the most important thing! The Port address is also important but can be changed in the .hal files.
- It is also a good idea to disable all hardware in the BIOS that is not needed. e.g. audio, firewire, ...
- Download ISO from LinuxCNC Homepage, dd if=linuxcnc.iso of=/dev/stick on usb stick and install: Download Page
- After installation put network to static, use 10.20.30.60/16 as IP Address, look up current gateway and DNS server
- Clone the config: git clone https://github.com/Metalab/linuxcnc_config.git linuxcnc
- Add lp group to cnc user: adduser cnc lp
- Tweak the Jitter, see isolcpus Boot parameter: put GRUB_CMDLINE_LINUX_DEFAULT="noapic isolcpus=1 idle=poll nohlt quiet rootdelay=5"
into /etc/default/grub config and update-grub
- If you really need to, you can try adding acpi=off as well, but that also removes the ability to shut the PC off without pressing the power button in the end (and it seems to have not a huge impact as for example the isolcpus).
- After a reboot, you should get really nice jitter values, see screenshot
- To push the LinuxCNC config back to github, you need an github account that is associated with the Metalab repos. Then use the ssh agent to forward your key to the CNC machine and use git push github-ssh master to push. You can also use origin as remote, which is the HTTPS method.