mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Fix #1093570 (Adding Support for Kibano e-reader)
This commit is contained in:
parent
2bb642dcd3
commit
6c5d5e4582
@ -661,7 +661,7 @@ from calibre.devices.nuut2.driver import NUUT2
|
|||||||
from calibre.devices.iriver.driver import IRIVER_STORY
|
from calibre.devices.iriver.driver import IRIVER_STORY
|
||||||
from calibre.devices.binatone.driver import README
|
from calibre.devices.binatone.driver import README
|
||||||
from calibre.devices.hanvon.driver import (N516, EB511, ALEX, AZBOOKA, THEBOOK,
|
from calibre.devices.hanvon.driver import (N516, EB511, ALEX, AZBOOKA, THEBOOK,
|
||||||
LIBREAIR, ODYSSEY)
|
LIBREAIR, ODYSSEY, KIBANO)
|
||||||
from calibre.devices.edge.driver import EDGE
|
from calibre.devices.edge.driver import EDGE
|
||||||
from calibre.devices.teclast.driver import (TECLAST_K3, NEWSMY, IPAPYRUS,
|
from calibre.devices.teclast.driver import (TECLAST_K3, NEWSMY, IPAPYRUS,
|
||||||
SOVOS, PICO, SUNSTECH_EB700, ARCHOS7O, STASH, WEXLER)
|
SOVOS, PICO, SUNSTECH_EB700, ARCHOS7O, STASH, WEXLER)
|
||||||
@ -712,7 +712,7 @@ plugins += [
|
|||||||
BOOQ,
|
BOOQ,
|
||||||
EB600,
|
EB600,
|
||||||
README,
|
README,
|
||||||
N516,
|
N516, KIBANO,
|
||||||
THEBOOK, LIBREAIR,
|
THEBOOK, LIBREAIR,
|
||||||
EB511,
|
EB511,
|
||||||
ELONEX,
|
ELONEX,
|
||||||
|
@ -41,6 +41,20 @@ class N516(USBMS):
|
|||||||
def can_handle(self, device_info, debug=False):
|
def can_handle(self, device_info, debug=False):
|
||||||
return not is_alex(device_info)
|
return not is_alex(device_info)
|
||||||
|
|
||||||
|
class KIBANO(N516):
|
||||||
|
|
||||||
|
name = 'Kibano driver'
|
||||||
|
gui_name = 'Kibano'
|
||||||
|
description = _('Communicate with the Kibano eBook reader.')
|
||||||
|
FORMATS = ['epub', 'pdf', 'txt']
|
||||||
|
BCD = [0x323]
|
||||||
|
|
||||||
|
VENDOR_NAME = 'EBOOK'
|
||||||
|
# We use EXTERNAL_SD_CARD for main mem as some devices have not working
|
||||||
|
# main memories
|
||||||
|
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['INTERNAL_SD_CARD',
|
||||||
|
'EXTERNAL_SD_CARD']
|
||||||
|
|
||||||
class THEBOOK(N516):
|
class THEBOOK(N516):
|
||||||
name = 'The Book driver'
|
name = 'The Book driver'
|
||||||
gui_name = 'The Book'
|
gui_name = 'The Book'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user