From: Uwe Hermann Date: Tue, 19 Nov 2013 23:42:08 +0000 (+0100) Subject: DT4000ZC/TP4000ZC: Force DTR=1 on the serial port. X-Git-Tag: libsigrok-0.3.0~548 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=61bab807f4b85660c07b1ac62a3ae2b35b333e5e;p=libsigrok.git DT4000ZC/TP4000ZC: Force DTR=1 on the serial port. This fixes the driver e.g. on NetBSD. --- diff --git a/hardware/serial-dmm/api.c b/hardware/serial-dmm/api.c index b394bfa7..ef57f318 100644 --- a/hardware/serial-dmm/api.c +++ b/hardware/serial-dmm/api.c @@ -68,14 +68,14 @@ SR_PRIV struct sr_dev_driver iso_tech_idm103n_driver_info; SR_PRIV struct dmm_info dmms[] = { { - "Digitek", "DT4000ZC", "2400/8n1", 2400, + "Digitek", "DT4000ZC", "2400/8n1/dtr=1", 2400, FS9721_PACKET_SIZE, NULL, sr_fs9721_packet_valid, sr_fs9721_parse, sr_fs9721_10_temp_c, &digitek_dt4000zc_driver_info, receive_data_DIGITEK_DT4000ZC, }, { - "TekPower", "TP4000ZC", "2400/8n1", 2400, + "TekPower", "TP4000ZC", "2400/8n1/dtr=1", 2400, FS9721_PACKET_SIZE, NULL, sr_fs9721_packet_valid, sr_fs9721_parse, sr_fs9721_10_temp_c,