1# -*- coding: utf-8 -*-
2
3
4__license__   = 'GPL v3'
5__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
6__docformat__ = 'restructuredtext en'
7
8'''
9Device driver for the Nuut2
10'''
11
12from calibre.devices.usbms.driver import USBMS
13
14
15class NUUT2(USBMS):
16
17    name           = 'Nuut2 Device Interface'
18    gui_name       = 'NeoLux Nuut2'
19    description    = _('Communicate with the Nuut2 e-book reader.')
20    author         = _('Kovid Goyal')
21    supported_platforms = ['windows', 'osx', 'linux']
22
23    # Ordered list of supported formats
24    FORMATS     = ['epub', 'pdf', 'txt']
25    DRM_FORMATS = ['epub']
26
27    VENDOR_ID   = [0x140e]
28    PRODUCT_ID  = [0xb055]
29    BCD         = [0x318]
30
31    VENDOR_NAME      = 'NEOLUX'
32    WINDOWS_MAIN_MEM = 'NUUT2'
33
34    OSX_MAIN_MEM = 'NEXTPPRS MASS STORAGE Media'
35
36    MAIN_MEMORY_VOLUME_LABEL  = 'NUUT2 Main Memory'
37    STORAGE_CARD_VOLUME_LABEL = 'NUUT2 Storage Card'
38
39    EBOOK_DIR_MAIN = 'books'
40    SUPPORTS_SUB_DIRS = True
41