summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTeunis van Beelen <teuniz@gmail.com>2015-05-31 09:36:22 +0200
committerSasha Levin <sasha.levin@oracle.com>2015-12-02 22:58:22 -0500
commitbb840a1d74f58487ffaeec6cf46cf40c702d0f40 (patch)
tree8806a20b15c4e4cebc4932013394e14b523dc167 /drivers
parent71dc6a353848a515e48ebe47a92e80a0be3411e5 (diff)
USB: usbtmc: add device quirk for Rigol DS6104
[ Upstream commit f50420223071b6ff4b586308f5c27eec54694a81 ] Recently we purchased the Rigol DS6104 and when I try to operate it from my Linux pc, everything works well with the default usbtmc driver, except when I want to download a big datachunk like a screenshot. This bitmapfile has a size of 1152054 bytes but I receive a smaller file and no new packets can be read. When I took a look at the driver source, I found this "Rigol quirk" and I added the id of the new DS series oscilloscopes to this list. I compiled it and loaded the new driver and now everything seems to work fine. Signed-off-by: Teunis van Beelen <teuniz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/class/usbtmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c
index ec978408a2ee..49978cc495e9 100644
--- a/drivers/usb/class/usbtmc.c
+++ b/drivers/usb/class/usbtmc.c
@@ -109,6 +109,7 @@ struct usbtmc_ID_rigol_quirk {
static const struct usbtmc_ID_rigol_quirk usbtmc_id_quirk[] = {
{ 0x1ab1, 0x0588 },
+ { 0x1ab1, 0x04b0 },
{ 0, 0 }
};