Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images

More
09 Feb 2024 00:24 #292898 by Wierzbowski
hi, could You please make step-by-step video guide for newbies how to setup raspberry pi 400/4b in order to controll cnc machine?

Please Log in or Create an account to join the conversation.

More
09 Feb 2024 02:10 - 09 Feb 2024 02:11 #292903 by rodw

hi, could You please make step-by-step video guide for newbies how to setup raspberry pi 400/4b in order to controll cnc machine?
 

I can't cos I don't have a pi.  But do this:
Download the iamge
Burn do a SD card using  Balena Etcher (free download windows and linux)
Boot the pi using the SD card
Log in with username/password cnc/cnc
open a terminal
type: sudo menu-config
and set up your wifi if required, locale and time zone etc. You can also change your password.

After that you have a computer with linuxcnc installed so simply refer to the docs on the LinuxCNC web site. There is a specific gpio driver for the Pi that is documented there. There is also a pi specific Mesa card but I would recommend you use a Mesa Ethernet card for future flexibility.

You can also install ethercat if you want to use it but thats not a beginners path
sudo apt install linuxcnc-ethercat (from memory)
Last edit: 09 Feb 2024 02:11 by rodw.
The following user(s) said Thank You: Wierzbowski

Please Log in or Create an account to join the conversation.

More
16 Apr 2024 16:13 #298382 by xenon-alien
Hello.
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
On a Windows system the display works fine. (even tried on the Orange Pi PC with Armbian and it almost worked)

My config.txt file
arm_64bit=1
initramfs initrd.gz followkernel

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1920
framebuffer_height=1200

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87
hdmi_cvt=1920 1200 60 5 0 0 0

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

# camera
#start_x=1
#gpu_mem=128

# automatically load overlays for detected cameras
#camera_auto_detect=1

# automatically load overlays for detected DSI displays
#display_auto_detect=1

# uncomment to overclock: https://www.tomshardware.com/how-to/overclock-any-raspberry-pi
#arm_freq=
#gpu_freq=
#core_freq=
#over_voltage=
#force_turbo=1

# uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# additional overlays and parameters are documented /boot/overlays/README

# enable audio (loads snd_bcm2835)
dtparam=audio=on

# enable uart
enable_uart=0

# disable wifi and bluetooth
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt

# remove test rainbow
disable_splash=1

# disables the warning overlays
#avoid_warnings=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[pi4]
# enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-kms-v3d
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
arm_boost=1

max_usb_current=1
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Apr 2024 16:28 #298385 by elovalvo

Hello.
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
 


forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=190#298380

Please Log in or Create an account to join the conversation.

Time to create page: 0.486 seconds
Powered by Kunena Forum