forked from dpenkler/linux-usbtmc
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Guido Kiener edited this page Mar 12, 2018
·
19 revisions
Welcome to the linux-usbtmc wiki!
- mutex_lock_interruptible(..) instead of mutex_lock(..)? Yes, since ...
- tips to detect memory leaks of flying urbs? See https://www.kernel.org/doc/html/latest/dev-tools/kmemleak.html#kernel-memory-leak-detector
- Detection of ZLP (Zero length packages) possible?
- suspend/resume: How do we deal with current IO traffic?
- TODO: assign POLLPRI to SRQ, and assign POLLIN|POLLRDNORM to normal read data!! Can we exchange the event flags and break existing applications? Yes, Dave would be ok with the new Definition.
- How shall we deal with subsequent asynchronous calls (usbtmc_generic_write/read)?
- Which timeout error should be used ETIME or ETIMEDOUT?
- Much more drivers are using ETIMEDOUT
- Which timeout values are allowed 0..MAX_SCHEDULE_TIMEOUT (-1)