Originally Posted by pinniped
The supported IOCTLs depend on the device and the driver. If the return value is '-1' you should check the value of 'errno' for more information on what went wrong.
well, I made some changes to obtain errno when ioctl returns me -1
errno = 25 --> ENOTTTY. This almost always is the result of an ioctl() call applied to an inappropriate device type.
As I understand, this error is normal, because my device is not a input charcater, it is a HID device, then this is the reason of error, I understand.
Well, now I need to known if I can use TSLIB with this device, but this question is not for this forum.
thank you very much pinniped.