Driver for the Bq Cervantes

Fixes #1573418 [Bq Cervantes 3 not recognized](https://bugs.launchpad.net/calibre/+bug/1573418)
This commit is contained in:
Kovid Goyal 2016-05-12 08:10:35 +05:30
parent fc12ac73d8
commit 70ab27ecd5
2 changed files with 20 additions and 2 deletions

View File

@ -681,7 +681,7 @@ from calibre.devices.sne.driver import SNE
from calibre.devices.misc import (
PALMPRE, AVANT, SWEEX, PDNOVEL, GEMEI, VELOCITYMICRO, PDNOVEL_KOBO,
LUMIREAD, ALURATEK_COLOR, TREKSTOR, EEEREADER, NEXTBOOK, ADAM, MOOVYBOOK,
COBY, EX124G, WAYTEQ, WOXTER, POCKETBOOK626, SONYDPTS1)
COBY, EX124G, WAYTEQ, WOXTER, POCKETBOOK626, SONYDPTS1, CERVANTES)
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
from calibre.devices.kobo.driver import KOBO, KOBOTOUCH
from calibre.devices.boeye.driver import BOEYE_BEX, BOEYE_BDX
@ -738,7 +738,7 @@ plugins += [
KOBO, KOBOTOUCH,
AZBOOKA,
FOLDER_DEVICE_FOR_CONFIG,
AVANT,
AVANT, CERVANTES,
MENTOR,
SWEEX,
PDNOVEL,

View File

@ -546,3 +546,21 @@ class SONYDPTS1(USBMS):
VENDOR_NAME = ['SONY']
WINDOWS_MAIN_MEM = ['DPT-S1']
WINDOWS_CARD_A_MEM = ['DPT-S1__SD']
class CERVANTES(USBMS):
name = 'Bq Cervantes Device Interface'
gui_name = 'Bq Cervantes'
description = _('Communicate with the Bq Cervantes')
author = 'Kovid Goyal'
supported_platforms = ['windows', 'osx', 'linux']
formats = ['epub', 'fb2', 'mobi', 'doc', 'rtf', 'pdf', 'txt']
VENDOR_ID = [0x2a47]
PRODUCT_ID = [0xad78]
BCD = [0x0110]
EBOOK_DIR_MAIN = 'Books'
SCAN_FROM_ROOT = True
SUPPORTS_SUB_DIRS = True