From be2ab41feb4be7b2ff2f30bd10d8fe5e67b51980 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 23 Sep 2023 07:28:25 +0530 Subject: [PATCH] Apparently the Glowlight 2023 is an MTP device --- src/calibre/devices/mtp/unix/devices.c | 3 +++ src/calibre/devices/nook/driver.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/mtp/unix/devices.c b/src/calibre/devices/mtp/unix/devices.c index 3c30587e4d..4aebe140ff 100644 --- a/src/calibre/devices/mtp/unix/devices.c +++ b/src/calibre/devices/mtp/unix/devices.c @@ -16,5 +16,8 @@ const calibre_device_entry_t calibre_mtp_device_table[] = { // Remove this once it is added to upstream libmtp , { "Amazon", 0x1949, "Kindle Scribe", 0x9981, DEVICE_FLAGS_ANDROID_BUGS } + // Remove this once it is added to upstream libmtp (Nook Glowlight 2023) + , { "BarnesAndNoble", 0x2080, "BNRV1300", 0xf, DEVICE_FLAGS_ANDROID_BUGS } + , { NULL, 0xffff, NULL, 0xffff, DEVICE_FLAG_NONE } }; diff --git a/src/calibre/devices/nook/driver.py b/src/calibre/devices/nook/driver.py index 57e47cd568..84e7703e7f 100644 --- a/src/calibre/devices/nook/driver.py +++ b/src/calibre/devices/nook/driver.py @@ -90,7 +90,6 @@ class NOOK_COLOR(NOOK): 0xc, # Glowlight from 2019 0xd, # Glowlight from 2021 0xe, # Glowlight from 2021 - 0xf, # Glowlight from 2023 ] BCD = [0x216, 0x9999, 0x409, 0x440]