read call blocks
im new on writing device driver in kernelspace.
So i started with writung a small scull driver.
The problem is, that a write call blocks sthe system.
I do not know why.
Here the function.
ssize_t FS_write(struct file * filp, const char * buf, size_t count, loff_t * f_pos)
// Tha array is big enough
I dont know what why the driver hangs
"Hallo" > /dev/mydriver
i then i can see that the init is done well.
After it, the kernel hangs.
Tank you for help.
Okay, sorry i have it now
The Read call was is well done.
It hangs on a secial call of the open of my driver.
I have implemented some personalities and there had beeen a buck while
chanching the file operations structure.
Sometimes the best help is none... :-) Glad you sorted it out.