01-14-2015, 04:25 PM | #16 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
The H2O is a NON android device; it is in the Kobo eReader series, not the defunct Kobo tablet series.
The only issue is that currently the Kobo Touch driver in 1.48 does not support the H2O. However, if you're prepared to run from source (ie both calibre 1.48 and source for 1.48) a few very simple changes can be made to the Kobo driver. In the 1.48 source you need to edit calibre\src\calibre\devices\kobo\driver.py Around line 1364 you will see Code:
AURA_PRODUCT_ID = [0x4203] AURA_HD_PRODUCT_ID = [0x4193] GLO_PRODUCT_ID = [0x4173] MINI_PRODUCT_ID = [0x4183] TOUCH_PRODUCT_ID = [0x4163] PRODUCT_ID = AURA_PRODUCT_ID + AURA_HD_PRODUCT_ID + GLO_PRODUCT_ID + MINI_PRODUCT_ID + TOUCH_PRODUCT_ID Code:
AURA_H2O_PRODUCT_ID = [0x4213] Code:
PRODUCT_ID = AURA_PRODUCT_ID + AURA_HD_PRODUCT_ID + AURA_H2O_PRODUCT_ID + GLO_PRODUCT_ID + MINI_PRODUCT_ID + TOUCH_PRODUCT_ID Code:
def isAura(self): return self.detected_device.idProduct in self.AURA_PRODUCT_ID def isAuraHD(self): return self.detected_device.idProduct in self.AURA_HD_PRODUCT_ID def isGlo(self): return self.detected_device.idProduct in self.GLO_PRODUCT_ID def isMini(self): return self.detected_device.idProduct in self.MINI_PRODUCT_ID def isTouch(self): return self.detected_device.idProduct in self.TOUCH_PRODUCT_ID Code:
def isAuraH2O(self): return self.detected_device.idProduct in self.AURA_H2O_PRODUCT_ID Code:
def cover_file_endings(self): return self.GLO_COVER_FILE_ENDINGS if self.isGlo() or self.isAura() else self.AURA_HD_COVER_FILE_ENDINGS if self.isAuraHD() else self.COVER_FILE_ENDINGS Code:
def cover_file_endings(self): return self.GLO_COVER_FILE_ENDINGS if self.isGlo() or self.isAura() else self.AURA_HD_COVER_FILE_ENDINGS if self.isAuraHD() or self.isAuraH2O() else self.COVER_FILE_ENDINGS Code:
def set_device_name(self): device_name = self.gui_name if self.isAura(): device_name = 'Kobo Aura' elif self.isAuraHD(): device_name = 'Kobo Aura HD' elif self.isGlo(): device_name = 'Kobo Glo' elif self.isMini(): device_name = 'Kobo Mini' elif self.isTouch(): device_name = 'Kobo Touch' self.__class__.gui_name = device_name return device_name Code:
def set_device_name(self): device_name = self.gui_name if self.isAura(): device_name = 'Kobo Aura' elif self.isAuraHD(): device_name = 'Kobo Aura HD' elif self.isAuraH2O(): device_name = 'Kobo Aura H2O' elif self.isGlo(): device_name = 'Kobo Glo' elif self.isMini(): device_name = 'Kobo Mini' elif self.isTouch(): device_name = 'Kobo Touch' self.__class__.gui_name = device_name return device_name Last edited by PeterT; 01-14-2015 at 04:29 PM. |
01-14-2015, 08:33 PM | #17 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
And the quick and dirty way to do this is...
Change the line for the Aura HD from: Code:
AURA_HD_PRODUCT_ID = [0x4193] Code:
AURA_HD_PRODUCT_ID = [0x4193, 0x4213] As to the non-run-from-source method, my plan is to create a plugin that subclasses the existing KoboTouch plugin. It will basically be a container for the extra code that PeterT listed. While I have done similar things in the past, I don't want to do it until it is needed and can be tested. And yes, I can fake it, but if no-one is around to use it, there are much better uses of my time (reading a book comes to mind). I also don't feel like answering all the "do I need to install this?" questions. Or complaints that it doesn't do anything from those who installed it in the latest calibre. It will also need changes to the utilities plugin and maybe the extended driver to recognise the driver. Again, I know how to do it, have done it for other reasons, but until there is an actual need, I'm not going to. |
01-14-2015, 08:47 PM | #18 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Spoil sport
|
01-15-2015, 12:33 AM | #19 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
But I should be thanking you for pulling the lines out I'll probably need later. |
01-15-2015, 04:29 AM | #20 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
No, the H2O presents itself as a USB disk. It's not an MTP device.
|
01-22-2015, 02:06 PM | #21 |
Member
Posts: 14
Karma: 10
Join Date: Mar 2010
Location: Switzerland
Device: Kobo Clara HD, Kobo Aura H2O, Sony PRS-300, FBReader
|
I have bought the Kobo Aura H2O.
I can confirm that Windows XP sees it as a normal USB device (not MTP). If I can help you to test your plugin, here I am. |
01-22-2015, 05:07 PM | #22 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Which isn't to say bad things will for sure happen, just that it is unsupported and likely to fail catastrophically at any time and no support will be provided. Certain magic setups have worked for some people, and some of those people have later complained that it stopped working, for no particular reason. Some have kept their setups working just fine. You may be one of those lucky few. Want to bet on it, though? In other words: Here Be Dragons, use at your own risk. I would prefer to use rsync to back my library up to the NAS. Last edited by eschwartz; 01-22-2015 at 05:11 PM. |
|
01-22-2015, 05:13 PM | #23 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Or download a static copy: https://github.com/eli-schwartz/cali...-backports.zip These will always point to the latest version of whatever driver/stuff backports I added. If anything else is needed for any reason, I can add those too. Last edited by eschwartz; 01-22-2015 at 05:19 PM. |
|
01-23-2015, 01:14 AM | #24 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I'll do this over the weekend. But, could you run "Debug device detection" and post the log? It is on the Miscellaneous page of the preferences. This is mainly for my curiosity. I didn't get one for the Aura H2O before I originally updated the driver.
|
01-24-2015, 07:49 AM | #25 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
KoboTouch plugin for calibre 1.48
Attached is a plugin for use with calibre 1.48 and enables the Kobo Aura H2O. It is a quick override of the built-in KoboTouch driver that includes code needed for the H2O. At the moment, it does the minimum needed to add the support. But, it if needed, any future changes to the driver in calibre v2 can be added. As well as supporting the H2O, this will also add those changes to the other Kobo devices.
The plugin also adds support for firmware v3.12.0 to calibre 1.48. But, if you are not using a Aura H2O, you can continue using the "Attempt to support newer firmware" option in the built-in driver. The driver has the very creative name of "KOBOTOUCH148". This driver is only for use with calibre 1.48 on systems that cannot be upgraded to calibre v2. I will NOT give any support for any using this driver with calibre v2. To install: - Disable the built-in KoboTouch driver - Download the attached file - Install the driver using the plugins section of the preferences - Restart calibre - Configure the driver - Connect your Kobo Aura H2O I have tested this as well as I can without actually having a Aura H2O (maybe in another few days). The testing has been simulated with my Glo in calibre 1.48 on a 32 bit Windows 7 machine. I don't expect any problems, but there might be some. Please report any problems here for me to look at. If you see a problem, I need as much detail as possible to look at it. A full description of the what happened and what you expected to happen is needed. A calibre debug log is also helpful. Notes: - The Kobo Utilities plugin will work with this driver. - The Kobo Touch Extended driver will not work with this driver. If you want to sideload books as kepubs, use the KePub Output plugin to convert the books before sending them to the device. Last edited by davidfor; 04-26-2015 at 07:27 AM. Reason: Removed driver as it has been released |
01-24-2015, 12:54 PM | #26 |
Member
Posts: 14
Karma: 10
Join Date: Mar 2010
Location: Switzerland
Device: Kobo Clara HD, Kobo Aura H2O, Sony PRS-300, FBReader
|
@ davidfor:
Please find attached the log file of what happens in 1.48 when connecting the H2O. Then I have installed your plugin driver: it works. Thanks a lot! If I will see any issue I will tell you. @ eschwartz I didn't know that the official FAQ discourages keeping the library on a networked filesystem. Good to know; I will think about it. On the other hand I access the library as a single user, from the same OS (well in these days as I wrote I have tested the access from Linux), from the same calibre version 1.48, the NAS (QNAP TS-109 II) firmware is the same and it will not be upgraded. This to say that my home IT infrastructure is not very evolutive, so hardly new things happen. Launching a rsync from it to the XP laptop where calibre is running and where the local library is? Using cygwin to do it the other way round? After all when I do the periodical backups from the NAS to an external HDD it's a rsync too, and in case of disaster I have the backup. Finally what might happen? A corruption of the metadata.db file, I suppose. Or would the disaster affect the ebook files too? If it is only the metadata.db file, no big deal: I can re-import the books in calibre. PS: thanks for the help for the source building of calibre; obviously installing davidfor's plugin was easier for me. |
01-24-2015, 07:53 PM | #27 | |||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
In the case of a low power NAS like yours, if someone accessed it and say copied a file at the wrong time, you might see a problem. I have a TS-209 II and we mainly use it as media store. It can play two or three movies to different devices in the house, but when starting a new movie, the others might stutter a little bit. The problems seem to be mainly with database access. One of the solutions is to store the database locally and the books on the server. There's an environment variable that can be set to point to the database. You could write a script that wraps starting calibre and copies the database to and from the NAS. If you did, I'd suggest creating a file on the NAS to use as a check that calibre isn't running somewhere else. |
|||
04-26-2015, 07:26 AM | #28 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
Tags |
calibre, kobo, plugin, tolino, windows xp |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-300 New Computer same reader | tennoel | Sony Reader | 7 | 05-30-2011 02:24 AM |
Deauthorizing a computer from Adobe Digital Reader without the computer | MasterGame | General Discussions | 5 | 10-27-2010 11:36 PM |
Getting Books from Reader to Computer | Zurvan | Kobo Reader | 1 | 05-06-2010 12:55 PM |
PRS-600 Computer doesn't recognize my reader? | sminarovich | Sony Reader | 4 | 01-06-2010 11:30 AM |
Should I Deactivate my computer and Reader BEFORE I do this? | Dr. Drib | Sony Reader | 5 | 04-14-2009 06:25 AM |