Device driver for the Nokia N770

This commit is contained in:
Kovid Goyal 2009-12-13 12:25:34 -07:00
parent 5e55b31ab3
commit a436d54952
5 changed files with 40 additions and 2 deletions

View File

@ -413,6 +413,7 @@ from calibre.devices.nook.driver import NOOK
from calibre.devices.prs500.driver import PRS500 from calibre.devices.prs500.driver import PRS500
from calibre.devices.prs505.driver import PRS505, PRS700 from calibre.devices.prs505.driver import PRS505, 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
@ -469,6 +470,7 @@ plugins += [
PRS700, PRS700,
PRS500, PRS500,
ANDROID, ANDROID,
N770,
CYBOOK_OPUS, CYBOOK_OPUS,
COOL_ER, COOL_ER,
SHINEBOOK, SHINEBOOK,

View File

@ -11,6 +11,7 @@ Device driver for Bookeen's Cybook Gen 3
import os import os
from itertools import cycle from itertools import cycle
from calibre import islinux
from calibre.devices.usbms.driver import USBMS from calibre.devices.usbms.driver import USBMS
import calibre.devices.cybookg3.t2b as t2b import calibre.devices.cybookg3.t2b as t2b
@ -19,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

View File

@ -101,7 +101,7 @@ class GER2(EB600):
name = 'Ganaxa GeR2 Device Interface' name = 'Ganaxa GeR2 Device Interface'
gui_name = 'Ganaxa GeR2' gui_name = 'Ganaxa GeR2'
supported_platforms = ['windows'] supported_platforms = ['windows', 'linux', 'osx']
FORMATS = ['pdf'] FORMATS = ['pdf']

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', 'osx']
# 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