drivers/gpu/drm registers a single framebuffer, so there is just /dev/fb0.
drivers/staging/omapdrm creates several framebuffers, but does not register them so there is no corresponding /dev/fbN device.
Therefore, how can I set up a second screen in the in the xorg.conf file in order to use two displays?
Could you please specify what is your use case? Are you trying to have one screen on HDMI connector and one on DVI connector at the same time on Panda?
I will come back with a sample xorg.conf that sets up 2 displays.
Please click the Verify Answer button on this post if it answers your question
Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
I wish to use DVI and LCD2.
Please find attached a sample xorg.conf file that sets up 2 displays: 3175.xorg.conf. The important 'Option's to note are rotation, "LeftOf", "RightOf", "Primary".
Looking forward to hearing your results.
However, the xorg.conf doesn't look like it is for a pandaboard with omapdrm. Under the Device section, it lists radeon as the driver.
This is the main section I'm looking for. Going back to my original question, I'm wondering how you specify the different display devices. They can't be distinguished with a different framebuffer device, for example.
You are correct, this is for a ubuntu PC. I will investigate more to see whether someone inside TI has this working on panda and will get back shortly.
Have you gotten all the help you need for this question?
Please click the Verify Answerbutton on this post if it answers your question.
No, the question was never answered.
So, if understand correctly, you want to run GLP 1.6 with two monitors on a panda board?
That's correct. But specifically, I want to use X11. So that means omapdrm, etc and not just a raw omap framebuffer.
So the key to the question is: how do you specify the different devices/displays in xorg.conf since you can't use the traditional /dev/fb0 /dev/fb1? With omapdrm, you get just one framebuffer.
The answer I am getting is that xrandr will work with two monitors and omapdrm on x11. So you would run xrandr to configure two displays as normal. This presumes you have two working displays, I don't know what hardware you are using, or how they are configured. But all displays are managed with a single device file and multiple displays are going to be configured with normal xrandr commands.
While it is true that the devices are managed by xrandr, that doesn't really answer the question about how they are configured in xorg.conf. The X11 server still needs to know about the devices and that means that they need to be configured in xorg.conf. It needs to know, for example, that you have two displays and how they are placed in a virtual.
I have attached the xorg.conf which does this in case anyone else seeing this question is attempting to do the same.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.