From: AKS <aun...@gm...> - 2012-03-29 00:15:22
|
"User space" or "kernel space" driver for your character device driver? On 3/28/12, Ben Johnson <mya...@gm...> wrote: > Hello, > I am writing a custom character device driver. When the open > function is called in the kernel code I am looking to pull out some > piece of unique information out of either the inode struct or the file > struct that could then be used to identify during subsequent reads and > writes. Everything that I have tried to pull out so far has been > zero. Has anyone done this with success before? > > I am also open to the idea of setting something in the inode or file > struct that will be preserved and could be read back during subsequent > read and write calls. Any ideas? > > Thanks, > Ben > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |