Mornin,
i have since solved the problem of passing info
to and from the kernel - I'm using my own ioctls - which
solves the problem perfeclty. The next problem I hit is
this:
I have 2 devices being monitored by the same
kernel module. When one device is accessed and info is
passed in, the module notifies a user process which then
gets the info thru the other deivce, acts on it, and passes
back the result. My problem is I need the module to block
(or something) until the info has being passed back before
returning from the ioctl call made on the first device.
Any ideas?
I prolly haven't made a very good description so feel free
to ask any q's.
Need help, cause if I can't solve this, my Final Year
Project is stillborn.
Steve
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!