My Rigol oscilloscope is not found because the driver in libsigrok scans the wrong directory on under /sys, http://sigrok.org/gitweb/?p=libsigrok.git;a=commit;h=da970d24ecfcf67f89a9532f3a53ade8cb1131ed contains the fix. Fedora kernels use the new /sys/class/usbmisc location. old output: [dan@eagle sigrok]$ sigrok-cli --scan -d rigol-ds1xx2 -l 5 sr: libsigrok loglevel set to 5. sr: Sanity-checking all drivers. sr: Sanity-checking all input modules. sr: Sanity-checking all output modules. srd: libsigrokdecode loglevel set to 5. sr: hwdriver: Initializing driver 'rigol-ds1xx2'. sr: hwdriver: Scan of 'rigol-ds1xx2' found 0 devices. new output: [dan@eagle sigrok]$ sigrok-cli --scan -d rigol-ds1xx2 -l 5 sr: libsigrok loglevel set to 5. sr: Sanity-checking all drivers. sr: Sanity-checking all input modules. sr: Sanity-checking all output modules. srd: libsigrokdecode loglevel set to 5. sr: hwdriver: Initializing driver 'rigol-ds1xx2'. sr: serial: Opening serial port '/dev/usbtmc0' (flags 1). sr: serial: Opened serial port '/dev/usbtmc0' (fd 7). sr: serial: Wrote 5/5 bytes (fd 7). sr: serial: Closing serial port /dev/usbtmc0 (fd 7). sr: rigol-ds1xx2: response: /dev/usbtmc0 [Rigol Technologies,DS1152D,DS1EU150200008,00.04.01.00.02] sr: hwdriver: Scan of 'rigol-ds1xx2' found 1 devices. The following devices were found: rigol-ds1xx2 - Rigol Technologies DS1152D 00.04.01.00.02 with 18 probes: CH1 CH2 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
Created attachment 818601 [details] update for upgraded Rigol DS1xx2 scopes This is a patch to detect Rigol scopes with bandwidth upgraded to 150 MHz, I'm going to submit the patch to upstream.
I'm a provenpackager in Fedora, so if you give me green light, I can do the updates.
Yeah, a cherry-pick of da970d24ecfcf67f89a9532f3a53ade8cb1131ed can go in right away. This can be a very frustrating issue. Thanks for reporting it. Green light. I'll have to ask that you submit your patch to upstream first. Upstream has some very funny ideas about modifying patches. Although I'm not a big fan of cherry-picking features, once they commit your patch, I see no reason not to cherry-pick it ourselves.
patch sent upstream - http://thread.gmane.org/gmane.comp.debugging.sigrok.devel/659
patch now merged in the new unified rigol driver - https://github.com/martinling/libsigrok/commit/d1255c7f1bdec513c631fd7fbf93965871922200 - and should also go into current master
libsigrok-0.2.1-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/libsigrok-0.2.1-3.fc19
libsigrok-0.2.1-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/libsigrok-0.2.1-3.fc20
libsigrok-0.2.1-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/libsigrok-0.2.1-3.fc18
and one more thing is needed - http://thread.gmane.org/gmane.comp.debugging.sigrok.devel/674 - discussed on IRC and on the way to git
I've built libsigrok-0.2.1-4.fc21 with the fix from comment #9, but libsigrok-0.2.2 is behind the doors, so I'll wait with the other branches for the 0.2.2 release.
and all updated to 0.2.2 now, per abi-compliance-checker results it's a safe update
Package libsigrok-0.2.2-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libsigrok-0.2.2-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-20590/libsigrok-0.2.2-1.fc20 then log in and leave karma (feedback).
libsigrok-0.2.2-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
libsigrok-0.2.2-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
libsigrok-0.2.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.