Thread (35 messages) flat view 35 messages, 7 authors, 2004-01-09

Re: Changing modes with fbset

From: Otto Solares <hidden>
Date: 2004-01-06 02:08:12

On Tue, Jan 06, 2004 at 12:44:39PM +1100, Benjamin Herrenschmidt wrote:
quoted
Ben, you that know the internals of fbdev's, it would be difficult to
implement the busid stuff?  Maybe that info is already known by the
drivers somewhere... It could even work for sparcs with sbus or others
archs with differents buses, as the busid nomenclature is very standarized
i think.
Fairly easy, though it would be even better to do it based on the
sysfs stuff rather than an ioctl. 
Agree.  Problem is that sysfs stuff is very invasive i think and it
will be hard to push even on development trees like -mm ones.  An
ioctl could be something simple as passing a pointer to a buffer
of fixed length, the best imho would be extend fb_fix_screeninfo
struct to accomodate a 'char busid[16];' but that could break
binary compatibility.  If 2.6 break from 2.4 we could put it
there as anyway apps need to recompile.  Shame that there are
not sufficient 'reserved' bits.

-solca



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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