On 2017-11-10 14:52, vavincavent wrote:
It was the libdivecomputer log file, from subsurface :
Subsurface: v4.7.2-54-g97712559192c, built with libdivecomputer v0.6.0-
devel-Subsurface-branch (7de3a549ee588fef4702ee9d894e390aca43950d)
INFO: Open: vid=c251, pid=2006
INFO: Open: interface=0, endpoints=81,02
ERROR: Failed to open the usb device (LIBUSB_ERROR_ACCESS). [in
../../src/usbhid.c:392 (dc_usbhid_open)]
ERROR: Failed to open Scubapro G2 device [in scubapro_g2.c:224
(scubapro_g2_device_open)]
vid=c251, pid=2006 is the informations of the square after i've made
changes like Linus tell me.
You don't have permission to open the usb device. You'll need to add a
udev rule for your dive computer. For example:
echo 'SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="c251",
ATTR{idProduct}=="2006", GROUP="plugdev"' | sudo tee
/etc/udev/rules.d/99-divecomputer.rules
(This assumes you are part of the "plugdev" group. On debian/ubuntu
based systems that's normally the case.)
Jef
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface