Thread (13 messages) 13 messages, 9 authors, 2004-03-23

Re: Re: [PATCH] Sysfs for framebuffer

From: Greg KH <hidden>
Date: 2004-03-20 21:59:38
Also in: lkml

On Sat, Mar 20, 2004 at 10:52:19PM +0100, Kronos wrote:
Il Sat, Mar 20, 2004 at 01:30:30PM -0800, Greg KH ha scritto: 
quoted
On Sat, Mar 20, 2004 at 06:49:56PM +0100, Kronos wrote:
quoted
Hi,
the following patch (against 2.6.5-rc2) teaches fb to use class_simple.
With this patch udev will automagically create device nodes for each
framebuffer registered. Once all drivers are converted to
framebuffer_{alloc,release} we can switch to our own class.
yeah, it's about time!  Didn't I post this patch a few months ago... :)
Hum, I remeber your patch that did the same thing, but it didn't use
class_simple, did it?
I think I had one version that did, but who cares, it doesn't really
matter :)
quoted
quoted
notebook:~# tree /sys/class/graphics/
/sys/class/graphics/
"graphics"?  Why that?  Why not "fb"?

It doesn't really matter to me, just curious.
It was discussed a while ago (this is James):

<quote>
On Tue, 9 Sep 2003, Benjamin Herrenschmidt wrote:
quoted
quoted
On Tue, 2003-09-09 at 21:24, Kronos wrote:
quoted
+static struct class fb_class = {
+ .name           = "video",
I'd rather use "display" here. "video" is too broad and will cause
confusion with multimedia stuff.
Exactly my comment. I was thinking about `graphics' instead of
`video', but indeed `display' sounds better. Gr{oetje,eeting}s,
I prefere graphics myself. Display sounds to generic. That is what video
and graphics output is piped to. Since fbdev doesn't handle video ouput
normally this is kind of fuzzy sounding.
</quote>
Well, /sys/class/video is already taken by the V4L core code, so if
"graphics" doesn't confuse people, it's ok with me.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help