mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #9065 (Support for Wink ebook reader)
This commit is contained in:
parent
b1c003f5af
commit
e96edfd432
@ -573,8 +573,8 @@ 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
|
SOVOS, PICO, SUNSTECH_EB700, ARCHOS7O, STASH
|
||||||
from calibre.devices.sne.driver import SNE
|
from calibre.devices.sne.driver import SNE
|
||||||
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN, \
|
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, \
|
||||||
GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, Q600, LUMIREAD, ALURATEK_COLOR, \
|
GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, LUMIREAD, ALURATEK_COLOR, \
|
||||||
TREKSTOR, EEEREADER, NEXTBOOK
|
TREKSTOR, EEEREADER, NEXTBOOK
|
||||||
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
|
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
|
||||||
from calibre.devices.kobo.driver import KOBO
|
from calibre.devices.kobo.driver import KOBO
|
||||||
@ -691,8 +691,6 @@ plugins += [
|
|||||||
AVANT,
|
AVANT,
|
||||||
MENTOR,
|
MENTOR,
|
||||||
SWEEX,
|
SWEEX,
|
||||||
Q600,
|
|
||||||
KOGAN,
|
|
||||||
PDNOVEL,
|
PDNOVEL,
|
||||||
SPECTRA,
|
SPECTRA,
|
||||||
GEMEI,
|
GEMEI,
|
||||||
|
@ -54,41 +54,24 @@ class AVANT(USBMS):
|
|||||||
class SWEEX(USBMS):
|
class SWEEX(USBMS):
|
||||||
# Identical to the Promedia
|
# Identical to the Promedia
|
||||||
name = 'Sweex Device Interface'
|
name = 'Sweex Device Interface'
|
||||||
gui_name = 'Sweex'
|
gui_name = 'Sweex/Kogan/Q600/Wink'
|
||||||
description = _('Communicate with the Sweex MM300')
|
description = _('Communicate with the Sweex/Kogan/Q600/Wink')
|
||||||
author = 'Kovid Goyal'
|
author = 'Kovid Goyal'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
# Ordered list of supported formats
|
# Ordered list of supported formats
|
||||||
FORMATS = ['epub', 'prc', 'fb2', 'html', 'rtf', 'chm', 'pdf', 'txt']
|
FORMATS = ['epub', 'mobi', 'prc', 'fb2', 'html', 'rtf', 'chm', 'pdf', 'txt']
|
||||||
|
|
||||||
VENDOR_ID = [0x0525, 0x177f]
|
VENDOR_ID = [0x0525, 0x177f]
|
||||||
PRODUCT_ID = [0xa4a5, 0x300]
|
PRODUCT_ID = [0xa4a5, 0x300]
|
||||||
BCD = [0x0319, 0x110]
|
BCD = [0x0319, 0x110, 0x325]
|
||||||
|
|
||||||
VENDOR_NAME = 'SWEEX'
|
VENDOR_NAME = ['SWEEX', 'LINUX']
|
||||||
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'EBOOKREADER'
|
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['EBOOKREADER', 'FILE-STOR_GADGET']
|
||||||
|
|
||||||
EBOOK_DIR_MAIN = ''
|
EBOOK_DIR_MAIN = ''
|
||||||
SUPPORTS_SUB_DIRS = True
|
SUPPORTS_SUB_DIRS = True
|
||||||
|
|
||||||
class Q600(SWEEX):
|
|
||||||
|
|
||||||
name = 'Digma Q600 Device interface'
|
|
||||||
gui_name = 'Q600'
|
|
||||||
description = _('Communicate with the Digma Q600')
|
|
||||||
|
|
||||||
BCD = [0x325]
|
|
||||||
FORMATS = ['epub', 'fb2', 'mobi', 'prc', 'html', 'rtf', 'chm', 'pdf', 'txt']
|
|
||||||
|
|
||||||
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):
|
class PDNOVEL(USBMS):
|
||||||
name = 'Pandigital Novel device interface'
|
name = 'Pandigital Novel device interface'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user