I am Using CM4 module and i want to connect DSI HMI to CM4 , I can connect DSI and HDMI both Displays together without any issue but when i want to connect to CM4 i cant foud the output
Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
I am Using CM4 module and i want to connect DSI HMI to CM4 , I can connect DSI and HDMI both Displays together without any issue but when i want to connect to CM4 i cant foud the output
【。。。Displays together without any issue】-》mean display well
【。。。 i cant foud the output】-》So, You can find output
So what is your problem
report
OK i will Make it clear for you I want to connect DSI HMI display and HDMI display to CM4, can you help me in that
bellow attachment is my config file
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=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=1280
#framebuffer_height=720
# 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=1
#hdmi_mode=1
# 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
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# 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
# Automatically load overlays for detected cameras
#camera_auto_detect=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
#dtoverlay=dpi24
#enable_dpi_lcd=1
#display_default_lcd=0
display_default_lcd=1
#dpi_group=2
#dpi_mode=87
#dpi_output_format=0x6f005
#dpi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 32000000 6
# Enable DRM VC4 V3D driver
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
#dtoverlay=vc4-kms-v3d
#dtoverlay=vc4-kms-dsi-7inch
# Disable compensation for displays with overscan
disable_overscan=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
# Run as fast as firmware / board allows
arm_boost=1
[all]
disable_camera_led=1
gpu_mem=256
dtoverlay=pi3-disable-bt
#disable_splash=1
boot_delay=0
dtparam=i2c1=on
core_freq_min=500
max_usb_current=1
#initramfs initrd.img-XXXXX
start_x=1
# Screen 1 @ HDMI0
hdmi_pixel_encoding:0=2
hdmi_force_mode:0=1
disable_overscan:0=1
hdmi_group:0=2
hdmi_mode:0=87
hdmi_force_hotplug:0=1
config_hdmi_boost:0=4
framebuffer_depth:0=32
framebuffer_ignore_alpha:0=1
#=====Optinonal try disabling if display not working
hvs_priority=0x32ff
hdmi_pixel_freq_limit:0=400000000
#====
#2k RGB 5.5 inch LCD
hdmi_drive:0=2
hdmi_cvt:0=1440 2560 49 3 0 0 0
##hdmi_timings=1440 0 50 10 35 2560 0 4 2 2 0 0 0 50 0 198000000 0
report
You mean you want HDMI and DSI display together ON CM4 ?
With your Current configuration, HDMI LCD or DSI LCD which can display well ?
This have a way to make HDMI and a DPI LCD display together
I Refer to this link
https://forums.raspberrypi.com/viewtopic.php?t=246384
】open config.txt Block kms or fkms
#dtoverlay=vc4-fkms-v3d
add the following code
dtparam=audio=off
disable_overscan=1
enable_uart=off
gpio=0-9=a2
gpio=12-17=a2
gpio=20-25=a2
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
extra_transpose_buffer=2
dpi_group=2
dpi_mode=87
dpi_output_format=0x7F016
hdmi_timings=480 0 26 16 10 640 0 25 10 15 0 0 0 60 0 32000000 1
dtoverlay=waveshare-28dpi-3b-4b
dtoverlay=waveshare-28dpi-3b
dtoverlay=waveshare-28dpi-4b
dtoverlay=dwc2,dr_mode=host
start_x=1
gpu_mem=128
framebuffer_priority=0
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
Block the following code
#Section "Device"
# Identifier "Allwinner A10/A13 FBDEV"
# Driver "fbturbo"
# Option "fbdev" "/dev/fb1"
# Option "SwapbuffersWait" "true"
#EndSection
add the following code
Section "Device"
Identifier "fbturbo0"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
Option "debug" "true"
EndSection
Section "Device"
Identifier "fbturbo1"
Driver "fbturbo"
Option "fbdev" "/dev/fb1"
Option "SwapbuffersWait" "true"
Option "debug" "true"
EndSection
Section "Device"
Identifier "fbdev0"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection
Section "Device"
Identifier "fbdev1"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "Primary" "False"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "RightOf" "Monitor0"
Option "Primary" "False"
EndSection
Section "Screen"
Identifier "ScreenTurbo0"
Monitor "Monitor0"
Device "fbturbo0"
Subsection "Display"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenTurbo1"
Monitor "Monitor1"
Device "fbturbo1"
Subsection "Display"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenDev0"
Monitor "Monitor0"
Device "fbdev0"
Subsection "Display"
EndSubSection
EndSection
Section "Screen"
Identifier "ScreenDev1"
Monitor "Monitor1"
Device "fbdev1"
Subsection "Display"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Multihead"
Screen 0 "ScreenTurbo0"
Screen 1 "ScreenTurbo1" rightof "ScreenTurbo0"
Option "Xinerama" "true"
EndSection
Section "ServerLayout"
Identifier "Singlehead0"
Screen 0 "ScreenTurbo0"
EndSection
Section "ServerLayout"
Identifier "Singlehead1"
Screen 0 "ScreenTurbo1"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "DefaultServerLayout" "Singlehead0"
EndSection
sudo raspi-config
set to CLI boot
sudo usermod -a -G tty pi
sudo apt-get install xserver-xorg-legacy
sudo chmod 0744 /dev/fb0
sudo nano /etc/X11/Xwrapper.config
change
allowed_users=console
to
allowed_users=anybody
】Start the double display
sudo nano /etc/rc.local
ADD
su -c "startx -- -layout Multihead &" pi
】 sudo reboot
report