Thread (27 messages) 27 messages, 4 authors, 2015-01-14

RE: SSD1306 OLED driver

flat view

From: Ssagarr Patil <hidden>
Date: 2015-01-09 12:55:43

Hi Maxime,

Thanks for your response!
On Fri, Jan 09, 2015 at 03:45:01PM +0530, Ssagarr Patil wrote:
quoted
Hi Maxime,
quoted
quoted
quoted
Thanks for the pointer, I am using spi_write() call and I see /dev/fb0 node created.
but when I do echo "1121"> /dev/fb0 nothing comes up on oled any pointers on this ?
You can't use it like that. It's a standard framebuffer, that is
represented as an array of pixels, so you need to use a font rendering
software if you want to output some text.
can fbtest
(https://git.kernel.org/cgit/linux/kernel/git/geert/fbtest.git/)
be used to to draw something ?
how do I set pixels of it ? Please if you can point me to some stuff that would be helpful.
Last time I tried, fbtest didn't support monochrome display.

And you'll find anything you need in the documentation.
https://www.kernel.org/doc/Documentation/fb/framebuffer.txt
In my case I see that init is done but I dont see any pixels on the screen at all.
I am now concerned if the driver was tested in first place ?

Thanks And Regards,
Sagar

 		 	   		  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help