From 52907e1bde953f5ae613ee6196bf509f5bca5702 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 15 Jan 2010 10:43:57 -0700 Subject: [PATCH] Test driver for the Google Nexus One. Fixes #4572 (device detection / support - Nexus One) --- src/calibre/devices/android/driver.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/android/driver.py b/src/calibre/devices/android/driver.py index 4b888fbebf..fd89675d91 100644 --- a/src/calibre/devices/android/driver.py +++ b/src/calibre/devices/android/driver.py @@ -20,6 +20,7 @@ class ANDROID(USBMS): VENDOR_ID = { 0x0bb4 : { 0x0c02 : [0x100], 0x0c01 : [0x100]}, 0x22b8 : { 0x41d9 : [0x216]}, + 0x18d1 : { 0x4e11 : [0x0100]}, } EBOOK_DIR_MAIN = ['wordplayer/calibretransfer', 'eBooks/import', 'Books'] EXTRA_CUSTOMIZATION_MESSAGE = _('Comma separated list of directories to ' @@ -27,8 +28,8 @@ class ANDROID(USBMS): 'be used') EXTRA_CUSTOMIZATION_DEFAULT = ', '.join(EBOOK_DIR_MAIN) - VENDOR_NAME = ['HTC', 'MOTOROLA'] - WINDOWS_MAIN_MEM = ['ANDROID_PHONE', 'A855'] + VENDOR_NAME = ['HTC', 'MOTOROLA', 'GOOGLE_'] + WINDOWS_MAIN_MEM = ['ANDROID_PHONE', 'A855', 'INC.NEXUS_ONE'] OSX_MAIN_MEM = 'HTC Android Phone Media'