From 725120ec1192509dc66bab92bb3aef4ab3af1602 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 20 Aug 2010 10:26:46 -0600 Subject: [PATCH] Driver for the Kogan e-book reader --- src/calibre/customize/builtins.py | 3 ++- src/calibre/devices/misc.py | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/calibre/customize/builtins.py b/src/calibre/customize/builtins.py index 7bdeaef481..183f83c047 100644 --- a/src/calibre/customize/builtins.py +++ b/src/calibre/customize/builtins.py @@ -460,7 +460,7 @@ from calibre.devices.hanvon.driver import N516, EB511, ALEX, AZBOOKA, THEBOOK from calibre.devices.edge.driver import EDGE from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS from calibre.devices.sne.driver import SNE -from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL +from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG from calibre.devices.kobo.driver import KOBO @@ -566,6 +566,7 @@ plugins += [ AVANT, MENTOR, SWEEX, + KOGAN, PDNOVEL, SPECTRA, ITUNES, diff --git a/src/calibre/devices/misc.py b/src/calibre/devices/misc.py index 488867a438..7e8f5fbdd3 100644 --- a/src/calibre/devices/misc.py +++ b/src/calibre/devices/misc.py @@ -72,6 +72,15 @@ class SWEEX(USBMS): EBOOK_DIR_MAIN = '' SUPPORTS_SUB_DIRS = True +class KOGAN(SWEEX): + + name = 'Kogan Device Interface' + gui_name = 'Kogan' + description = _('Communicate with the Kogan') + VENDOR_NAME = 'LINUX' + WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'FILE-STOR_GADGET' + EBOOK_DIR_MAIN = 'Kogan eBooks' + class PDNOVEL(USBMS): name = 'Pandigital Novel device interface' gui_name = 'PD Novel'