Zum Inhalt springen

Geil-o-mat/PC: Unterschied zwischen den Versionen

Reox (Diskussion | Beiträge)
add push command
Reox (Diskussion | Beiträge)
some further information about Bios
Zeile 1: Zeile 1:
How to set up the LinuxCNC PC
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.
* 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]
* 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
* After installation put network to static, use <tt>10.20.30.60/16</tt> as IP Address, look up current gateway and DNS server
Zeile 7: Zeile 14:
* 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"
* 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>
</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