Add support for the Nokia 770 internet tablet.

This commit is contained in:
John Schember 2009-12-13 09:38:29 -05:00
parent eb6fd6a3b1
commit 65e6e04d65
4 changed files with 38 additions and 1 deletions

View File

@ -414,6 +414,7 @@ from calibre.devices.prs500.driver import PRS500
from calibre.devices.prs505.driver import PRS505
from calibre.devices.prs700.driver import PRS700
from calibre.devices.android.driver import ANDROID
from calibre.devices.nokia.driver import N770
from calibre.devices.eslick.driver import ESLICK
from calibre.devices.nuut2.driver import NUUT2
from calibre.devices.iriver.driver import IRIVER_STORY
@ -470,6 +471,7 @@ plugins += [
PRS700,
PRS500,
ANDROID,
N770,
CYBOOK_OPUS,
COOL_ER,
SHINEBOOK,

View File

@ -20,7 +20,7 @@ class CYBOOKG3(USBMS):
name = 'Cybook Gen 3 Device Interface'
gui_name = 'Cybook Gen 3'
description = _('Communicate with the Cybook Gen 3 eBook reader.')
author = _('John Schember')
author = 'John Schember'
supported_platforms = ['windows', 'osx', 'linux']
# Ordered list of supported formats

View File

View 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