All of lore.kernel.org
 help / color / mirror / Atom feed
* Having problem with mmap system call!!!
@ 2004-09-16 14:42 Srinivas G.
  0 siblings, 0 replies; 7+ messages in thread
From: Srinivas G. @ 2004-09-16 14:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

Hi All,
 
I have a doubt about mmap system call.
 
We have developed a character driver for Camera device. We used mmap system call in the application code to map the kernel image buffer pointer to user process with out implementing any mmap call back function in the driver code. No compilation and/or run time error. But, we are not getting the image in the proper way. When we try to open the saved file in paintbrush it shows only junk (i.e. some parallel lines.) Please find the attached zip file. Camera is working fine. We have taken pictures from Windows Machine with good clarity.
 
My doubt is, is it compulsory to implement the call back function in the driver code? OR Is it taken care by File system level functions?
 
Any help greatly appreciated.
 
Thanks and regards,
Srinivas G
 
 


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

end of thread, other threads:[~2004-09-16 21:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4EE0CBA31942E547B99B3D4BFAB348111078FE@mail.esn.co.in>
2004-09-16 14:07 ` Having problem with mmap system call!!! Richard B. Johnson
2004-09-16 13:31   ` Alan Cox
2004-09-16 14:54     ` Richard B. Johnson
2004-09-16 15:57       ` Alan Cox
2004-09-16 18:13         ` Richard B. Johnson
2004-09-16 20:01           ` Alan Cox
2004-09-16 14:42 Srinivas G.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.