From f293307e09f2222b0685dc5037cc74386e4c2974 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 Dec 2010 11:05:34 -0700 Subject: [PATCH] Fix #8042 (Request for Asus Eee-Reader DR900 Support) --- src/calibre/customize/builtins.py | 3 ++- src/calibre/devices/misc.py | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/calibre/customize/builtins.py b/src/calibre/customize/builtins.py index 93dda884cc..aea0e340c4 100644 --- a/src/calibre/customize/builtins.py +++ b/src/calibre/customize/builtins.py @@ -478,7 +478,7 @@ from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS, \ from calibre.devices.sne.driver import SNE from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN, \ GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, Q600, LUMIREAD, ALURATEK_COLOR, \ - TREKSTOR + TREKSTOR, EEEREADER from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG from calibre.devices.kobo.driver import KOBO from calibre.devices.bambook.driver import BAMBOOK @@ -605,6 +605,7 @@ plugins += [ ALURATEK_COLOR, BAMBOOK, TREKSTOR, + EEEREADER, ITUNES, ] plugins += [x for x in list(locals().values()) if isinstance(x, type) and \ diff --git a/src/calibre/devices/misc.py b/src/calibre/devices/misc.py index a895948316..d4776ecca7 100644 --- a/src/calibre/devices/misc.py +++ b/src/calibre/devices/misc.py @@ -244,3 +244,23 @@ class TREKSTOR(USBMS): VENDOR_NAME = 'TREKSTOR' WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'EBOOK_PLAYER_7' +class EEEREADER(USBMS): + + name = 'Asus EEE Reader device interface' + gui_name = 'EEE Reader' + description = _('Communicate with the EEE Reader') + author = 'Kovid Goyal' + supported_platforms = ['windows', 'osx', 'linux'] + + # Ordered list of supported formats + FORMATS = ['epub', 'fb2', 'txt', 'pdf'] + + VENDOR_ID = [0x0b05] + PRODUCT_ID = [0x178f] + BCD = [0x0319] + + EBOOK_DIR_MAIN = 'Books' + + VENDOR_NAME = 'LINUX' + WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'FILE-STOR_GADGET' +