Hello Andrej - thanks for your comments - regarding the connection between<br>the LCDC (framebuffer) and the LCM for a "video mode change" :<br><br>&gt;&gt;2) What's the best way to send a command from the framebuffer driver to the LCM <br>&gt;&gt;&nbsp;&nbsp; &nbsp;(spi) module - so that we can have a full change of mode using e.g. fbset?<br>&gt;&gt;&nbsp;&nbsp; &nbsp;The way the code is currently structured, a call to the mode change function<br>&gt;&gt;&nbsp;&nbsp; &nbsp;in the LCM module needs a data structure which the framebuffer doesnt know <br>&gt;&gt;&nbsp;&nbsp; &nbsp;about. (e.g. should we store a reference to the jbt_info structure <br>&gt;&gt;&nbsp;&nbsp; &nbsp;statically in jbt6k74.c so that external callers dont need to specify it?<br>&gt;&gt;&nbsp;&nbsp; &nbsp;or should we try to arrange a call through the sysfs user interface?)<br><br>&gt; I think the jbt6k74 should export these properties through sysfs as it<br>&gt; is a separate device from the
 LCDC.<br><br>Andrej - jbt6k74 does already export these to sysfs.&nbsp; 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?&nbsp; 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.&nbsp; 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>&#32;
      <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.