linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Reading a config file in a driver ....
@ 2008-01-03  5:03 Misbah khan
  2008-01-03 16:30 ` Olof Johansson
  0 siblings, 1 reply; 7+ messages in thread
From: Misbah khan @ 2008-01-03  5:03 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all ....

I am writing a LCD driver in which the default configuration for LCD would
be loded at the Init . This default configuration if keep in the driver then
for a change in default configuration we need to compile the driver which we
never want . Hence we want a .config file in /etc/lcd.config dir which could
be changed and the next boot will take this configuration as the default
configuration. 

I need to know How to read from the config file in the driver form the dir
/etc/lcd.config. The driver would be installed at boot up 

Please if any of you have an experience in this or could suggest something
,I would really appriciate ...


----Misbah <><
-- 
View this message in context: http://www.nabble.com/Reading-a-config-file-in-a-driver-....-tp14591717p14591717.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-05 14:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03  5:03 Reading a config file in a driver Misbah khan
2008-01-03 16:30 ` Olof Johansson
2008-01-03 18:43   ` Carlos Munoz
2008-01-04  8:32     ` Misbah khan
2008-01-04 20:58       ` Control not branching to the instruction present at resetvec i.e 0xfffffffc ravi.rao
2008-01-05 14:19         ` Misbah khan
2008-01-04  8:36   ` Reading a config file in a driver Misbah khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).