Re: How to write a device driver in such a fashion .????

2008-01-08 Thread Scott Wood
On Mon, Jan 07, 2008 at 08:31:10PM -0800, Misbah khan wrote: using mmap() in application to access the h/w is only possible if the device memory is mapped in the kernel virtual memory how come we directly map to the physical memory to virtual from user space ??? No, /dev/mem takes physical

How to write a device driver in such a fashion .????

2008-01-06 Thread Misbah khan
Hi all I need your suggession to write a driver with such requirements :- On Initiation by the application of which key is pressed driver should perform the task accordingly. There are 7 keys so seven different task the driver will perform. 1 . I do not want to use any entry point such