Skip to contentSkip to conversation

DISCUSSION 新 月 1 participant 1 message Aug 16, 2001

lore
Share & tools
lore

新 月

author
#0 lore raw

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)

Thanks,
xin