> On Mar 6, 2020, at 1:47 PM, Christof Arnosti <[email protected]> wrote:
> 
> Interesting. The Puck Pro I'm using for testing actually uses the
> mares_iconhd.c implementation, so I would guess that it should be quite
> similar. Does it work on subsurface desktop? Does Android ask you for
> any applications to use for the USB device, or no popup at all?

No popup at all as no one has that PID/VID registered. I can simply
add the PID/VID and see if it works. I'll play with that later today.

> Can you maybe plug your Mares Icon HD into a computer and give me some
> lsusb and dmesg-output so I can try to guess which vid/pid and driver is
> used?

VID/PID is 0xFFFF/0x0005:

03-06 13:39:52.669  1342  1869 D UsbHostManager: USB device attached: vidpid 
ffff:0005 mfg/product/ver/serial SERUSB/USBSerial/1.00/01234567 
hasAudio/HID/Storage: false/false/false
03-06 13:39:52.673  1342  1869 D UsbDeviceDescriptor:   1 configs
03-06 13:39:52.674  1342  1869 D UsbHostManager: Added device 
UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=65535,mProductId=5,mClass=2,mSubclass=0,mProtocol=0,mManufacturerName=SERUSB,mProductName=USBSerial,mVersion=1.00,mSerialNumberReader=com.android.server.usb.UsbSerialReader@9967699,mConfigurations=[
03-06 13:39:52.674  1342  1869 D UsbHostManager: 
UsbConfiguration[mId=2,mName=null,mAttributes=192,mMaxPower=250,mInterfaces=[
03-06 13:39:52.674  1342  1869 D UsbHostManager: 
UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=2,mSubclass=2,mProtocol=0,mEndpoints=[
03-06 13:39:52.674  1342  1869 D UsbHostManager: 
UsbEndpoint[mAddress=130,mAttributes=3,mMaxPacketSize=8,mInterval=10]]
03-06 13:39:52.674  1342  1869 D UsbHostManager: 
UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=10,mSubclass=0,mProtocol=0,mEndpoints=[
03-06 13:39:52.674  1342  1869 D UsbHostManager: 
UsbEndpoint[mAddress=1,mAttributes=2,mMaxPacketSize=64,mInterval=0]
03-06 13:39:52.674  1342  1869 D UsbHostManager: 
UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]]]]


(this is adb logcat over tcp of plugging the Icon HD into my Android phone)

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

Reply via email to