View Single Post
Old 04-07-2025, 02:08 AM   #263
Majutsushi
Zealot
Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'Majutsushi knows the difference between 'who' and 'whom'
 
Posts: 116
Karma: 10128
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
Quote:
Originally Posted by Steven Karp View Post
Perhaps I need to be clearer.

Both devices are Clara HD. The attached screenshot shows the KU Devices tab with neither reader connected. If I plug either of them in, the Status field shows connected, even though they should (logically) have different serial numbers.

If I do a database backup, one of the devices' backups gets named with that serial number, but the other uses a different serial number, one ending in 297. So at some level KU can distinguish between them, but not at the top level where it would decide which profile to use.

It's the same whether I use my Mac or my Windows machine (I'm trying to set it up so I only use the Mac for both). Freshly updated Calibre on both, so 8.2.1, but I saw the same thing the first time I tried this maneuver, back in the 7.x days. So I don't think the OS or Calibre versions are relevant here.

Where does KU get the serial number from when it first sees the device, and where does it get the serial number from when it does a database backup? If those are different, that would be a big clue toward figuring out how I fouled up.
I think the problem is that by copying the contests from the old device from the new one you also copied the file 'driveinfo.calibre' which Calibre uses to identify devices, which means that now both devices look like the same device. As I understand the code at the moment the current best way to fix this should be this:
  1. Remove both devices from the Devices tab.
  2. Remove the file 'driveinfo.calibre' from the root directory of both devices.
  3. Eject and re-plug the devices (this may be optional but can't hurt).
  4. Re-add the devices in the Devices tab.
There is an open issue about changing the device matching so that this situation shouldn't happen again, but I need to find the time to implement that first.
Majutsushi is offline   Reply With Quote