Add N810 driver. Fix device ids for GeR2 and N770.

This commit is contained in:
John Schember 2009-12-15 18:28:32 -05:00
parent 35fc570d24
commit 549d2f00d4
3 changed files with 19 additions and 6 deletions

View File

@ -413,7 +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.nokia.driver import N770, N810
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 +470,7 @@ plugins += [
PRS500, PRS500,
ANDROID, ANDROID,
N770, N770,
N810,
CYBOOK_OPUS, CYBOOK_OPUS,
COOL_ER, COOL_ER,
ESLICK, ESLICK,

View File

@ -104,8 +104,8 @@ class GER2(EB600):
FORMATS = ['pdf'] FORMATS = ['pdf']
VENDOR_ID = [0xbda] VENDOR_ID = [0x3034]
PRODUCT_ID = [0x703] PRODUCT_ID = [0x1795]
BCD = [0x132] BCD = [0x132]
VENDOR_NAME = 'GANAXA' VENDOR_NAME = 'GANAXA'

View File

@ -22,9 +22,9 @@ class N770(USBMS):
FORMATS = ['mobi', 'prc', 'epub', 'html', 'zip', 'fb2', 'chm', 'pdb', FORMATS = ['mobi', 'prc', 'epub', 'html', 'zip', 'fb2', 'chm', 'pdb',
'tcr', 'txt', 'rtf'] 'tcr', 'txt', 'rtf']
VENDOR_ID = [0x111] VENDOR_ID = [0x421]
PRODUCT_ID = [0x1af] PRODUCT_ID = [0x431]
BCD = [0x134] BCD = [0x308]
VENDOR_NAME = 'NOKIA' VENDOR_NAME = 'NOKIA'
WINDOWS_MAIN_MEM = '770' WINDOWS_MAIN_MEM = '770'
@ -33,3 +33,15 @@ class N770(USBMS):
EBOOK_DIR_MAIN = 'My Ebooks' EBOOK_DIR_MAIN = 'My Ebooks'
SUPPORTS_SUB_DIRS = True SUPPORTS_SUB_DIRS = True
class N810(N770):
name = 'Nokia 810 Device Interface'
gui_name = 'Nokia 810'
description = _('Communicate with the Nokia Nokia 810 internet tablet.')
PRODUCT_ID = [0x96]
BCD = [0x316]
WINDOWS_MAIN_MEM = 'N810'
MAIN_MEMORY_VOLUME_LABEL = 'N810 Main Memory'