<div dir="ltr">Hi Dirk,<div><br></div><div>Connected my Mares Dive Link cable to my Sony Xperia XZ2 Compact (using a USB-C OTG cable), and the USB Device Info app said the following:</div><div><br></div><div><div dir="ltr" style="font-size:small"></div></div><div dir="ltr"><div><div dir="ltr" style="font-size:small">Device Info <br>Device Path: /dev/bus/usb/001/002<br>Device Class: Use class information in the Interface Descriptors (0x0)<br></div></div></div><div dir="ltr"><div><div dir="ltr" style="font-size:small">Vendor ID:  10c4<br>Vendor Name (reported):  Silicon Labs<br>Vendor Name (from DB):  Cygnal Integrated Products, Inc.<br>Product ID:  ea60<br>Product Name (reported):  CP2109 USB to UART Bridge Controller</div></div></div><div dir="ltr"><div><div dir="ltr" style="font-size:small"><br>Product Name (from DB):  not found</div></div></div><div dir="ltr"><div><p dir="ltr" style="font-size:small">Additional Info <br>Interface #0 <br>Class: Vendor Specific (0xff)<br>Endpoint: #0<br></p></div></div><div dir="ltr"><div><p dir="ltr" style="font-size:small">Address        : 0x01 (00000001)<br>Number         : 1</p></div></div><div dir="ltr"><div><p dir="ltr" style="font-size:small"><br>Direction      : Outbound (0x0)<br>Type           : Bulk (0x2)<br>Poll Interval  : 0<br>Max Packet Size: 64<br>Attributes     : 000000010<br></p></div></div><div dir="ltr"><div><p dir="ltr" style="font-size:small">Endpoint: #1</p></div></div><div dir="ltr"><div><p dir="ltr" style="font-size:small"><br>Address        : 0x82 (10000010)<br>Number         : 2<br>Direction      : Inbound (0x80)<br>Type           : Bulk (0x2)<br>Poll Interval  : 0<br>Max Packet Size: 64<br>Attributes     : 000000010</p></div></div><div dir="ltr"><div><p dir="ltr" style="font-size:small"></p><p dir="ltr" style="font-size:small"><br></p><p style="font-size:small">Note that the Subsurface App didn't automatically start when cable was connected (but eg. the DiveMate app does if it is installed).</p><p style="font-size:small">Best regards,<br>Thomas</p><p style="font-size:small"><br></p><p style="font-size:small"><br></p></div></div><br><div class="gmail_quote"><div dir="ltr">fre 10 aug. 2018 kl 05:31 skrev Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Aug 09, 2018 at 10:00:48AM -0700, Dirk Hohndel wrote:<br>
> > > Oh, and I don't understand why you weren't asked to open Subsurface-mobile<br>
> > > when you plugged it in. Is there a typo in my code? Can you again send me<br>
> > > the data from USB Device Info for that cable?<br>
> ><br>
> > Device Info<br>
> > Device Path: /dev/bus/usb/001/002<br>
> > Device Class: Use class information in the Interface Descriptors (0x0)<br>
> > Vendor ID:  0403<br>
> > Vendor Name (reported):  FTDI<br>
> > Vendor Name (from DB):  Future Technology Devices International, Ltd<br>
> > Product ID:  6015<br>
> <br>
> So that's 1027/24597<br>
> <br>
> +    <usb-device vendor-id="1027" product-id="24597"/><br>
> <br>
> Which is why I don't understand why the page didn't open...<br>
<br>
I looked through your log again. You were running .161 which should have<br>
exactly that line in it's device-filter.xml in the sources.<br>
But then I unpack the .apk and see that the device-filter.xml in there is<br>
the old one.<br>
<br>
ARG. android/res vs. android-mobile/res<br>
<br>
Fixed. I hope. New binary is up:<br>
<br>
<a href="http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.8.1.162-arm.apk" rel="noreferrer" target="_blank">http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.8.1.162-arm.apk</a><br>
<br>
/D<br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</blockquote></div></div>