Just a further update on this, the rule I added was correct as follows:
# Brymen BC-86X
ATTRS{idVendor}=="0820", ATTRS{idProduct}=="0001", MODE="660",
GROUP="plugdev", TAG+="uaccess"
Could this be added to the offical z60-libsigrok.rules file please?
The proper place for user rules on Mint is /etc/udev/rules.d, so I
removed the file I had previously put in /lib/udev/rules.d and placed a
fresh copy in /etc. I removed the leading 'z' and added the rule as
above. Even after doing this it did not work until I finally updated
udev by doing 'apt-get install udev'. After that I restarted udev
unplugged the cable and plugged it back in again and it then worked and
I could see the udev events with 'udevadm monitor'. Removing the above
rule kills it off again, so the rule is needed. Evidently a problem with
the original udev version though.
Regards.
Regarding the user level access, I copied the z60_libsigrok.rules to
/lib/udev/rules.d/z60_libsigrok.rules which is where my distro seems
to have all of the rules files (/etc/udev/rules.d is empty). I then
restarted udev, but I am still getting as follows:
$ sigrok-cli -d brymen-bm86x --show
Driver functions:
Multimeter
Scan options:
conn
brymen-bm86x - Brymen BM869 with 2 channels: P1 P2
sr: usb: Failed to open device: LIBUSB_ERROR_ACCESS.
Failed to open device.
Please note that I also tried removing the 'z' which i suspect is what
one is supposed to do as the other rules files do not have a letter in
front of them and changing the underscope to a hyphen to match the
other files in there, but this made no difference either. I did have a
look through the file and there do not seem to be any rules relating
to the Brymen. Do I need to write some?
I tried adding something like this:
# Brymen BU-X86 cable
ATTRS{idVendor}=="0820", ATTRS{idProduct}=="0001", MODE="660",
GROUP="plugdev", TAG+="uaccess"
But unfortunately that didn't work either.
------------------------------------------------------------------------------
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