Skip to contentSkip to conversation

Re:

DISCUSSION Saravana 1 participant 1 message Aug 16, 2001

lore
Share & tools
lore

Saravana

author
#0 lore raw
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