Have wayland use /dev/fb1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Have wayland use /dev/fb1

1,614件の閲覧回数
richc128
Contributor III

I have two displays in my boundary devices i.mx8m mini system. The first is HDMI (via the DSI and a converter) and an ssd1306 oled via i2c.

The oled is getting mapped to /dev/fb0 and the dsi/hdmi to /dev/fb1

Is there a way to swap these? 

Or, is there a way to make wayland use /dev/fb1?

0 件の賞賛
返信
1 返信

1,587件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello richc128,

The kernel command line configuration for display may vary according the kernel release. You will find the correct parameters at release notes contained at the BSP package you're using. For example, for BSP release the video command line is: video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:dev=hdmi, 1920x1080M@60,if=RGB24

If you switch the fb0 with fb1, Linux will switch the primary display. For example, if lcd was the /dev/fb0, it will now be the /dev/fb1. all this is done in uboot.

Regards

0 件の賞賛
返信