使用beagleboneblack,想动态改变HDMI输出的显示分辨率,我在drm_probe_helper.c的drm_helper_probe_single_connector_modes_merge_bits函数中修改count = drm_add_modes_noedid(connector, 800, 600);将HDMI分辨率改为800×600,但怎样在用户态动态修改分辨率呢?使用libdrm?有没有改变分辨率的例子参考下?谢谢
Shine:
请参考下面的wiki网站。
wiki.tiprocessors.com/…/Sitara_Linux_LCDC_fbdev_User_Space
Jian Zhou:
分辨率一般都是在驱动层修改的,用户层好像修改不了。
lu Cao2:
fbset -fb /dev/fb0 -xres xx -yres xx
yongqing wang:
这个好像没有