Re: Suunto Zoop log for Christof's android changes

2020-03-10 Thread Christof Arnosti via subsurface
Hi Miika,

Just a short question: Did you use the same cable for both the D4 and
the Vyper? If not, could you also send me the PID/VID of the Vyper cable?

Thanks
Christof

On 10.03.20 09:12, Miika Turkia wrote:
> Well, what do you know, everything worked with logcat running. Both D4
> and Vyper Air started downloading fine. D4 ran all the way through.
> Vyper I terminated after a few dives were loaded. Will do more testing
> when I have time.
>
>> On 10. Mar 2020, at 7.40, Miika Turkia  wrote:
>>
>> 
>> I should be able to run logcat once I have collected more test data.
>> I just need to figure out how to do that over wifi or BT. Have always
>> connected with usb cable before, but that is not an option this time :)
>>
>> BTW I just realized that Garmin is not supported, but it should
>> probably be relatively easy to add. It is mounted as a disk and we
>> need to just point to right mount point. Or am I missing something?
>>
>>> On 10. Mar 2020, at 6.45, Christof Arnosti  wrote:
>>>
>>> 
>>>
>>> Hi,
>>>
>>> Thanks. The Info (idVendor / idProduct) is already in the log you
>>> sent, so no need to download the app.
>>>
>>> I want to get some (more or less) statistical data about which
>>> usb-to-serial chipset behaves how. This is a big help! :)
>>>
>>> If you have some experience in the android world, could you maybe
>>> try to run "adb logcat" while downloading the dives? The logcat
>>> output might help with pinpointing the application crash, and I
>>> think until now yours is the only report of an actual application crash.
>>>
>>> Best regards
>>> Christof
>>>
>>> Am 09.03.20 um 23:39 schrieb Miika Turkia:
 On Tue, Mar 10, 2020 at 6:32 AM Christof Arnosti via subsurface
 >>> > wrote:

 Thanks for the more in-depth ;-) test.

 Having a look at the serial-interface chipset-list at
 http://libdivecomputer.org/drivers.html I noticed that suunto
 uses two different chipsets. Maybe this could be a lead to
 follow up?

 Can the people owning a suunto computer maybe post the Vendor
 ID / Product ID of their cable, and if it works or not? The
 App 
 
 https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
 shows these values.

 This is what I get on dmesg when attaching the D4 cable:
 ---8<---
 [30804.146977] usb 1-2: new full-speed USB device number 12 using
 xhci_hcd
 [30804.301648] usb 1-2: New USB device found, idVendor=0403,
 idProduct=6001
 [30804.301653] usb 1-2: New USB device strings: Mfr=1, Product=2,
 SerialNumber=0
 [30804.301657] usb 1-2: Product: USB <-> Serial Cable
 [30804.301660] usb 1-2: Manufacturer: Smartinterface
 [30804.890118] usbcore: registered new interface driver ftdi_sio
 [30804.890187] usbserial: USB Serial support registered for FTDI
 USB Serial Device
 [30804.890504] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter
 detected
 [30804.890728] usb 1-2: Detected FT232RL
 [30804.891105] usb 1-2: FTDI USB Serial Device converter now
 attached to ttyUSB0
 ---8<---

 Downloading from D4 with this cable on Android 7.1.1, the
 Subsurface crashes after about 4 dives. Do you think the OTG cable
 plays a part on this? I can try the app you mention if that would
 be beneficial.

 miika
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Suunto Zoop log for Christof's android changes

2020-03-10 Thread Jef Driesen via subsurface

On 2020-03-10 01:22, Matt Thompson via subsurface wrote:

Device Path: /dev/bus/usb/001/002
Device Class: Use class information in the Interface Descriptors (0x0)
Vendor ID:  0403
Vendor Name (reported):  Suunto
Vendor Name (from DB):  Future Technology Devices International, Ltd
Product ID:  f680
Product Name (reported):  Suunto Sports Instrument
Product Name (from DB):  not found


This the official interface from Suunto (FTDI 0403:f680).

Jef
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Suunto Zoop log for Christof's android changes

2020-03-10 Thread Jef Driesen via subsurface

On 2020-03-09 22:39, Miika Turkia via subsurface wrote:

This is what I get on dmesg when attaching the D4 cable:
---8<---
[30804.146977] usb 1-2: new full-speed USB device number 12 using 
xhci_hcd
[30804.301648] usb 1-2: New USB device found, idVendor=0403, 
idProduct=6001

[30804.301653] usb 1-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[30804.301657] usb 1-2: Product: USB <-> Serial Cable
[30804.301660] usb 1-2: Manufacturer: Smartinterface
[30804.890118] usbcore: registered new interface driver ftdi_sio
[30804.890187] usbserial: USB Serial support registered for FTDI USB 
Serial

Device
[30804.890504] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter 
detected

[30804.890728] usb 1-2: Detected FT232RL
[30804.891105] usb 1-2: FTDI USB Serial Device converter now attached 
to

ttyUSB0


This is a third-party interface from Smartinterface (FTDI 0403:6001).


Downloading from D4 with this cable on Android 7.1.1, the Subsurface
crashes after about 4 dives. Do you think the OTG cable plays a part on
this? I can try the app you mention if that would be beneficial.


Can you send me the libdivecomputer log file from the download?

Jef
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Suunto Zoop log for Christof's android changes

2020-03-10 Thread Miika Turkia via subsurface
Well, what do you know, everything worked with logcat running. Both D4 and 
Vyper Air started downloading fine. D4 ran all the way through. Vyper I 
terminated after a few dives were loaded. Will do more testing when I have time.

> On 10. Mar 2020, at 7.40, Miika Turkia  wrote:
> 
> 
> I should be able to run logcat once I have collected more test data. I just 
> need to figure out how to do that over wifi or BT. Have always connected with 
> usb cable before, but that is not an option this time :)
> 
> BTW I just realized that Garmin is not supported, but it should probably be 
> relatively easy to add. It is mounted as a disk and we need to just point to 
> right mount point. Or am I missing something?
> 
>>> On 10. Mar 2020, at 6.45, Christof Arnosti  wrote:
>>> 
>> 
>> Hi,
>> 
>> Thanks. The Info (idVendor / idProduct) is already in the log you sent, so 
>> no need to download the app.
>> 
>> I want to get some (more or less) statistical data about which usb-to-serial 
>> chipset behaves how. This is a big help! :)
>> 
>> If you have some experience in the android world, could you maybe try to run 
>> "adb logcat" while downloading the dives? The logcat output might help with 
>> pinpointing the application crash, and I think until now yours is the only 
>> report of an actual application crash.
>> 
>> Best regards
>> Christof
>> 
>> Am 09.03.20 um 23:39 schrieb Miika Turkia:
>>> On Tue, Mar 10, 2020 at 6:32 AM Christof Arnosti via subsurface 
>>>  wrote:
 Thanks for the more in-depth ;-) test.
 
 Having a look at the serial-interface chipset-list at 
 http://libdivecomputer.org/drivers.html I noticed that suunto uses two 
 different chipsets. Maybe this could be a lead to follow up? 
 
 Can the people owning a suunto computer maybe post the Vendor ID / Product 
 ID of their cable, and if it works or not? The App  
 https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator 
 shows these values.
 
>>> This is what I get on dmesg when attaching the D4 cable:
>>> ---8<---
>>> [30804.146977] usb 1-2: new full-speed USB device number 12 using xhci_hcd
>>> [30804.301648] usb 1-2: New USB device found, idVendor=0403, idProduct=6001
>>> [30804.301653] usb 1-2: New USB device strings: Mfr=1, Product=2, 
>>> SerialNumber=0
>>> [30804.301657] usb 1-2: Product: USB <-> Serial Cable
>>> [30804.301660] usb 1-2: Manufacturer: Smartinterface
>>> [30804.890118] usbcore: registered new interface driver ftdi_sio
>>> [30804.890187] usbserial: USB Serial support registered for FTDI USB Serial 
>>> Device
>>> [30804.890504] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected
>>> [30804.890728] usb 1-2: Detected FT232RL
>>> [30804.891105] usb 1-2: FTDI USB Serial Device converter now attached to 
>>> ttyUSB0
>>> ---8<---
>>> 
>>> Downloading from D4 with this cable on Android 7.1.1, the Subsurface 
>>> crashes after about 4 dives. Do you think the OTG cable plays a part on 
>>> this? I can try the app you mention if that would be beneficial.
>>> 
>>> miika
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface