getId() in kdscdm751 always returns 0
Brought to you by:
kshots
Unfortunately, I was not able to find a way to get the
Id of the KDS CDM-751. Using multiple devices, from
what I can tell they always have identical messages
when the towers are scanned by the windows
application. Also, the USB serial number seems to
always return 0... I've run out of things to try to
get a proper Id from these devices. It's obvious that
the windows app gets one somehow, but I have no idea
how at the moment.
For now, it should be Ok that getId() always returns
0... as long as the user only has one tower.
Developers making applications using this library may
want to provide a mechanism to move all known discs
from one Id to another if this ever gets fixed.
Logged In: YES
user_id=703968
Maybe the application keeps track of them by their physical
location (bus and device?) on the USB tree? Easy to verify
if you have two; simply swap their connections and see if
tells you the right CD is in the right tower. (Sorry, I only
have one. :)
Logged In: YES
user_id=1360058
I'd also thought of that. The problem is that USB bus
topology changes as devices are added and removed. For
example, if I were to stick a thumb drive into a slot with
a device number lower than the one I'm in now, my device
number would change.
I also note that (somehow) the native windows drivers for
the KDS device is not affected by that sort of change at
all (I can switch ports all I want, it still knows which
device is what)... so I'm missing some traffic somewhere.
Personally, I have three of these devices (used to have
four, but one burned out its motor), so I'll figure this
out eventually... I'm just running out of ideas for now.