Raspberry Pi 4 Tutorial - fatal error
- Hakan
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 200
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 200
forum.linuxcnc.org/18-computer/36879-ras...pi-4?start=50#140800
I assume that other old packages can be found at the same place.
Please Log in or Create an account to join the conversation.
- JohnnyCNC
-
- Offline
- Platinum Member
-
- Posts: 554
- Thank you received: 102
sudo apt install openbox
sudo apt install lxterminal
sudo apt install lightdm
I also lost my network connection (my fault) while debuild -uc -us was running and had to start it again.
Now, how do I start Linuxcnc from the command line? It is not on the Caja menus and I tried "linuxcnc" and I get "command not found". At this point I was just going to check latency as I don't have 7i76E yet.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23244
- Thank you received: 4915
I should have entered:
sudo apt install openbox
sudo apt install lxterminal
sudo apt install lightdm
This works too:
sudo apt install openbox lxterminal lightdm
Now, how do I start Linuxcnc from the command line? It is not on the Caja menus and I tried "linuxcnc" and I get "command not found". At this point I was just going to check latency as I don't have 7i76E yet.
If it is a built-from-source run-in-place version then before you can enter any linuxcnc commands you need
. ./linuxcnc-dev/scripts/rip-environment
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
linuxcnc
I add them to the right click menu by opening a terminal and running the menu config tool
obmenu
I'll work on the tutorial some more when I return from vacation.
Thanks for the feedback.
JT
Please Log in or Create an account to join the conversation.
- JohnnyCNC
-
- Offline
- Platinum Member
-
- Posts: 554
- Thank you received: 102
I'm going to try what Andy said and see what happens. I'm going to get a couple more SD cards so I can run through it again without wiping out this one.
Thanks
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
gnipsel.com/linuxcnc/uspace/rpi4-emc.html
The next step after installing OpenBox is to install LinuxCNC...
JT
Please Log in or Create an account to join the conversation.
- JohnnyCNC
-
- Offline
- Platinum Member
-
- Posts: 554
- Thank you received: 102
page again and it is now working. I must admit that every time I read about someone wanting to use a RPi my thoughts when to "Do you want to build a CNC machine or play with a Pi?" I must say that so far I am impressed with how snappy LinuxCNC feels and how bright the display looks. I have a Pi 4 with 4mb. Now to run the latency test and see how that goes.
Thanks
John
Please Log in or Create an account to join the conversation.
- JohnnyCNC
-
- Offline
- Platinum Member
-
- Posts: 554
- Thank you received: 102
Servo thread (1ms): 73079
Base thread (25us): 93953
If I run just the servo thread the number goes up over 100,000.
Anything I should try to lower the latency on the Pi4?
I may get a 7i76E and give this a try. Right now I'm using a 6i25+7i76+7i83
John
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18397
- Thank you received: 5025
Please Log in or Create an account to join the conversation.