mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Driver for the new PocketBook 740
Fixes #1749415 [Problems to identify new PocketBook 740](https://bugs.launchpad.net/calibre/+bug/1749415)
This commit is contained in:
parent
581b2c0700
commit
0566c8abc9
@ -702,7 +702,8 @@ from calibre.devices.cybook.driver import CYBOOK, ORIZON, MUSE
|
||||
from calibre.devices.eb600.driver import (EB600, COOL_ER, SHINEBOOK, TOLINO,
|
||||
POCKETBOOK360, GER2, ITALICA, ECLICTO, DBOOK, INVESBOOK,
|
||||
BOOQ, ELONEX, POCKETBOOK301, MENTOR, POCKETBOOK602,
|
||||
POCKETBOOK701, POCKETBOOK360P, PI2, POCKETBOOK622, POCKETBOOKHD)
|
||||
POCKETBOOK701, POCKETBOOK740, POCKETBOOK360P, PI2, POCKETBOOK622,
|
||||
POCKETBOOKHD)
|
||||
from calibre.devices.iliad.driver import ILIAD
|
||||
from calibre.devices.irexdr.driver import IREXDR1000, IREXDR800
|
||||
from calibre.devices.jetbook.driver import (JETBOOK, MIBUK, JETBOOK_MINI,
|
||||
@ -747,7 +748,7 @@ plugins += [
|
||||
JETBOOK, JETBOOK_MINI, MIBUK, JETBOOK_COLOR,
|
||||
SHINEBOOK,
|
||||
POCKETBOOK360, POCKETBOOK301, POCKETBOOK602, POCKETBOOK701, POCKETBOOK360P,
|
||||
POCKETBOOK622, PI2, POCKETBOOKHD,
|
||||
POCKETBOOK622, PI2, POCKETBOOKHD, POCKETBOOK740,
|
||||
KINDLE, KINDLE2, KINDLE_DX, KINDLE_FIRE,
|
||||
NOOK, NOOK_COLOR,
|
||||
PRS505, PRST1,
|
||||
|
@ -398,6 +398,22 @@ class POCKETBOOK701(USBMS):
|
||||
return drives
|
||||
|
||||
|
||||
class POCKETBOOK740(USBMS):
|
||||
|
||||
name = 'PocketBook 701 Device Interface'
|
||||
description = _('Communicate with the PocketBook 740')
|
||||
supported_platforms = ['windows', 'osx', 'linux']
|
||||
FORMATS = ['epub', 'fb2', 'prc', 'mobi', 'pdf', 'djvu', 'rtf', 'chm',
|
||||
'doc', 'tcr', 'txt']
|
||||
EBOOK_DIR_MAIN = 'books'
|
||||
SUPPORTS_SUB_DIRS = True
|
||||
SCAN_FROM_ROOT = True
|
||||
|
||||
VENDOR_ID = [0x18d1]
|
||||
PRODUCT_ID = [0x0001]
|
||||
BCD = [0x0101]
|
||||
|
||||
|
||||
class PI2(EB600):
|
||||
|
||||
name = 'Infibeam Pi2 Device Interface'
|
||||
|
Loading…
x
Reference in New Issue
Block a user