[PATCH v2 00/29] usb: usbtmc: Changes needed for compatible IVI/VISA library

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

 



The working group "VISA for Linux" of the IVI Foundation
www.ivifoundation.org specifies common rules, shared libraries and
drivers to implement the specification of "VPP-4.3: The VISA Library"
on Linux to be compatible with implementations on other operating systems.

The USBTMC protocol is part of the "VISA Library" that is used by many
popular T&M applications.

Initial implementations for Linux based on libusb has been created.
However using one common USBTMC driver results in more benefits:

- Multiple applications can share access to the same instruments.
- The driver handles SRQ conflicts.
- Simplifies definition of udev rules for USBTMC devices.
- Simplifies development of applications using T&M instruments.

The following collaborative patches meet the requirements of the IVI
Foundation to implement the library based on the usbtmc driver.

Improvements in the data transfer rate of over 130 MByte/s for
usb 3.x connections have been measured.

Guido Kiener, Dave Penkler, Steve Bayless (29):
 01 Support Read Status Byte with SRQ per file
 02 Use consistent timeout error
 03 Add ioctls to set/get usb timeout
 04 Add ioctl for trigger
 05 Add ioctl for EOM bit
 06 Add ioctl for termination character
 07 Add support for 32 bit compat applications
 08 Add ioctl for generic requests on control
 09 Add ioctl for vendor specific write
 10 Add ioctl USBTMC_IOCTL_WRITE_RESULT
 11 Add ioctl for vendor specific read
 12 Add ioctl USBTMC_IOCTL_CANCEL_IO
 13 Add ioctl USBTMC_IOCTL_CLEANUP_IO
 14 Fix suspend/resume
 15 Add ioctl USBTMC488_IOCTL_WAIT_SRQ
 16 Add ioctl USBTMC_IOCTL_MSG_IN_ATTR
 17 Add ioctl USBTMC_IOCTL_AUTO_ABORT
 18 Optimize usbtmc_write
 19 Optimize usbtmc_read
 20 Fix ioctl USBTMC_IOCTL_CLEAR
 21 Fix ioctl USBTMC_IOCTL_ABORT_BULK_IN
 22 Fix ioctl USBTMC_IOCTL_ABORT_BULK_OUT
 23 Replace USBTMC_TIMEOUT macros for control messages
 24 Add ioctl USBTMC_IOCTL_API_VERSION
 25 Update ioctl-number.txt
 26 Remove redundant code
 27 Remove redundant macro USBTMC_SIZE_IOBUFFER
 28 Fix split quoted string in debug message
 29 Remove sysfs group TermChar and auto_abort

 .../ABI/stable/sysfs-driver-usb-usbtmc        |   35 -
 Documentation/ioctl/ioctl-number.txt          |    2 +-
 drivers/usb/class/usbtmc.c                    | 2111 +++++++++++++----
 include/uapi/linux/usb/tmc.h                  |   54 +
 4 files changed, 1730 insertions(+), 472 deletions(-)

-- 
2.17.1

--
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