diff --git a/src/calibre/devices/prs505/driver.py b/src/calibre/devices/prs505/driver.py index 698a8f2a03..dd4b8d575a 100644 --- a/src/calibre/devices/prs505/driver.py +++ b/src/calibre/devices/prs505/driver.py @@ -64,9 +64,11 @@ class PRS505(Device): - - %(storage_card)s - %(deviceclass)s + + + %(storage_card)s + %(deviceclass)s + diff --git a/src/calibre/devices/scanner.py b/src/calibre/devices/scanner.py index 99a50020ec..40573114a7 100644 --- a/src/calibre/devices/scanner.py +++ b/src/calibre/devices/scanner.py @@ -43,7 +43,8 @@ class DeviceScanner(object): if iswindows: for device_id in self.devices: vid, pid = 'vid_%4.4x'%device.VENDOR_ID, 'pid_%4.4x'%device.PRODUCT_ID - if vid in device_id and pid in device_id: + rev = ('rev_%4.4x'%device.BCD).replace('a', ':') # Bug in winutil.get_usb_devices converts a to : + if vid in device_id and pid in device_id and rev in device_id: return True return False else: diff --git a/src/calibre/manual/faq.rst b/src/calibre/manual/faq.rst index caea4af553..450f860640 100644 --- a/src/calibre/manual/faq.rst +++ b/src/calibre/manual/faq.rst @@ -153,8 +153,9 @@ Content From The Web My downloaded news content causes the reader to reset. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is a bug in the SONY firmware. The problem can be mitigated by switching the output format to EPUB -in the configuration dialog. EPUB files typically only cause the reader to reset when clicking on certain -links. Alternatively, you can use the LRF output format and use the SONY software to transfer the files to the reader. The SONY software pre-paginates the LRF file, thereby reducing the number of resets. +in the configuration dialog. Alternatively, you can use the LRF output format and use the SONY software +to transfer the files to the reader. The SONY software pre-paginates the LRF file, +thereby reducing the number of resets. I obtained a recipe for a news site as a .py file from somewhere, how do I use it? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~