On Mon, Dec 15, 2008 at 8:24 AM, amol verule <amol.debian@xxxxxxxxx> wrote: > hi sandeep, > i like to write simple char driver for mouse and keyboard > for that purpose ,is it require datasheet of that device?if not then how to > write driver for device without knowing hardware details??? > Well, if you wish to write the driver for any device then obviously it won't make sense that you don't know the device specification. You definitely need to know the hardware details. So, go ahead and read the details of the hardware. Also, what I will suggest you is refer to an example of char device driver for any device and then develop the context. Also, refer the book, linux device driver, is should probably answer all your queries. > On Sat, Dec 13, 2008 at 4:23 PM, Sandeep K Sinha <sandeepksinha@xxxxxxxxx> > wrote: >> >> On Sat, Dec 13, 2008 at 6:57 AM, Yogesh Mali <yogs.linuxworld@xxxxxxxxx> >> wrote: >> > Hello >> > I have similar question but on different way. >> > I am more interested in file system related projects. >> > 1) Do I need a separate machine to work on kernel programming? >> >> No just download the latest kernel source from www.kernel.org and you >> can compile it and boot from it. >> And later you can do all your _geeky_ stuff there... >> You can always boot to your original(previous) kernel as and when >> required. >> >> > 2) How can I work on kernel programming without hampering my existing >> > kernel >> > source on linux? >> > >> >> Simple, download a new one !!!! >> And also, FYI, Once you have build your kernel image, you can modify >> the sources to build a new kernel image. It won't hamper your previous >> image. >> But, if you wish separate source, then grab one from www.kernel.org. >> >> > Thank You >> > Yogesh >> > >> >> Cheers, >> >> > >> > On Fri, Dec 12, 2008 at 1:55 PM, Mohit Varma <mohit.varma01@xxxxxxxxx> >> > wrote: >> >> >> >> Hi, >> >> >> >> I am new to Linux Programming and am particularly interested in Device >> >> Driver programming. >> >> >> >> Now, my queries are : >> >> >> >> >> >> How do I write a Device Driver without having/ owning a hardware. >> >> Even if I write one...how do I test it. >> >> What if I at some later stage I want to get involved with more serious >> >> Device Driver programming i.e. go beyond basic drivers...How do I >> >> overcome >> >> the challenge of getting a hardware. >> >> people who write Network Drivers...How do they overcome the challenge >> >> of >> >> getting and using the hardware. >> >> >> >> >> >> Would be apreciate if I can get help n clarity on these isues. >> >> >> >> Thanks in Advance, >> >> >> >> Mohit. >> > >> > >> >> >> >> -- >> Regards, >> Sandeep. >> >> >> >> >> >> >> "To learn is to change. Education is a process that changes the learner." >> >> -- >> To unsubscribe from this list: send an email with >> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx >> Please read the FAQ at http://kernelnewbies.org/FAQ >> > > -- Regards, Sandeep. "To learn is to change. Education is a process that changes the learner." -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ