mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
OS X/linux driver for PocketBook 301
This commit is contained in:
parent
6db976e5aa
commit
41c5a60920
@ -436,7 +436,7 @@ from calibre.devices.blackberry.driver import BLACKBERRY
|
|||||||
from calibre.devices.cybook.driver import CYBOOK
|
from calibre.devices.cybook.driver import CYBOOK
|
||||||
from calibre.devices.eb600.driver import EB600, COOL_ER, SHINEBOOK, \
|
from calibre.devices.eb600.driver import EB600, COOL_ER, SHINEBOOK, \
|
||||||
POCKETBOOK360, GER2, ITALICA, ECLICTO, DBOOK, INVESBOOK, \
|
POCKETBOOK360, GER2, ITALICA, ECLICTO, DBOOK, INVESBOOK, \
|
||||||
BOOQ, ELONEX
|
BOOQ, ELONEX, POCKETBOOK301
|
||||||
from calibre.devices.iliad.driver import ILIAD
|
from calibre.devices.iliad.driver import ILIAD
|
||||||
from calibre.devices.irexdr.driver import IREXDR1000, IREXDR800
|
from calibre.devices.irexdr.driver import IREXDR1000, IREXDR800
|
||||||
from calibre.devices.jetbook.driver import JETBOOK
|
from calibre.devices.jetbook.driver import JETBOOK
|
||||||
@ -507,6 +507,7 @@ plugins += [
|
|||||||
JETBOOK,
|
JETBOOK,
|
||||||
SHINEBOOK,
|
SHINEBOOK,
|
||||||
POCKETBOOK360,
|
POCKETBOOK360,
|
||||||
|
POCKETBOOK301,
|
||||||
KINDLE,
|
KINDLE,
|
||||||
KINDLE2,
|
KINDLE2,
|
||||||
KINDLE_DX,
|
KINDLE_DX,
|
||||||
|
@ -201,4 +201,21 @@ class ELONEX(EB600):
|
|||||||
def can_handle(cls, dev, debug=False):
|
def can_handle(cls, dev, debug=False):
|
||||||
return dev[3] == 'Elonex' and dev[4] == 'eBook'
|
return dev[3] == 'Elonex' and dev[4] == 'eBook'
|
||||||
|
|
||||||
|
class POCKETBOOK301(USBMS):
|
||||||
|
|
||||||
|
name = 'PocketBook 301 Device Interface'
|
||||||
|
description = _('Communicate with the PocketBook 301 reader.')
|
||||||
|
author = 'Kovid Goyal'
|
||||||
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
FORMATS = ['epub', 'fb2', 'prc', 'mobi', 'pdf', 'djvu', 'rtf', 'chm', 'txt']
|
||||||
|
|
||||||
|
SUPPORTS_SUB_DIRS = True
|
||||||
|
|
||||||
|
MAIN_MEMORY_VOLUME_LABEL = 'PocketBook 301 Main Memory'
|
||||||
|
STORAGE_CARD_VOLUME_LABEL = 'PocketBook 301 Storage Card'
|
||||||
|
|
||||||
|
VENDOR_ID = [0x1]
|
||||||
|
PRODUCT_ID = [0x301]
|
||||||
|
BCD = [0x132]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user