best mechanism to signal userland from driver?

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

 



Hi,

What is the best mechanism to signal an event from gadget driver to user space?

1) Use POLLPRI when we get the event. User space can then issue an IOCTL to get the event.
2) Use uevent to send the event to user space
3) Use a separate device file dedicated for the events

Which of the 3 is a good approach. Is there a better way than these supported by Linux?

regards,
-roger
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux