AndrewFromMelbourne / raspi2raspi

Program to copy from one Raspberry Pi display to another Raspberry Pi display
MIT License
34 stars 15 forks source link

How to copy the display screen of HDMI interface to the RGB LCD screen of DPI interface? #8

Open ShaoMingya opened 5 years ago

ShaoMingya commented 5 years ago

Hi Andrew! First of all, thank you for giving me an idea. Now I want to display HDMI screen on DPI interface(https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/README.md), but I tried several routines of yours, but they failed. Can you give me some advice? Thank you!

AndrewFromMelbourne commented 5 years ago

What you are looking for is the opposite of raspi2raspi. It would be possible to write a program to do this, but I don't have anything that would do what you want.

ShaoMingya commented 5 years ago

What you are looking for is the opposite of raspi2raspi. It would be possible to write a program to do this, but I don't have anything that would do what you want.

I'm glad to hear from you. Yesterday, I consulted the relevant information and found that the display number of raspberry HDMI is 5 and the display number of DPI is 4. I used the command line:

sudo ./raspi2raspi --source 5 --destination 4

Surprised to see the DPI LCD screen synchronized display HDMI screen. But I would like to ask you how to understand the relationship between different hardware display interfaces and "display number"?

AndrewFromMelbourne commented 5 years ago

Sorry, yes of course. It has been a long while since I did this. I don't really know how thee display numbers are assigned.