Find one of the many online guides to writing a simple linux device driver.
-or- Find a driver that has similar structure to one you are interested in working on and copy and rename it, adapting to fulfill your function instead of the original. Typically this will involve a few .c and perhaps .h files in the kernel sources, and adding a new entry to the Makefile of the appropriate source directory, and adding a new CONFIG_WHATEVER to the kernel configuration (or you can temporarily hardcode it enabled in the Makefile if you are lazy) You will probably want to read up on and understand things like character vs. block devices before getting started. On Oct 19, 4:34 pm, ajay <mna...@gmail.com> wrote: > hey thanks , > > Could u help me from where i could start ???? > > thanks and regards, > Ajay > > On 17 October 2010 19:11, Sumeet Gupta <sumeet.gu...@teleca.com> wrote: > > > > > You might want to start out with a simple and interesting device - > > accelerometer! > > It doesn't have too many interfaces, nor too many frameworks/subsystems > > to deal with. > > > //sumeet > > > Sumeet Gupta > > Technical Lead > > > Teleca > > Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli, > > Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India > > Phone: +918066532148, Fax: +918066532001 > > Mobile: +919739001701 > > sumeet.gu...@teleca.com > >http://www.teleca.com/ > > > Follow what's going on at Teleca's blog on > >http://www.whatsyourideaoftomorrow.blogspot.com/. > > > The information contained in this message is confidential and is intended > > for the addressee(s) only. If you have received this message in error please > > notify the sender immediately. The unauthorized use, disclosure, copying or > > alteration of this message is strictly prohibited. > > > -----Original Message----- > > From: android-kernel@googlegroups.com > > [mailto:android-ker...@googlegroups.com] On Behalf Of ajay > > Sent: Tuesday, October 12, 2010 9:11 PM > > To: Android Linux Kernel Development > > Subject: [android-kernel] developing a driver on beagle board > > > hi, > > > I am new to drivers on linux and i work on the beagleboard.I would > > like to start out with a simple driver.could someone suggest me a > > simple and good driver 2 work on. > > > Thanks And Regards, > > Ajay > > > -- > > unsubscribe: > > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-kernel > > > -- > > unsubscribe: > > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-kernel > > -- > ajay -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel