Hi, On Tue, Jan 12, 2010 at 5:46 PM, Sam Carter <sam.w.carter@xxxxxxxxx> wrote: > Hi Srdjan and everyone. > > Thanks for pointing that out, I have updated my function. > > ssize_t memo_write(struct file *filp, const char __user *buf, size_t count, > loff_t *offp){ > printk("write function\n"); > ssize_t temp = -ENOMEM; > return temp; > } > > However with a clean build reboot and insmod, I am having the same error. > I'm sure I must be missing something obvious. What could be causing this? I'm pretty sure that your /dev/XXX device is not properly _connected_ with your file operations struct. So please, recheck: * /dev/XXX has proper access rights and major, minor match the ones in your driver. * character device handing operations. thanks, Daniel. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ