When I start the framebuffer X window, I always get the following warning:
(EE) FBDEV(0): FBIOPAN_DISPLAY: Invalid argument
I'm realy strange about this, so I trace into the source of XFree86 and 
linux kernel. So I know the kernel return EINVAL when both 'xoffset' and
'yoffset' area in 'fb_var_screeninfo' is zero. (These codes resides in
linux/drivers/video/fbmem.c:fb_ioctl) Then I take a look at
 xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c:fbdevHWAdjustFrame,
 xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c:fbdevHWEnterVT and some
other related codes, so I know the fb_var_screeninfo.xoffset and
fb_var_screeninfo.yoffset are set according to pScrn->frameX0 and
pScrn->frameY0 respectively. In fact, I think the pScrn->frameX0 == 0 and
pScrn->frameY0 == 0 might be a correct case, so why not fbdevHWAdjustFrame
check it firstly to avoid the warning? This warning will confuse the user
and let the user think something goes wrong. I'm confused too, whether this
warning means something that I have done is wrong?

Thanks. June 16

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to