Kobo driver: Fix latest firmware update for Kobo Wifi causing calibre to not recognize it. Fixes #1251536 [Calibre not recognizing Kobo device](https://bugs.launchpad.net/calibre/+bug/1251536)

Bug #1251536 reports an updated firmware for the Kobo WiFi. This also
changed the device id fromPID=0x4161 to PID=0x4162. It also needed an
update to the DBVersion.
This commit is contained in:
David Forrester 2013-11-17 11:31:45 +11:00 committed by Kovid Goyal
parent de39f394bf
commit c6fda62cc7

View File

@ -63,11 +63,11 @@ class KOBO(USBMS):
gui_name = 'Kobo Reader' gui_name = 'Kobo Reader'
description = _('Communicate with the Kobo Reader') description = _('Communicate with the Kobo Reader')
author = 'Timothy Legge and David Forrester' author = 'Timothy Legge and David Forrester'
version = (2, 1, 5) version = (2, 1, 6)
dbversion = 0 dbversion = 0
fwversion = 0 fwversion = 0
supported_dbversion = 90 supported_dbversion = 95
has_kepubs = False has_kepubs = False
supported_platforms = ['windows', 'osx', 'linux'] supported_platforms = ['windows', 'osx', 'linux']
@ -79,9 +79,11 @@ class KOBO(USBMS):
FORMATS = ['epub', 'pdf', 'txt', 'cbz', 'cbr'] FORMATS = ['epub', 'pdf', 'txt', 'cbz', 'cbr']
CAN_SET_METADATA = ['collections'] CAN_SET_METADATA = ['collections']
VENDOR_ID = [0x2237] VENDOR_ID = [0x2237]
PRODUCT_ID = [0x4161, 0x4165] BCD = [0x0110, 0x0323, 0x0326]
BCD = [0x0110, 0x0323, 0x0326] ORIGINAL_PRODUCT_ID = [0x4165]
WIFI_PRODUCT_ID = [0x4161, 0x4162]
PRODUCT_ID = ORIGINAL_PRODUCT_ID + WIFI_PRODUCT_ID
VENDOR_NAME = ['KOBO_INC', 'KOBO'] VENDOR_NAME = ['KOBO_INC', 'KOBO']
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['.KOBOEREADER', 'EREADER'] WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['.KOBOEREADER', 'EREADER']