Re: uinput on headless system ...

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

 



The error is produced when the write operation doesn't return the same number of bytes as the one requested to write. Is there any other way of checking a specific error message on files associated with devices?

if (write( uinputDev, &event, sizeof(struct input_event)) != sizeof( struct input_event) )
{
    fprintf(stderr, "Error on send_event");
    return -1;
 }

On 01/19/2016 04:36 PM, Dmitry Torokhov wrote:
On Tue, Jan 19, 2016 at 09:55:00AM -0500, Roberto Alejandro Espi Munoz wrote:
Bump ... any other insights or suggestions I could try?

You can check what error you are getting when trying to open the device
and that might give you idea.

Thanks.



--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux