Re: Polling a usbfs file descriptor.

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

 



[quoted lines by Alan Stern on 2015/04/21 at 10:50 -0400]

>Yes, it's okay.  A userspace ABI like that isn't going to go away.  
>It's also true that you can poll for POLLERR or POLLHUP to see when a
>device has been disconnected, although libusb probably isn't interested
>in doing that.

Out of curiosity, do you know why one must poll for output (rather than for 
input)?

JDoes "writability" precisely mean that there's at least one 
user-submitted URB that can now be reaped?

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave@xxxxxxxxx | Canada  K2A 1H7   | http://FamilyRadio.org/
--
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