Multi Commander > Support and Feedback

2 portable devices - both expand to display direcory structure of only one

<< < (2/3) > >>

niman:
Ok Mathias ... thanks for letting me know  ;)

niman:
Hi again Mathias.

In case any of the following could help your investigaton  :)

Attached is an image that shows that a "regular Windows" window exposes the unique serial number of the camera device (that is the case for all of my camera devices). As you can see it is a 32 character string.

This link describes the device properties that are supported by Windows Portable Devices:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd319322%28v=vs.85%29.aspx

Since the serial is very large maybe you could use, say, the last six digits for unique ID?

Perhaps code lines 235 to 238 here could also help:
https://fossies.org/linux/calibre/src/calibre/devices/mtp/windows/device_enumeration.cpp


--- Code: ---235     hr = keys->Add(WPD_DEVICE_FRIENDLY_NAME);
  236     hr = keys->Add(WPD_DEVICE_MANUFACTURER);
  237     hr = keys->Add(WPD_DEVICE_MODEL);
  238     hr = keys->Add(WPD_DEVICE_SERIAL_NUMBER);
--- End code ---

Mathias (Author):
I know.. But the problem is that not all portable devices report a serial number. (and some fake it by returning same for all of them)
But there are other way. but it must also map into the virtual file system.

niman:
Understood Mathias.

Thanks.

niman:
Another thought just occurred to me Mathias (hope you don't mind me asking  :-[)

... perhaps the device could be mapped to a drive letter ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version