Kev,
> Code found by searching for "fb.h raspberry pi" is mostly
> working with the hardware framebuffer, rather than the Linux
> one.
I noticed the same. I also noticed that most of the returned results had
little, if anything, to do with an RPi. In short : for someone like me
who's searching for something *relevant to the RPi* its next to worthless,
as info pertaining to the RPi is seldom-if-ever marked as such, and thus
drowns in a series of codesamples all allmost, but not exactly the same. :-(
... and thats while already having ignored "results" like "the nearest baker
to you" and similar crap.
Or, in other words: I have not been able to find "linux frame buffer" code
relevant to the RPi. If I would have I could rather likely have spotted if
the hardware cursor would be supported or not, and which other basic graphic
actions (rectangle, image, etc) would be available - and by inspecting how
the implementation of them handles their arguments be able to figure out how
to invoke them.
... and I would never have posted here ...
> No, not provide an extract, a link/path. It happened to be that
> I could do a web search on a bit of that and found out that you
> were using a "fb.h" header file provided by Linux.
Ah, you wanted me to find the same file on the internet and so that way you
could look at it yourself. It would have been a good idea to tell me that.
As for that "you were using a "fb.h" header file provided by Linux." ?
Even with just the info I supplied in my initial post (or just looking at
the subjectline of this thread!) /what else/ would I have been using than
Linux ?
> How do I know your system? It may be "bullseye lite", but I assume
> you've installed and downloaded other things onto it,
It would have been a good idea to verify that with me, 'cause no, I haven't.
As such your assumption just made your task more difficult for you than need
be, and as a result more difficult for me.
I had no idea why you would ask me for that path when you do not seem to run
an RPi (with bullseye), and as such would be unable to inspect that file.
... Which is why I posted the first few lines of it, so you could see that
your and my files where not equal.
> Anyway I've seen others have similar arguments with you about being
> unclear in your questions on Usenet, so I guess it's pointless.
And I've seen you being unclear in what you needed from me, so I guess we
are on an equal footing there.
As for "Unclear in your question" accusations ? Funny that those only turn
up way down in a thread, and never are preceeded by any kind of "I don't
quite get the question, can you explain {this} or {that}". IOW, mostly
coming from people who didn't understand (for whatever reason) the question,
ultimatily getting told of (by me) for it, and than try to make it sound as
if its my fault.
>> My question was aimed at if the place to send such requests to and
>> the format of those requests is the same for all RPi versions.
>
> "The place to send such requests" is the mailbox peripheral, and
> the format is the same for the all the VideoCore IV Pis, which
> currently means all the models except maybe those based on the Pi
> 4, which uses VideoCore VI (different GPU hardware, so many things
> changed, maybe including how the framebuffer works).
Thank you. As said, that is enough for me to make it worth while to spend
time writing "mailbox" stuff for it.
> Sometimes you try to avoid a hassle only to create another one.
If I could only see into the future, than I would just know when to pursue a
certain avenue and when to switch to another ...
But as we cannot that ofcourse works the other way around as well - trying
to avoid a (non existing?) hassle and by it find yourself in (an even
bigger) one. IOW, you do not have a point here.
And I do not want to be blunt here, but the /only/ "hassle" I have is the
absense of basic documentation.
> Using the Linux Framebuffer but still wanting some hardware
> acceleration might be such a case.
And I could have known that the "linux framebuffer" does not have any such
support (even though it strongly hints to it) before this thread ... how
exactly ?
Also, I suggest you (re?)read the subjectline and/or my initial post. In it
I made it quite clear that I was inquiring about *if* such support is
available for the RPi, and *if* it is how to use it.
And this is your next "hassle" you have assumed yourself into : what makes
you think that I would like to mix up the linux framebufer with something
else (mailbox), just to get a hardware mouse pointer ? To me that was at
the moment of writing, a strict or-or situation.
... But now you've suggested it I might just see if it 1) can be done 2) is
a workable solution. Why ? Why not.
Regards,
Rudy Wieser