29.11.2012 13:29, Alexander Varnin пишет:
28.11.2012 23:03, Nicholas Mc Guire пишет:
Yes, sorry, stupid mistake.
But with the correct rights O_RDWR i get error 22 EINVAL both on read and write.
So problem is still there.
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Seems to be solved.

Problem was due to lines

if (count != sizeof(s32))
return -EINVAL;

in uio_read kernel function.

I've made read of 4 bytes, and it is ok.
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to