mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add support for the Nokia 770 internet tablet.
This commit is contained in:
parent
eb6fd6a3b1
commit
65e6e04d65
@ -414,6 +414,7 @@ from calibre.devices.prs500.driver import PRS500
|
|||||||
from calibre.devices.prs505.driver import PRS505
|
from calibre.devices.prs505.driver import PRS505
|
||||||
from calibre.devices.prs700.driver import PRS700
|
from calibre.devices.prs700.driver import PRS700
|
||||||
from calibre.devices.android.driver import ANDROID
|
from calibre.devices.android.driver import ANDROID
|
||||||
|
from calibre.devices.nokia.driver import N770
|
||||||
from calibre.devices.eslick.driver import ESLICK
|
from calibre.devices.eslick.driver import ESLICK
|
||||||
from calibre.devices.nuut2.driver import NUUT2
|
from calibre.devices.nuut2.driver import NUUT2
|
||||||
from calibre.devices.iriver.driver import IRIVER_STORY
|
from calibre.devices.iriver.driver import IRIVER_STORY
|
||||||
@ -470,6 +471,7 @@ plugins += [
|
|||||||
PRS700,
|
PRS700,
|
||||||
PRS500,
|
PRS500,
|
||||||
ANDROID,
|
ANDROID,
|
||||||
|
N770,
|
||||||
CYBOOK_OPUS,
|
CYBOOK_OPUS,
|
||||||
COOL_ER,
|
COOL_ER,
|
||||||
SHINEBOOK,
|
SHINEBOOK,
|
||||||
|
@ -20,7 +20,7 @@ class CYBOOKG3(USBMS):
|
|||||||
name = 'Cybook Gen 3 Device Interface'
|
name = 'Cybook Gen 3 Device Interface'
|
||||||
gui_name = 'Cybook Gen 3'
|
gui_name = 'Cybook Gen 3'
|
||||||
description = _('Communicate with the Cybook Gen 3 eBook reader.')
|
description = _('Communicate with the Cybook Gen 3 eBook reader.')
|
||||||
author = _('John Schember')
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
# Ordered list of supported formats
|
# Ordered list of supported formats
|
||||||
|
0
src/calibre/devices/nokia/__init__.py
Normal file
0
src/calibre/devices/nokia/__init__.py
Normal file
35
src/calibre/devices/nokia/driver.py
Normal file
35
src/calibre/devices/nokia/driver.py
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__copyright__ = '2009, John Schember <john at nachtimwald.com>'
|
||||||
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|
||||||
|
'''
|
||||||
|
Device driver for Nokia's internet tablet devices
|
||||||
|
'''
|
||||||
|
|
||||||
|
from calibre.devices.usbms.driver import USBMS
|
||||||
|
|
||||||
|
class N770(USBMS):
|
||||||
|
|
||||||
|
name = 'Nokia 770 Device Interface'
|
||||||
|
gui_name = 'Nokia 770'
|
||||||
|
description = _('Communicate with the Nokia Nokia 770 internet tablet.')
|
||||||
|
author = 'John Schember'
|
||||||
|
supported_platforms = ['windows', 'linux']
|
||||||
|
|
||||||
|
# Ordered list of supported formats
|
||||||
|
FORMATS = ['mobi', 'prc', 'epub', 'html', 'zip', 'fb2', 'chm', 'pdb',
|
||||||
|
'tcr', 'txt', 'rtf']
|
||||||
|
|
||||||
|
VENDOR_ID = [0x111]
|
||||||
|
PRODUCT_ID = [0x1af]
|
||||||
|
BCD = [0x134]
|
||||||
|
|
||||||
|
VENDOR_NAME = 'NOKIA'
|
||||||
|
WINDOWS_MAIN_MEM = '770'
|
||||||
|
|
||||||
|
MAIN_MEMORY_VOLUME_LABEL = 'N770 Main Memory'
|
||||||
|
|
||||||
|
EBOOK_DIR_MAIN = 'My Ebooks'
|
||||||
|
SUPPORTS_SUB_DIRS = True
|
Loading…
x
Reference in New Issue
Block a user