Am Dienstag 28 April 2009 04:52:07 schrieb Sarah Sharp: > +/* Block the read if there's no statistics to return. > + * Yes, we could just return zero if there's no data. We'd rather block the > + * input stream so that the CPU spends less cycles on passing back and forth > + * zeros if the user is streaming this data to a traffic chart. > + */ > +static ssize_t hcd_stat_in_read(struct file *file, char __user *buf, > + size_t len, loff_t *offset) You should honor an open with O_NONBLOCK. Regards Oliver -- 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