Hi Stefan, Thanks for your reply.
I tried the command with log level 5. I had an error. I have added 8n1 to remove the error. So the command was: sigrok-cli -d fluke-dmm:conn=/dev/cu.usbserial-AK05FTGH:serialcomm=115200/8n1 --continuous -O analog -l 5 Extract from the output: sr: [00:00.004210] serial: Opening serial port '/dev/cu.usbserial-AK05FTGH' (flags 1). sr: [00:01.505685] serial: Parsing parameters from "115200/8n1". sr: [00:01.506921] serial: Setting serial parameters on port /dev/cu.usbserial-AK05FTGH. sr: [00:01.507326] serial: Flushing serial port /dev/cu.usbserial-AK05FTGH. sr: [00:01.507473] serial: Wrote 3/3 bytes. sr: [00:01.662640] serial: Flushing serial port /dev/cu.usbserial-AK05FTGH. sr: [00:01.662960] serial: Wrote 3/3 bytes. sr: [00:01.817526] serial: Flushing serial port /dev/cu.usbserial-AK05FTGH. sr: [00:01.817662] serial: Wrote 3/3 bytes. sr: [00:01.969538] serial: Closing serial port /dev/cu.usbserial-AK05FTGH. sr: [00:01.970261] hwdriver: Scan found 0 devices (fluke-dmm). No devices found. In fact without the serialcomm option, sigrok-cli tries 3 speeds. first 115200, second 9600 and third 1200 before it stops. With this options, there’s only one try at the good speed. With kermit (a serial console), it works fine at 115200 8n1 using fluke commands (ID and QM) > Le 29 oct. 2017 à 21:26, Stefan Bruens <stefan.bru...@rwth-aachen.de> a écrit > : > > On Sonntag, 29. Oktober 2017 15:25:58 CET nb via sigrok-devel wrote: >> Hi, >> >> I'm trying to use a Fluke 287 with sigrok-cli. It is connected with a >> Genuine IR189USB cable. But it doesn't work. I use a Mac with OS Sierra. >> >> A scan gives: >> >> $ sigrok-cli --scan >> The following devices were found: >> demo - Demo device with 12 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0 A1 A2 A3 >> ftdi-la - FTDI FT232R USB UART with 8 channels: TXD RXD RTS# CTS# DTR# DSR# >> DCD# RI# >> >> $ sigrok-cli -d fluke-dmm --scan >> -> This command responds nothing. It just returns > > Devices on plain serial ports can not be autodetected > >> $ sigrok-cli -d ftdi-la -C RXD --continuous -O analog >> sr: ftdi-la: Failed to open device (-5): unable to claim usb device. Make >> sure the default FTDI driver is not in use Failed to open device. >> >> I have connected the cable to a Linux box, and I have seen that VID:PID is >> 0403:6001 so I tried this: >> $ sigrok-cli --driver fluke-dmm:conn=0403.6001 --scan >> sr: serial: Attempt to open serial port with invalid parameters. >> sr: serial: Attempt to open serial port with invalid parameters. >> sr: serial: Attempt to open serial port with invalid parameters. >> >> but >> >> $ sigrok-cli --driver ftdi-la:conn=0403.6001 --scan >> The following devices were found: >> ftdi-la - FTDI FT232R USB UART with 8 channels: TXD RXD RTS# CTS# DTR# DSR# >> DCD# RI# >> >> ftdi-la seems to be a good choice since the cable contains a ftdi chip, and >> ls -ltr /dev/cu.* gives: crw-rw-rw- 1 root wheel 20, 0x000001eb 29 oct >> 12:52 /dev/cu.usbserial-AK05FTGH >> >> Here are two other commands I've tried: >> $ sigrok-cli -d ftdi-la:conn=/dev/cu.usbserial-AK05FTGH --show >> Driver functions: >> Logic analyzer >> Scan options: >> conn >> sr: usb: Neither VID:PID nor bus.address was specified. >> sr: usb: Neither VID:PID nor bus.address was specified. >> sr: usb: Neither VID:PID nor bus.address was specified. >> No devices found. >> >> I don't understant why it says it's a logic analyser. > > Because you specifically told it to treat the ftdi as a logic analyzer - ftdi- > *la* > >> And >> >> $ sigrok-cli -d fluke-dmm:conn=/dev/cu.usbserial-AK05FTGH --show >> Driver functions: >> Multimeter >> Scan options: >> conn >> serialcomm >> sr: serial: Attempt to open serial port with invalid parameters. >> sr: serial: Attempt to open serial port with invalid parameters. >> sr: serial: Attempt to open serial port with invalid parameters. >> No devices found > > Try also setting the serialcomm parameter, e.g. > fluke-dmm:conn=/dev/cu.usbserial-AK05FTGH:serialcomm=115200 > > Kind regards, > > Stefan > > -- > Stefan Brüns / Bergstraße 21 / 52062 Aachen > home: +49 241 53809034 mobile: +49 151 50412019 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel