From f5db5d9c00fcbc47358d992b7e9d8b62ca7fbf76 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 2 Jul 2013 18:37:21 +0530 Subject: [PATCH] Driver for Trekstor Pyrus Maxi Fixes #1196931 [Device not recogized](https://bugs.launchpad.net/calibre/+bug/1196931) --- src/calibre/devices/misc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/misc.py b/src/calibre/devices/misc.py index b20ec3ca6e..e35db8f03d 100644 --- a/src/calibre/devices/misc.py +++ b/src/calibre/devices/misc.py @@ -227,16 +227,17 @@ class TREKSTOR(USBMS): VENDOR_ID = [0x1e68] PRODUCT_ID = [0x0041, 0x0042, 0x0052, 0x004e, 0x0056, 0x0067, # This is for the Pyrus Mini + 0x006f, # This is for the Pyrus Maxi 0x003e, # This is for the EBOOK_PLAYER_5M https://bugs.launchpad.net/bugs/792091 0x5cL, # This is for the 4ink http://www.mobileread.com/forums/showthread.php?t=191318 ] - BCD = [0x0002, 0x100] + BCD = [0x0002, 0x100, 0x0222] EBOOK_DIR_MAIN = 'Ebooks' VENDOR_NAME = 'TREKSTOR' WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['EBOOK_PLAYER_7', - 'EBOOK_PLAYER_5M', 'EBOOK-READER_3.0', 'EREADER_PYRUS', 'PYRUS_MINI'] + 'EBOOK_PLAYER_5M', 'EBOOK-READER_3.0', 'EREADER_PYRUS', 'PYRUS_MINI', 'PYRUS_MAXI'] SUPPORTS_SUB_DIRS = True SUPPORTS_SUB_DIRS_DEFAULT = False