Ok. I overlooked this part of the README:
> For all these devices, you need to specify the serial port they are
> connected to (e.g. using the 'conn' option in sigrok-cli). It is not
> possible to scan for such devices without specifying a serial port.
On a Debian with sigrok-0.7.1 it succeeds
sigrok-cli -d brymen-bm25x:conn=/dev/ttyUSB0 --scan
# => The following devices were found:
# => brymen-bm25x - Brymen BM25x with 1 channel: P1
But even with the port given, sigrok-0.7.2 fails on Arch Linux
% sudo sigrok-cli --driver=brymen-bm25x:conn=/dev/ttyUSB0 --samples 1
# => sr: serial-libsp: Error opening port (25): Inappropriate ioctl for
device.
# => No devices found.
% sigrok-cli --driver=brymen-bm25x:conn=/dev/ttyUSB0 --samples 1
# => sr: serial-libsp: Error opening port (25): Inappropriate ioctl for
device.
# => No devices found.
Trying 0.7.1 as AppImage does not make a difference on Arch Linux
# ./sigrok-cli-0.7.1-x86_64.AppImage --scan -l 5 --driver
brymen-bm25x:conn=/dev/ttyUSB0
# => sr: [00:00.000000] log: libsigrok loglevel set to 5.
# => sr: [00:00.001455] backend: libsigrok 0.5.1/5:0:1 (rt: 0.5.1/5:0:1).
# => sr: [00:00.001505] backend: Libs: glib 2.40.2 (rt: 2.68.3/6803:3),
libzip 0.10.1, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0
1.0.24.11584 API 0x01000102, libftdi 1.2.
# => sr: [00:00.001523] backend: Host: x86_64-unknown-linux-gnu,
little-endian.
# => sr: [00:00.001533] backend: SCPI backends: TCP, RPC, serial, USBTMC.
# => sr: [00:00.001541] backend: Firmware search paths:
# => sr: [00:00.001573] backend: - /home/user1/.local/share/sigrok-firmware
# => sr: [00:00.001582] backend: -
/home/jenkins_slave/sr_071/share/sigrok-firmware
# => sr: [00:00.001598] backend: -
/tmp/.mount_sigrokfAANqj/usr/share/sigrok-firmware
# => sr: [00:00.001753] backend: -
/home/user1/.local/share/flatpak/exports/share/sigrok-firmware
# => sr: [00:00.001774] backend: -
/var/lib/flatpak/exports/share/sigrok-firmware
# => sr: [00:00.001788] backend: - /usr/local/share/sigrok-firmware
# => sr: [00:00.001800] backend: - /usr/share/sigrok-firmware
# => sr: [00:00.001840] backend: Sanity-checking all drivers.
# => sr: [00:00.001864] backend: Sanity-checking all input modules.
# => sr: [00:00.001881] backend: Sanity-checking all output modules.
# => sr: [00:00.001896] backend: Sanity-checking all transform modules.
# => srd: libsigrokdecode loglevel set to 5.
# => sr: [00:00.010731] hwdriver: sr_config_list(): key 2147418112
(NULL) sdi (nil) cg NULL -> [uint32 20000, 20001]
# => sr: [00:00.012406] serial: Opening serial port '/dev/ttyUSB0'
(flags 1).
# => sr: [00:00.425707] serial: Error opening port (25): Inappropriate
ioctl for device.
# => sr: [00:00.425757] hwdriver: Scan found 0 devices (brymen-bm25x).
# => sr: [00:00.425808] hwdriver: Cleaning up all drivers.
I compared the permissions for the tty device file, but there's not much
difference between them - only the used user groups are different.
Am 30/06/2021 um 22:05 schrieb Bastian Bastler:
Dear Mailinglist,
I recently bought a Brymen BM257s (DMM) I tried to use with sigrok-cli
and SmuView. But both failed to detect the DMM while scanning. Can
someone point me in the right direction to troubleshoot the issue or
even has an idea what is wrong with my setup/sigrok? I'm a bit lost in
how to fix this issue.
Before starting the scan, I enabled the remote mode with "HOLD + switch
on".
The hardware itself seems to be fine. The regular vendor software for
the DMM (Universal Data Logging Systems, Version ver01A8) shows the data
of the DMM as expected.
I can replicate it the issue with sigrok on a (virtual) Windows machine
as well using the 64 bit nightly build of sigrok
(https://sigrok.org/jenkins/job/sigrok-cross-mingw/buildtype=static,debugtype=release,platform=cross-x86_64-w64-mingw32/lastSuccessfulBuild/artifact/sigrok-cli-NIGHTLY-64bit-static-release-installer.exe).
I ran these commands which give me the following output - as normal user
and root.
~~~bash
sigrok-cli -l 5 --scan
sudo sigrok-cli -l 5 --scan
# => sr: [00:00.000000] log: libsigrok loglevel set to 5.
# => sr: [00:00.000039] backend: libsigrok 0.5.2/5:1:1.
# => sr: [00:00.000070] backend: Libs: glib 2.68.0 (rt: 2.68.3/6803:3),
libzip 1.7.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0
1.0.24.11584 API 0x01000108, hidapi 0.10.1, bluez 5.56, libftdi 1.5.
# => sr: [00:00.000080] backend: Host: x86_64-pc-linux-gnu, little-endian.
# => sr: [00:00.000087] backend: SCPI backends: TCP, serial, USBTMC.
# => sr: [00:00.000093] backend: Firmware search paths:
# => sr: [00:00.000108] backend: - /home/d/.local/share/sigrok-firmware
# => sr: [00:00.000113] backend: - /usr/share/sigrok-firmware
# => sr: [00:00.000117] backend: - /usr/local/share/sigrok-firmware
# => sr: [00:00.000121] backend: - /usr/share/sigrok-firmware
# => sr: [00:00.000137] backend: Sanity-checking all drivers.
# => sr: [00:00.000153] backend: Sanity-checking all input modules.
# => sr: [00:00.000157] backend: Sanity-checking all output modules.
# => sr: [00:00.000164] backend: Sanity-checking all transform modules.
# => srd: libsigrokdecode loglevel set to 5.
# => sr: [00:00.008715] hwdriver: Scan found 0 devices (agilent-dmm).
# => sr: [00:00.008722] hwdriver: Scan found 0 devices (appa-55ii).
# => sr: [00:00.008727] hwdriver: Scan found 0 devices
(arachnid-labs-re-load-pro).
# => sr: [00:00.016873] hwdriver: Scan found 0 devices (asix-sigma).
# => sr: [00:00.016893] hwdriver: Scan found 0 devices (atten-pps3203).
# => sr: [00:00.018392] hwdriver: Scan found 0 devices (baylibre-acme).
# => sr: [00:00.018408] hwdriver: Scan found 0 devices (beaglelogic).
# => sr: [00:00.018414] hwdriver: Scan found 0 devices (brymen-bm857).
# => sr: [00:00.018418] hwdriver: Scan found 0 devices (cem-dt-885x).
# => sr: [00:00.018422] hwdriver: Scan found 0 devices (voltcraft-k204).
# => sr: [00:00.018426] hwdriver: Scan found 0 devices (center-309).
# => sr: [00:00.901303] hwdriver: Scan found 0 devices (chronovu-la).
# => sr: [00:00.901329] hwdriver: Scan found 0 devices (colead-slm).
# => sr: [00:00.901337] hwdriver: Scan found 0 devices
(conrad-digi-35-cpu).
# => sr: [00:00.901362] demo: Generating square pattern.
# => sr: [00:00.901376] demo: Generating sine pattern.
# => sr: [00:00.901422] demo: Generating triangle pattern.
# => sr: [00:00.901480] demo: Generating sawtooth pattern.
# => sr: [00:00.901508] hwdriver: Scan found 1 devices (demo).
# => sr: [00:00.901525] hwdriver: Scan found 0 devices
(dreamsourcelab-dslogic).
# => sr: [00:00.919536] hwdriver: Scan found 0 devices (fluke-45).
# => sr: [00:00.919559] hwdriver: Scan found 0 devices (fluke-dmm).
# => sr: [00:00.927663] hwdriver: Scan found 0 devices (ftdi-la).
# => sr: [00:00.927686] hwdriver: Scan found 0 devices (fx2lafw).
# => sr: [00:00.927691] hwdriver: Scan found 0 devices (gmc-mh-2x-bd232).
# => sr: [00:00.927695] hwdriver: Scan found 0 devices
(gmc-mh-1x-2x-rs232).
# => sr: [00:00.945392] hwdriver: Scan found 0 devices (gwinstek-gds-800).
# => sr: [00:00.945409] hwdriver: Scan found 0 devices (gwinstek-gpd).
# => sr: [00:00.966704] hwdriver: Scan found 0 devices (hameg-hmo).
# => sr: [00:00.966745] hwdriver: Scan found 0 devices (hantek-4032l).
# => sr: [00:00.966767] hwdriver: Scan found 0 devices (hantek-6xxx).
# => sr: [00:00.966796] hwdriver: Scan found 0 devices (hantek-dso).
# => sr: [00:00.984953] hwdriver: Scan found 0 devices (hp-3457a).
# => sr: [00:00.984970] hwdriver: Scan found 0 devices
(hung-chang-dso-2100).
# => sr: [00:00.985020] hwdriver: Scan found 0 devices
(ikalogic-scanalogic2).
# => sr: [00:00.993306] hwdriver: Scan found 0 devices
(ikalogic-scanaplus).
# => sr: [00:00.993326] hwdriver: Scan found 0 devices (ipdbg-la).
# => sr: [00:00.993355] hwdriver: Scan found 0 devices (kecheng-kc-330b).
# => sr: [00:00.993360] hwdriver: Scan found 0 devices (kern-ew-6200-2nm).
# => sr: [00:00.993365] hwdriver: Scan found 0 devices (korad-kaxxxxp).
# => sr: [00:00.993369] hwdriver: Scan found 0 devices (lascar-el-usb).
# => sr: [00:00.993377] hwdriver: Scan found 0 devices
(lecroy-logicstudio).
# => sr: [00:01.010501] hwdriver: Scan found 0 devices (lecroy-xstream).
# => sr: [00:01.010520] hwdriver: Scan found 0 devices (manson-hcs-3xxx).
# => sr: [00:01.010524] hwdriver: Scan found 0 devices (mastech-ms6514).
# => sr: [00:01.010544] hwdriver: Scan found 0 devices (maynuo-m97).
# => sr: [00:01.010585] hwdriver: Scan found 0 devices (microchip-pickit2).
# => sr: [00:01.010598] hwdriver: Scan found 0 devices (mic-98583).
# => sr: [00:01.010603] hwdriver: Scan found 0 devices (mic-98581).
# => sr: [00:01.010607] hwdriver: Scan found 0 devices (mooshimeter-dmm).
# => sr: [00:01.010611] serial: No serial device specified.
# => sr: [00:01.010615] hwdriver: Scan found 0 devices (motech-lps-301).
# => sr: [00:01.010619] hwdriver: Scan found 0 devices (siemens-b102x).
# => sr: [00:01.010623] hwdriver: Scan found 0 devices (norma-dmm).
# => sr: [00:01.010626] hwdriver: Scan found 0 devices (ols).
# => sr: [00:01.010630] hwdriver: Scan found 0 devices (pce-322a).
# => sr: [00:01.019436] hwdriver: Scan found 0 devices (p-ols).
# => sr: [00:01.019468] hwdriver: Scan found 0 devices (rdtech-dps).
# => sr: [00:01.037142] hwdriver: Scan found 0 devices (rigol-ds).
# => sr: [00:01.054094] hwdriver: Scan found 0 devices
(rohde-schwarz-sme-0x).
# => sr: [00:01.054127] hwdriver: Scan found 0 devices (saleae-logic16).
# => sr: [00:01.054136] hwdriver: Scan found 0 devices (saleae-logic-pro).
# => sr: [00:01.070584] hwdriver: Scan found 0 devices (scpi-dmm).
# => sr: [00:01.087227] hwdriver: Scan found 0 devices (hpib-pps).
# => sr: [00:01.103815] hwdriver: Scan found 0 devices (scpi-pps).
# => sr: [00:01.103833] hwdriver: Scan found 0 devices (metrix-mx56c).
# => sr: [00:01.103838] hwdriver: Scan found 0 devices (brymen-bm25x).
# => sr: [00:01.103843] serial: Opening serial port 'hid/bu86x' (flags 1).
# => sr: [00:01.105921] hwdriver: Scan found 0 devices (brymen-bm86x).
# => sr: [00:01.105929] hwdriver: Scan found 0 devices (peaktech-3415).
# => sr: [00:01.105933] hwdriver: Scan found 0 devices (velleman-dvm4100).
# => sr: [00:01.105938] hwdriver: Scan found 0 devices (eevblog-121gw).
# => sr: [00:01.105942] hwdriver: Scan found 0 devices (iso-tech-idm103n).
# => sr: [00:01.105946] hwdriver: Scan found 0 devices (tenma-72-7750-ser).
# => sr: [00:01.105950] hwdriver: Scan found 0 devices (uni-t-ut60g-ser).
# => sr: [00:01.105954] hwdriver: Scan found 0 devices (uni-t-ut61e-ser).
# => sr: [00:01.105958] hwdriver: Scan found 0 devices (digitek-dt4000zc).
# => sr: [00:01.105962] hwdriver: Scan found 0 devices (mastech-ms8250b).
# => sr: [00:01.105966] hwdriver: Scan found 0 devices (pce-pce-dm32).
# => sr: [00:01.105970] hwdriver: Scan found 0 devices (peaktech-3330).
# => sr: [00:01.105974] hwdriver: Scan found 0 devices
(tecpel-dmm-8061-ser).
# => sr: [00:01.105978] hwdriver: Scan found 0 devices (tekpower-tp4000ZC).
# => sr: [00:01.105982] hwdriver: Scan found 0 devices (tenma-72-7745-ser).
# => sr: [00:01.105986] hwdriver: Scan found 0 devices (uni-t-ut60a-ser).
# => sr: [00:01.105990] hwdriver: Scan found 0 devices (uni-t-ut60e-ser).
# => sr: [00:01.105994] hwdriver: Scan found 0 devices (va-va18b).
# => sr: [00:01.105998] hwdriver: Scan found 0 devices (va-va40b).
# => sr: [00:01.106001] hwdriver: Scan found 0 devices
(voltcraft-vc820-ser).
# => sr: [00:01.106005] hwdriver: Scan found 0 devices
(voltcraft-vc840-ser).
# => sr: [00:01.106009] hwdriver: Scan found 0 devices (sparkfun-70c).
# => sr: [00:01.106013] hwdriver: Scan found 0 devices (uni-t-ut61b-ser).
# => sr: [00:01.106017] hwdriver: Scan found 0 devices (uni-t-ut61c-ser).
# => sr: [00:01.106021] hwdriver: Scan found 0 devices (uni-t-ut61d-ser).
# => sr: [00:01.106025] serial: Opening serial port 'hid/victor' (flags 1).
# => sr: [00:01.108055] hwdriver: Scan found 0 devices (victor-dmm).
# => sr: [00:01.108064] hwdriver: Scan found 0 devices
(voltcraft-vc830-ser).
# => sr: [00:01.108068] hwdriver: Scan found 0 devices (bbcgm-2010).
# => sr: [00:01.108071] hwdriver: Scan found 0 devices (mastech-ms2115b).
# => sr: [00:01.108075] hwdriver: Scan found 0 devices (mastech-ms8250d).
# => sr: [00:01.108079] hwdriver: Scan found 0 devices (mastech-mas345).
# => sr: [00:01.108082] hwdriver: Scan found 0 devices (metex-m3640d).
# => sr: [00:01.108086] hwdriver: Scan found 0 devices (metex-m3860m).
# => sr: [00:01.108089] hwdriver: Scan found 0 devices (metex-m4650cr).
# => sr: [00:01.108093] hwdriver: Scan found 0 devices (metex-me31).
# => sr: [00:01.108096] hwdriver: Scan found 0 devices (peaktech-3410).
# => sr: [00:01.108099] hwdriver: Scan found 0 devices (peaktech-4370).
# => sr: [00:01.108103] hwdriver: Scan found 0 devices (peaktech-4390a).
# => sr: [00:01.108107] hwdriver: Scan found 0 devices (radioshack-22-168).
# => sr: [00:01.108115] hwdriver: Scan found 0 devices (radioshack-22-805).
# => sr: [00:01.108120] hwdriver: Scan found 0 devices (voltcraft-m3650cr).
# => sr: [00:01.108124] hwdriver: Scan found 0 devices (voltcraft-m3650d).
# => sr: [00:01.108127] hwdriver: Scan found 0 devices (voltcraft-m4650cr).
# => sr: [00:01.108132] hwdriver: Scan found 0 devices (voltcraft-me42).
# => sr: [00:01.108136] hwdriver: Scan found 0 devices (radioshack-22-812).
# => sr: [00:01.108139] hwdriver: Scan found 0 devices (tenma-72-7730-ser).
# => sr: [00:01.108143] hwdriver: Scan found 0 devices (tenma-72-7732-ser).
# => sr: [00:01.108146] hwdriver: Scan found 0 devices
(tenma-72-9380a-ser).
# => sr: [00:01.108150] hwdriver: Scan found 0 devices (uni-t-ut71a-ser).
# => sr: [00:01.108154] hwdriver: Scan found 0 devices (uni-t-ut71b-ser).
# => sr: [00:01.108158] hwdriver: Scan found 0 devices (uni-t-ut71c-ser).
# => sr: [00:01.108161] hwdriver: Scan found 0 devices (uni-t-ut71d-ser).
# => sr: [00:01.108165] hwdriver: Scan found 0 devices (uni-t-ut71e-ser).
# => sr: [00:01.108168] hwdriver: Scan found 0 devices
(voltcraft-vc920-ser).
# => sr: [00:01.108172] hwdriver: Scan found 0 devices
(voltcraft-vc940-ser).
# => sr: [00:01.108176] hwdriver: Scan found 0 devices
(voltcraft-vc960-ser).
# => sr: [00:01.108179] hwdriver: Scan found 0 devices
(voltcraft-vc870-ser).
# => sr: [00:01.108183] hwdriver: Scan found 0 devices (voltcraft-vc96).
# => sr: [00:01.108187] hwdriver: Scan found 0 devices (peaktech-2165).
# => sr: [00:01.108190] hwdriver: Scan found 0 devices (voltcraft-4080).
# => sr: [00:01.108194] hwdriver: Scan found 0 devices (deree-de5000).
# => sr: [00:01.108198] hwdriver: Scan found 0 devices (mastech-ms5308).
# => sr: [00:01.108201] hwdriver: Scan found 0 devices (peaktech-2170).
# => sr: [00:01.108205] hwdriver: Scan found 0 devices (uni-t-ut612).
# => sr: [00:01.124120] hwdriver: Scan found 0 devices (siglent-sds).
# => sr: [00:01.124153] hwdriver: Scan found 0 devices (sysclk-lwla).
# => sr: [00:01.124163] hwdriver: Scan found 0 devices (sysclk-sla5032).
# => sr: [00:01.124167] hwdriver: Scan found 0 devices (teleinfo).
# => sr: [00:01.256243] hwdriver: Scan found 0 devices (testo).
# => sr: [00:01.256267] hwdriver: Scan found 0 devices (tondaj-sl-814).
# => sr: [00:01.256271] hwdriver: Scan found 0 devices (tecpel-dmm-8061).
# => sr: [00:01.256276] hwdriver: Scan found 0 devices (uni-t-ut372).
# => sr: [00:01.256280] hwdriver: Scan found 0 devices (uni-t-ut60a).
# => sr: [00:01.256284] hwdriver: Scan found 0 devices (uni-t-ut60e).
# => sr: [00:01.256288] hwdriver: Scan found 0 devices (uni-t-ut60g).
# => sr: [00:01.256291] hwdriver: Scan found 0 devices (uni-t-ut61b).
# => sr: [00:01.256295] hwdriver: Scan found 0 devices (uni-t-ut61c).
# => sr: [00:01.256299] hwdriver: Scan found 0 devices (uni-t-ut61d).
# => sr: [00:01.256303] hwdriver: Scan found 0 devices (uni-t-ut61e).
# => sr: [00:01.256307] hwdriver: Scan found 0 devices (uni-t-ut71a).
# => sr: [00:01.256310] hwdriver: Scan found 0 devices (uni-t-ut71b).
# => sr: [00:01.256314] hwdriver: Scan found 0 devices (uni-t-ut71c).
# => sr: [00:01.256318] hwdriver: Scan found 0 devices (uni-t-ut71d).
# => sr: [00:01.256322] hwdriver: Scan found 0 devices (uni-t-ut71e).
# => sr: [00:01.256326] hwdriver: Scan found 0 devices (voltcraft-vc820).
# => sr: [00:01.256330] hwdriver: Scan found 0 devices (voltcraft-vc830).
# => sr: [00:01.256334] hwdriver: Scan found 0 devices (voltcraft-vc840).
# => sr: [00:01.256338] hwdriver: Scan found 0 devices (voltcraft-vc870).
# => sr: [00:01.256341] hwdriver: Scan found 0 devices (voltcraft-vc920).
# => sr: [00:01.256345] hwdriver: Scan found 0 devices (voltcraft-vc940).
# => sr: [00:01.256349] hwdriver: Scan found 0 devices (voltcraft-vc960).
# => sr: [00:01.256353] hwdriver: Scan found 0 devices (tenma-72-7730).
# => sr: [00:01.256357] hwdriver: Scan found 0 devices (tenma-72-7732).
# => sr: [00:01.256361] hwdriver: Scan found 0 devices (tenma-72-9380a).
# => sr: [00:01.256365] hwdriver: Scan found 0 devices (tenma-72-7745).
# => sr: [00:01.256369] hwdriver: Scan found 0 devices (tenma-72-7750).
# => sr: [00:01.256372] hwdriver: Scan found 0 devices (uni-t-ut32x).
# => sr: [00:01.272658] hwdriver: Scan found 0 devices (yokogawa-dlm).
# => sr: [00:01.387330] hwdriver: Scan found 0 devices
(zeroplus-logic-cube).
# => sr: [00:01.387364] hwdriver: Scan found 0 devices (zketech-ebd-usb).
# => sr: [00:01.387426] hwdriver: Cleaning up all drivers.
# =>
# => demo - Demo device with 13 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0 A1
A2 A3 A4
~~~
Choosing the driver directly fails as well.
~~~
sudo sigrok-cli --driver brymen-bm25x:conn=/dev/ttypUSB0 -l 5
# => sr: [00:00.000001] log: libsigrok loglevel set to 5.
# => sr: [00:00.000058] backend: libsigrok 0.5.2/5:1:1.
# => sr: [00:00.000110] backend: Libs: glib 2.68.0 (rt: 2.68.3/6803:3),
libzip 1.7.3, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0
1.0.24.11584 API 0x01000108, hidapi 0.10.1, bluez 5.56, libftdi 1.5.
# => sr: [00:00.000132] backend: Host: x86_64-pc-linux-gnu, little-endian.
# => sr: [00:00.000148] backend: SCPI backends: TCP, serial, USBTMC.
# => sr: [00:00.000165] backend: Firmware search paths:
# => sr: [00:00.000194] backend: - /home/d/.local/share/sigrok-firmware
# => sr: [00:00.000217] backend: - /usr/share/sigrok-firmware
# => sr: [00:00.000241] backend: -
/home/d/.local/share/flatpak/exports/share/sigrok-firmware
# => sr: [00:00.000265] backend: -
/var/lib/flatpak/exports/share/sigrok-firmware
# => sr: [00:00.000285] backend: - /usr/local/share/sigrok-firmware
# => sr: [00:00.000305] backend: - /usr/share/sigrok-firmware
# => sr: [00:00.000370] backend: Sanity-checking all drivers.
# => sr: [00:00.000412] backend: Sanity-checking all input modules.
# => sr: [00:00.000443] backend: Sanity-checking all output modules.
# => sr: [00:00.000483] backend: Sanity-checking all transform modules.
# => srd: libsigrokdecode loglevel set to 5.
# => sr: [00:00.016961] hwdriver: sr_config_list(): key 2147418112
(NULL) sdi (nil) cg NULL -> [uint32 20000, 20001]
# => sr: [00:00.017007] serial: Opening serial port '/dev/ttypUSB0'
(flags 1).
# => sr: [00:00.017065] serial-libsp: Attempt to open serial port with
invalid parameters.
# => sr: [00:00.017088] hwdriver: Scan found 0 devices (brymen-bm25x).
# => sr: [00:00.017107] hwdriver: Cleaning up all drivers.
~~~
This is the version of `sigrok-cli` I've got installed on my machine. I
tried 0.7.1. of another machine as well.
~~~bash
sigrok-cli -V
# => sigrok-cli 0.7.2
# =>
# => Libraries and features:
# => - libsigrok 0.5.2/5:1:1 (rt: 0.5.2/5:1:1).
# => - Libs:
# => - glib 2.68.0 (rt: 2.68.3/6803:3)
# => - libzip 1.7.3
# => - libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
# => - libusb-1.0 1.0.24.11584 API 0x01000108
# => - hidapi 0.10.1
# => - bluez 5.56
# => - libftdi 1.5
# => - Host: x86_64-pc-linux-gnu, little-endian.
# => - SCPI backends: TCP, serial, USBTMC.
# => - libsigrokdecode 0.5.3/6:1:2 (rt: 0.5.3/6:1:2).
# => - Libs:
# => - glib 2.66.3 (rt: 2.68.3/6803:3)
# => - Python 3.9.0 / 0x30900f0 (API 1013, ABI 3)
# => - Host: x86_64-pc-linux-gnu, little-endian.
~~~
I use "Arch Linux" as Linux distribution.
~~~bash
cat /etc/os-release
# => NAME="Arch Linux"
# => PRETTY_NAME="Arch Linux"
# => ID=arch
# => BUILD_ID=rolling
# => ANSI_COLOR="38;2;23;147;209"
# => HOME_URL="https://archlinux.org/"
# => DOCUMENTATION_URL="https://wiki.archlinux.org/"
# => SUPPORT_URL="https://bbs.archlinux.org/"
# => BUG_REPORT_URL="https://bugs.archlinux.org/"
# => LOGO=archlinux
~~~
The usb and device configuration looks like this:
~~~
sudo lsusb
# => [...]
# => Bus 002 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303
Serial Port / Mobile Action MA-8910P
# => [...]
~~~
~~~
sudo dmesg
# => [ 1462.349153] usb 3-2: USB disconnect, device number 3
# => [ 1558.298100] usb 2-1.8.3: new full-speed USB device number 4
using ehci-pci
# => [ 1558.469491] usb 2-1.8.3: New USB device found, idVendor=067b,
idProduct=2303, bcdDevice= 4.00
# => [ 1558.469498] usb 2-1.8.3: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
# => [ 1558.469500] usb 2-1.8.3: Product: USB-Serial Controller D
# => [ 1558.469503] usb 2-1.8.3: Manufacturer: Prolific Technology Inc.
# => [ 1559.064652] usbcore: registered new interface driver pl2303
# => [ 1559.064677] usbserial: USB Serial support registered for pl2303
# => [ 1559.064734] pl2303 2-1.8.3:1.0: pl2303 converter detected
# => [ 1559.066782] usb 2-1.8.3: pl2303 converter now attached to ttyUSB0
~~~
~~~
ls -al /dev/ttyUSB0
# => crw-rw---- 1 root uucp 188, 0 Jun 28 22:17 /dev/ttyUSB0
~~~
~~~
id
# => uid=1000(user1) gid=1000(user1)
groups=1000(user1),14(uucp),[...],1007(plugdev),1010(usbtmc)
~~~
Please find a TXT dump of the USB trace made with Wireshark attached. I
can provide a binary file in pcapng-format as well, if there's interest
in this.
Thanks in advance.
Cheers
Bastian Bastler
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel