* About LCD driver?
@ 2001-05-10 13:36 zjuzhou
0 siblings, 0 replies; 2+ messages in thread
From: zjuzhou @ 2001-05-10 13:36 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
My lcd device is via MPC850 parport(because my lcd display screen is small).I write my own driver for it.Here is my do.
in .config file,I add
CONFIG_PLCD=y
in drivers/char/Makefile,I add
ifeq(($CONFIG_PLCD),y)
L_OBJS+=plcd.o
endif
in driver/char/mem.c,I add
#ifdef CONFIG_PLCD
plcd_init(); /*in my plcd.c file*/
#endif
At last,i add a new file plcd.c in drivers/char/ .I make zImage again.
I fount plcd.o in drivers/char/.
In my driver plcd_init ,I use printk output some information,
When kernel is run,no information was seen.Writing driver like me is right?
I thank i should see device in /proc/devices,but i could not.I have fill the
each elemnet of struct file_operations.There is noting in boot log,and nothing in /proc/devices.What can i do?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: About LCD driver?
@ 2001-05-11 0:53 zjuzhou
0 siblings, 0 replies; 2+ messages in thread
From: zjuzhou @ 2001-05-11 0:53 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
My lcd device is via MPC850 parport(because my lcd display screen is small).I w
rite my own driver for it.Here is my do.
in .config file,I add
CONFIG_PLCD=y
in drivers/char/Makefile,I add
ifeq(($CONFIG_PLCD),y)
L_OBJS+=plcd.o
endif
in driver/char/mem.c,I add
#ifdef CONFIG_PLCD
plcd_init(); /*in my plcd.c file*/
#endif
At last,i add a new file plcd.c in drivers/char/ .I make zImage again.
I fount plcd.o in drivers/char/.
In my driver plcd_init ,I use printk output some information,
When kernel is run,no information was seen.Writing driver like me is right?
I thank i should see device in /proc/devices,but i could not.I have fill the
each elemnet of struct file_operations.There is noting in boot log,and nothing i
n /proc/devices.What can i do?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-11 0:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-11 0:53 About LCD driver? zjuzhou
-- strict thread matches above, loose matches on Subject: below --
2001-05-10 13:36 zjuzhou
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).