Hi all, This is a follow up mail from the discussion of thread https://marc.info/?l=linux-usb&m=149485247607564&w=2 Our working group "VISA for Linux" (IVI Foundation, www.ivifoundation.org) wants to extend the Linux USBTMC driver (linux/drivers/usb/class/usbtmc.c) that can communicate with the T&M instruments. To meet our requirements we need some additional ioctl functions that can send control, bulk in/out messages in a generic way. Kindly supported by Dave Penkler there is now a github project at https://github.com/dpenkler/linux-usbtmc that already supports new functions to set/get timeout, EOM flag (End of Message), and termchar (detection of termination character). This project and forked repos are our playground and still under development. Our experimental and generic functions are currently developed at the fork: https://github.com/GuidoKiener/linux-usbtmc For a fast read/write we want to implement new generic ioctl functions: #define USBTMC_IOCTL_WRITE _IOWR(USBTMC_IOC_NR, 13, struct usbtmc_message) #define USBTMC_IOCTL_READ _IOWR(USBTMC_IOC_NR, 14, struct usbtmc_message) #define USBTMC_IOCTL_WRITE_RESULT _IOWR(USBTMC_IOC_NR, 15, __u64) #define USBTMC488_IOCTL_WAIT_SRQ _IOW(USBTMC_IOC_NR, 23, unsigned int) #define USBTMC_IOCTL_CANCEL_IO _IO(USBTMC_IOC_NR, 35) #define USBTMC_IOCTL_CLEANUP_IO _IO(USBTMC_IOC_NR, 36) /* For test purpose only */ #define USBTMC_IOCTL_SET_OUT_HALT _IO(USBTMC_IOC_NR, 30) #define USBTMC_IOCTL_SET_IN_HALT _IO(USBTMC_IOC_NR, 31) For further description please refer to the readme.md file at https://github.com/GuidoKiener/linux-usbtmc/blob/master/README.md Open questions and comments can be just added to the wiki: https://github.com/GuidoKiener/linux-usbtmc/wiki When our working group is happy with the proposed extensions and the driver tested by several T&M companies then we would like to submit these patches to the Linux kernel. We are looking forward to your comments. Please let us know if some of you would like to participate in more discussions. Or let us know if you do not want to get more emails about this topic. -Guido -- 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