Hello Andrej - thanks for your comments - regarding the connection between<br>the LCDC (framebuffer) and the LCM for a "video mode change" :<br><br>>>2) What's the best way to send a command from the framebuffer driver to the LCM <br>>> (spi) module - so that we can have a full change of mode using e.g. fbset?<br>>> The way the code is currently structured, a call to the mode change function<br>>> in the LCM module needs a data structure which the framebuffer doesnt know <br>>> about. (e.g. should we store a reference to the jbt_info structure <br>>> statically in jbt6k74.c so that external callers dont need to specify it?<br>>> or should we try to arrange a call through the sysfs user interface?)<br><br>> I think the jbt6k74 should export these properties through sysfs as it<br>> is a separate device from the
LCDC.<br><br>Andrej - jbt6k74 does already export these to sysfs. The question is whether that<br>is the best way for the kernel to access its functions internally : <br>(How) can one access the sysfs from within the kernel? Is there a kernel interface?<br>Do we have to pass a message out to a user application which can access sysfs?<br>This last sounds like a nasty way of doing things..<br>It would be easy (and reasonable for the gta01) to assume there is only one jbt6k74<br>device and keep a data structure statically in jbt6k74.c. This would allow jbt6k74.c <br>to EXPORT a kernel function for changing mode which would be fast and easy.<br><br>Regards<br><br>John<p> 
<hr size=1>Need a vacation? <a href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--">Get great deals
to amazing places </a>on Yahoo! Travel.