Re: [linux-sunxi] sunxi-3.4 display driver dpms bug?
Isn't that expected? The last command turned it off, did you try turning it back on? On Jul 24, 2014 7:04 AM, Jens Thiele ka...@karme.de wrote: if I do: P=/sys/devices/platform/disp/graphics/fb0/blank echo 4 $P; echo 4 $P sleep 1 echo 0 $P the display is switched off and i can't switch the display on anymore can someone confirm? -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] sunxi-3.4 display driver dpms bug?
Neal Peacock kulimandpho...@gmail.com writes: Isn't that expected? no The last command turned it off, did you try turning it back on? echo 0 turns it on and to be clear: echo 4 $P is not enough to produce the problem you have to call it twice echo 4 $P; echo 4 $P you can also try something like: /*BINFMTC: */ #include stdio.h #include assert.h #include linux/fb.h #include sys/types.h #include sys/stat.h #include fcntl.h int main(int argc, char** argv) { int fd=open(/dev/fb0,O_RDWR); assert(fd!=-1); printf(%d\n,ioctl(fd, FBIOBLANK, FB_BLANK_POWERDOWN)); printf(%d\n,ioctl(fd, FBIOBLANK, FB_BLANK_POWERDOWN)); printf(%d\n,ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK)); return 0; } greetings, karme -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] sunxi-3.4 display driver dpms bug?
On 24 July 2014 16:04, Jens Thiele ka...@karme.de wrote: if I do: P=/sys/devices/platform/disp/graphics/fb0/blank echo 4 $P; echo 4 $P sleep 1 echo 0 $P the display is switched off and i can't switch the display on anymore can someone confirm? I have exactly opposite problem. When I connect a display to A10 it never turns off. It only shows either console or fully backlit blank screen. I may have quite dated kernel, though. Thanks Michal -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] sunxi-3.4 display driver dpms bug?
Michal Suchanek hramr...@gmail.com writes: I have exactly opposite problem. When I connect a display to A10 it never turns off. It only shows either console or fully backlit blank screen. different problem then I may have quite dated kernel, though. sunxi-3.4 branch? consoleblank=0 in /proc/cmdline ? greetings karme -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] sunxi-3.4 display driver dpms bug?
On 24 July 2014 21:33, Jens Thiele ka...@karme.de wrote: Michal Suchanek hramr...@gmail.com writes: I have exactly opposite problem. When I connect a display to A10 it never turns off. It only shows either console or fully backlit blank screen. different problem then I may have quite dated kernel, though. sunxi-3.4 branch? Linux A10 3.4.79+ #3 PREEMPT Mon Feb 17 21:33:07 CET 2014 armv7l GNU/Linux consoleblank=0 in /proc/cmdline ? Why would I do that !? console=ttyS0,115200 console=tty0 netconsole=@10.11.12.13/usb0,@10.11.12.14/ debug hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x1024p60 root=/dev/mmcblk0p1 rootwait panic=10 Thanks Michal -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi] sunxi-3.4 display driver dpms bug?
Michal Suchanek hramr...@gmail.com writes: Linux A10 3.4.79+ #3 PREEMPT Mon Feb 17 21:33:07 CET 2014 armv7l GNU/Linux not that old consoleblank=0 in /proc/cmdline ? Why would I do that !? you shouldn't it was just a wild guess on my side why switching off the display might not work for you at all sorry for the confusion -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.