IMX6ULL_DISPLAY_WAKE-UP_ISSUE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6ULL_DISPLAY_WAKE-UP_ISSUE

1,462 次查看
analogicstechin
Contributor III
WE USING THE HARDWARE :
SOC             : MCIMX6Y2DVM05AA (imx6ull-14x14)
PMIC            : PF3000
Case 1:
Here we are using the portrait display but we want image in landscape for that we add the bellow option to xorg.conf (/etc/X11/xorg.conf)    
    Option "Rotate" "CCW"
(counter-clockwise )
  After adding above option display rotated successfully ,but when I try to wake-up   from" mem "(echo mem > /sys/power/state ) power state mode using on/off button , xorg , matchbox panel ,matchbox-display (X11) not running .
This is error I find in  /var/log/Xorg.0.log:
Fatal server error:
[488161.484] (EE) EnterVT failed for screen 0
[488161.484] (EE)
[488161.484] (EE)
 NOTE : It is working fine in portrait mode
 
Case 2 :
we tried  with xrander also ,it @is giving bellow error :
root@imx6ull14x14evk:~# xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 240 x 320, current 240 x 320, maximum 240 x 320
default connected 240x320+0+0 0mm x 0mm
   240x320       65.00*
root@imx6ull14x14evk:~# xrandr -o left
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  2 (RRSetScreenConfig)
  Serial number of failed request:  14
  Current serial number in output stream:  14
root@imx6ull14x14evk:~# xrandr -o right
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  2 (RRSetScreenConfig)
  Serial number of failed request:  14
  Current serial number in output stream:  14
root@imx6ull14x14evk:~# xrandr -o normal
标签 (3)
5 回复数

1,164 次查看
analogicstechin
Contributor III

                       After applying  this patch https://bugs.freedesktop.org/attachment.cgi?id=136176  to the xserver fbdev driver (tmp/work/cortexa7hf-neon-poky-linux-gnueabi/xf86-video-fbdev/2_0.4.4-r0/xf86-video-fbdev-0.4.4/src/fbdev.c)  weak up "mem" issue solved but desktop left  image mirrored to right side (I think display resolution is not set  )for your reference we attaching  image .

with_patch.jpg

0 项奖励
回复

1,164 次查看
xinyu_chen
NXP Employee
NXP Employee

Change rotation option to CW?

0 项奖励
回复

1,164 次查看
analogicstechin
Contributor III

we checked  CW(270 degree rotation ) option also resulting same . 

0 项奖励
回复

1,164 次查看
xinyu_chen
NXP Employee
NXP Employee
Could you please add back these three lines to check?
      if(fPtr->rotate==FBDEV_ROTATE_CW || fPtr->rotate==FBDEV_ROTATE_CCW)       { -       int tmp = pScrn->virtualX; -       pScrn->virtualX = pScrn->displayWidth = pScrn->virtualY; -       pScrn->virtualY = tmp;

1,164 次查看
analogicstechin
Contributor III

After adding those three lines to  xserver fbdev driver ,again it's come to our  old wake up problem (past wake-up issue )

0 项奖励
回复