Re:
Quoted 7 lines
hi!
I am beginning learn to write a driver follow the
Book "Beginnng Linux programming(Second Edition)".There is a example about char driver,I write as that,but I can open device,but can't read from it.I just copy some static data to user buffer as follow:
copy_to_user(buf, schar_buffer, count)
just check out if u got any perms(rw) on the device.. ? sarvana