Scubapro Aladin Square

vavincavent vavincavent at gmail.com
Sun Nov 12 05:16:14 PST 2017


Hi,

I try with joined file scubapro_g2.c to download from scubapro square.

This is the log after failed download :

Subsurface: v4.7.4-1-g4d04f74312dc, 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=10
INFO: Write: size=32,
data=0001100000000000000000000000000000000000000000000000000000000000
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 ../../src/scubapro_g2.c:78
(receive_data)]
ERROR: Failed to receive the answer. [in ../../src/scubapro_g2.c:145
(scubapro_g2_transfer)]

I join here the USB snif file that i have in a windows system with
USBlyser.

I hope someone can help me to add square like supporter divecomputer to
subsurface.

-------
Vincent


Le samedi 11 novembre 2017 à 17:30 +0100, Berthold Stoeger a écrit :
> Hi Vincent,
> 
> On Samstag, 11. November 2017 09:26:55 CET vavincavent wrote:
> > Can we begin to make a new entry for this computer in
> > libdivecomputer
> > library? (scubapro_square.c and scubapro_square.h but i think it's
> > not
> > just this...)
> 
> Actually it's much simpler. You'd add an entry to the descriptor.c
> file. But 
> this does not seem to be your problem anyway.
> 
> To test Linus' stupid-firmware theory (which sounds unlikely to me),
> you could 
> try to apply the attached (and completely untested) patch to the 
> libdivecomputer source that is automatically downloaded when
> building 
> subsurface from github. Note that you have to "make install"
> libdivecomputer 
> and than make subsurface. Then try again downloading as Scubapro G2
> and 
> inspect the log.
> 
> Berthold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scubapro_g2.c
Type: text/x-csrc
Size: 12918 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171112/880e9a94/attachment-0001.c>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171112/880e9a94/attachment-0001.html>


More information about the subsurface mailing list