Crash downloading from Cobalt 2 from Subsurface mobile
Dirk Hohndel
dirk at hohndel.org
Wed Aug 8 17:47:23 PDT 2018
On Wed, Aug 08, 2018 at 07:33:48PM -0500, Matt Thompson wrote:
> >
> > Success! Here's the log.
:-)
> ---------- subsurface.log ----------
> "30.519: UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1137,mProductId=2184,mClass=220,mSubclass=1,mProtocol=1,mManufacturerName=ATOMIC AQUATICS,mProductName=COBALT,mVersion=2.0,mSerialNumber=123456789ABCDEF,mConfigurations=[\nUsbConfiguration[mId=1,mName=Console,mAttributes=224,mMaxPower=250,mInterfaces=[\nUsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=220,mSubclass=160,mProtocol=176,mEndpoints=[\nUsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]\nUsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]\nUsbEndpoint[mAddress=130,mAttributes=2,mMaxPacketSize=64,mInterval=0]]]]"
> "30.520: found token with mName: UsbDevice[mName=/dev/bus/usb/001/002"
> "30.520: found token with mName: mName=Console"
> "30.520: found token with mName: mName=null"
The current algorithm for this is braindead, ignore... but look:
mManufacturerName=ATOMIC AQUATICS,mProductName=COBALT,mVersion=2.0
So we can easily open the download page and select Atomic Aquatics Cobalt2
for you when you plug it in :-)
> "42.150: DCDownloadThread started for Atomic Aquatics Cobalt 2 on USB device"
> Starting download from ftdi
Hrmpf. I see why this is wrong on Android. I'll fix that before this lands
in master...
This is making me very happy.
/D
More information about the subsurface
mailing list