Scubapro Aladin Square

vavincavent vavincavent at gmail.com
Fri Nov 10 13:21:45 PST 2017


After udev rules with Jef recommandation, the subsurface.log :

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
INFO: Timeout: value=10
ERROR: Usb read interrupt transfer failed (LIBUSB_ERROR_TIMEOUT). [in
../../src/usbhid.c:518 (dc_usbhid_read)]
INFO: Read: size=0, data=
INFO: Timeout: value=5000
DEBUG: cmd: size=1, data=1B
INFO: Write: size=32,
data=00011B0000000000000000000000000000000000000000000000000000000000
ERROR: Usb read interrupt transfer failed (LIBUSB_ERROR_TIMEOUT). [in
../../src/usbhid.c:518 (dc_usbhid_read)]
INFO: Read: size=0, data=
ERROR: read interrupt transfer failed [in scubapro_g2.c:78
(receive_data)]
ERROR: Failed to receive the answer. [in scubapro_g2.c:145
(scubapro_g2_transfer)]
ERROR: Failed to handshake with the device. [in scubapro_g2.c:231
(scubapro_g2_device_open)]

When i try with Logtrak, i've try to sniff USB. So i have some results,
but i can't understand this...

Please, help me ... 

Vincent

Le vendredi 10 novembre 2017 à 09:58 -0800, Linus Torvalds a écrit :
> On Thu, Nov 9, 2017 at 2:39 PM, vavincavent <vavincavent at gmail.com>
> wrote:
> > 
> > ERROR: Failed to open the usb device (LIBUSB_ERROR_ACCESS). [in
> > ../../src/usbhid.c:392 (dc_usbhid_open)]
> 
> As Jef says, this is a USB permission issue. The regular udev rules
> do
> not grant normal users access to random USB devices that it doesn't
> know about, which is good for security, but it's inconvenient for
> dive
> computers.
> 
>               Linus


More information about the subsurface mailing list