Menu

#1 getId() in kdscdm751 always returns 0

open
nobody
Interface (2)
3
2007-02-22
2006-09-20
KShots
No

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.

Discussion

  • Anonymous

    Anonymous - 2006-09-28

    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. :)

     
  • KShots

    KShots - 2006-10-04

    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.

     
  • KShots

    KShots - 2006-11-06
    • assigned_to: kshots --> nobody
     
  • KShots

    KShots - 2006-11-06
    • milestone: 641317 -->
     
  • KShots

    KShots - 2007-02-22
    • milestone: --> libcdorganizer-modules
     

Log in to post a comment.

MongoDB Logo MongoDB