Marcel Soulot wrote:
> Hi,
>
> I wrote a driver and used IOCTL command. When I test my driver with a test
> application with root access the IOCTL cmd work fine.
> I notice when I declared my IOCTL command that I used the _IOR for all of
> them. Even the IOCTL command is a read (on register) or write.
> So I try to correct my mistake and wants to use _IOR for read command and
> _IOW for write command.
> For the write command, I got a error -25 (not a typewriter) so I don't
> understand why.
> I also try to change the _IOW to _IOWR but same mistake.
>
> Someone can explain what is the problem, please ?
A piece of code is worth a thousand words...
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help