Re: Need help adding platform UIO devices to board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux