Could I get a PR or patch with SOB?

/D

> On Nov 27, 2017, at 1:58 PM, Anton Lundin <[email protected]> wrote:
> 
> On 27 November, 2017 - Dirk Hohndel wrote:
> 
>> 
>>> On Nov 27, 2017, at 12:09 PM, vavincavent <[email protected]> wrote:
>>> 
>>> ok Dirk,
>>> 
>>> Now i see the aladin square, but not functional.
>>> perhaps problem with usb and my phone.
>>> Divemate start automatiquely whent i connect the square.
>> 
>> Which means that Subsurface never gets to see the device.
>> I cannot test this on my phone since OTG fails on mine - but I think
>> there’s a way to reset the setting for “open this app by default if
>> that device gets plugged in”… you’ll have to do that and pick
>> Subsurface-mobile as the app to start when your Square connects.
> 
> We probably need to add some vid/pid to the Android manifest.
> 
> This should do the trick:
> diff --git i/android-mobile/res/xml/device_filter.xml 
> w/android-mobile/res/xml/device_filter.xml
> index 83b42ea07..231b9a076 100644
> --- i/android-mobile/res/xml/device_filter.xml
> +++ w/android-mobile/res/xml/device_filter.xml
> @@ -13,4 +13,10 @@
>     <usb-device vendor-id="1027" product-id="63104"/>
>     <!-- EON Steel -->
>     <usb-device vendor-id="5267" product-id="48"/>
> +    <!-- EON Steel core -->
> +    <usb-device vendor-id="5267" product-id="51"/>
> +    <!-- Scubapro G2 -->
> +    <usb-device vendor-id="11884" product-id="12801"/>
> +    <!-- Scubapro Aladin Square -->
> +    <usb-device vendor-id="49745" product-id="8198"/>
> </resources>
> 
> 
> //Anton
> 
> 
> -- 
> Anton Lundin  +46702-161604

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to