From: "Vignaud Jean-Baptiste" <jbv@club-internet.fr>
To: "Pavel Machek" <pavel@atrey.karlin.mff.cuni.cz>,
"FrameBuffer" <linux-fbdev@vuser.vu.union.edu>,
"axp-list" <axp-list@redhat.com>
Subject: RE: bug in fbmem.c,
Date: Tue, 22 Jun 1999 13:03:16 +0200 [thread overview]
Message-ID: <000f01bebc9e$d4544620$cc000001@PC_VIGNAUD.xandmail.com> (raw)
In-Reply-To: <19990622130211.05844@atrey.karlin.mff.cuni.cz>
>
> Hi!
>
> > I'v traced a little bug in the fbmem code. i don't know if it's
> the right
> > way to
> > correct it, but on my SX164 alpha this seems to work.
> >
> > before the patch: cat /dev/fb0 > foo end with an execption.
> > after the patch: cat /dev/fb0 > foo ; cat foo > /dev/fb0 work.
>
> Can you try to
> h = open (/dev/fb0, )
> read(h, 0, 256)
> ? Yes, I want you to read into null. I suspect you need something like
> memcpy_fromio_to_user() which does not actually exist :-).
>
Yes, that's right, maybe this 'memcpy_fromio_to_user' is needed.
An other way to do this, as VANDROVE@vc.cvut.cz wrote, is to use a buffer
and
to do copy_from_user and memcpy_fromio...
Is there another way to perform this?
Jean-Baptiste Vignaud.
next parent reply other threads:[~1999-06-22 12:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19990622130211.05844@atrey.karlin.mff.cuni.cz>
1999-06-22 11:03 ` Vignaud Jean-Baptiste [this message]
[not found] <Pine.LNX.3.95.990628173155.278A-100000@chaos.analogic.com>
1999-06-28 21:46 ` bug in fbmem.c, Jeff Garzik
1999-06-28 22:49 ` Richard Henderson
1999-06-22 8:57 Vignaud Jean-Baptiste
[not found] ` <3770E2AF.4BC00019@pobox.com>
1999-06-28 19:55 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox