Thanks for posting - this works for me in FC19! I've got to run picoscope as su though or I get a segfault, but it does work!
I'm also not sure if it's properly configuring the user groups on RPM devices? On install I had these errors (same one for ever RPM):
- Code: Select all
Installing : picoscope-6.8.5-4r29.noarch 11/11
Can't exec "/var/tmp/rpm-tmp.AyUZLT": Permission denied at /usr/share/perl5/IPC/Open3.pm line 273.
open2: exec of /var/tmp/rpm-tmp.AyUZLT 1 failed at /usr/share/perl5/vendor_perl/Debconf/ConfModule.pm line 59.
warning: %post(picoscope-6.8.5-4r29.noarch) scriptlet failed, exit status 13
It's easy enough to manually create the pico user & add yourself though of course, so not a big problem! But running it as my user generates this crash:
The actual error occurs in the opening of the instrument, as this stacktrace shows (last line)
- Code: Select all
Native stacktrace:
/usr/bin/mono() [0x49df09]
/usr/bin/mono() [0x4eecbb]
/usr/bin/mono() [0x42214d]
/lib64/libpthread.so.0() [0x3b81e0ef90]
/lib64/libusb-1.0.so.0(libusb_close+0x41) [0x3ffd605361]
/opt/picoscope/lib/libps6000.so(+0x4a536) [0x7fb603b32536]
/opt/picoscope/lib/libps6000.so(+0x4a642) [0x7fb603b32642]
/opt/picoscope/lib/libps6000.so(+0x4a94d) [0x7fb603b3294d]
/opt/picoscope/lib/libps6000.so(+0x13995) [0x7fb603afb995]
/opt/picoscope/lib/libps6000.so(+0x13a9e) [0x7fb603afba9e]
/opt/picoscope/lib/libps6000.so(ps6000OpenUnit+0x198) [0x7fb603affdd8]
[0x417fc8fa]
I also get an error if attemping to use the API via libps6000 under my regular username, but works under su.
Again thanks for your hard work - it's great to see it functioning, even if there are some permission issues (which are always the bane of Linux distributions of things which need to touch hardware).
-Colin