Skip to content
Commit c9784e23 authored by Dave Penkler's avatar Dave Penkler Committed by Greg Kroah-Hartman
Browse files

USB: usbtmc: Add USBTMC_IOCTL_GET_STB



This new ioctl reads the status byte (STB) from the device and returns
the STB unmodified to the application. The srq_asserted bit is not taken
into account and not changed.

This ioctl is useful to support non USBTMC-488 compliant devices.

Tested-by: default avatarJian-Wei Wu <jian-wei_wu@keysight.com>
Reviewed-by: default avatarGuido Kiener <guido.kiener@rohde-schwarz.com>
Signed-off-by: default avatarDave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20201215155621.9592-3-dpenkler@gmail.com
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c1037e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment