lkml.org 
[lkml]   [2006]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Linux-fbdev-devel] Behaviour change of /dev/fb0?
    Richard Purdie wrote:
    > Ignoring whether this is a good idea or not, under 2.6.15 you could run
    >
    > dd if=/dev/zero of=/dev/fb0
    >
    > which would clear the framebuffer. It would end up saying "dd: /dev/fb0:
    > No space left on device".
    >
    > Under 2.6.16 (and a recent git kernel), the same command clears the
    > screen but then hangs. Was the change in behaviour intentional?
    >
    > I've noticed this on a couple of ARM based Zaurus handhelds under both
    > w100fb and pxafb.
    >

    There is a change in behavior of fb_read and fb_write committed Jan 2006.
    They return the number of bytes read or written if the requested size
    is bigger than the remaining space. Previously, they returned -ENOSPC.

    But I haven't experienced hangs...

    Tony
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-04-15 01:35    [W:0.020 / U:2.980 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site