03-14-2013, 01:04 PM | #136 |
creator of calibre
Posts: 44,559
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just google usb sniffer or usb monitor, it should give you plenty of hits. I remember doing this about 6 years ago when I was reverse enginnering the USB protocol the sony prs 500 used to write the first calibre driver, but I cannot recall the tools I used.
|
03-14-2013, 04:29 PM | #137 | |
Grand Sorcerer
Posts: 12,756
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
|
|
Advert | |
|
03-14-2013, 04:34 PM | #138 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I have a question. Are you using Linux as SO? I think so after your last message (I was doubtful before). So, is the problem really in Kobo FW or its interaction with Linux? I've never had this problem, and my Mini and my Glo interact a lot with calibre.
|
03-14-2013, 10:09 PM | #139 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@ichrispa: That is very interesting analysis, but like PeterT and Terisa, I have to disagree with it.
Firstly, I have to take something back. Or maybe modify it. I said that the device is caching the database and not necessarily rereading it after a connection to USB. I said this because I had a circumstance under which I modified the database and it wasn't shown in the library list. But, I found out why. I had misunderstood a column and hadn't changed it appropriately. Now that I fixed that, the changes are always showing up. What I see is that if I connect my Glo or Touch to my Windows machine and fiddle with the database on the device, the changes are shown as soon as I disconnect. The "fiddling" could be anything. Adding rows to different tables or deleting them. The most common change is modifying the values in the content table. If I change the series info, the description, the last read date, the reading status, the last chapter read, the ISBN, the published date, the author, the title, the reading percentage or the file size, they are shown when I look at the device without restarting it. The same goes for adding a shelf or putting a book on a shelf. Or changing the stored font size for reading a book. Some of these changes are through the driver, some manually using a SQLite browser. A lot are via another different plugin I'm developing whose whole reason is to make these changes. On a more sever thing to do, yesterday I removed all books from my Glo while it was connected, and replaced the database with one from another user. The I disconnect. The device opened and worked correctly. I couldn't open books but I could look at the details. Then I connect and added a book the user was having trouble with and again, no problems. Then I removed that database and put my 200 books and database back on. When I disconnected, it all worked perfectly. I do see problems. And they are related to corrupt databases. But as far as I can tell, it is always my fault. I have calibre open, plus the database open and hit the eject button I have in calibre (a great plugin) and just pull the cable forgetting the database is still open and the device wasn't actually ejected from Windows. These cases are why I think the database might be cached. But I think what is happening is that when the device is disconnected, it tries to read the database. If it can't for some reason, it continues using the in-memory data. I don't know if it is using a memory copy of the database, or the built data structures. In these cases, any changes made while using the device (book reading status changed) are lost when the device is powered down and restarted. Or they don't appear in the database when I connect to the PC and look. I don't doubt you are seeing what you report. But, it disagrees with my experience and the experiences reported here. But, I also don't know how many of them are using Linux. I know that people are using Windows and Macs with no problems, but I am not as a sure about Linux. I have definitely seen others using Linux with their Kobo device, but I am not as how many also use calibre. I might have go with it over the weekend if I have time. I don't currently have Linux box, but there is an idle laptop that could be changed. I'll see what happens. And for the record, my Glo was bought in December last year. The Touch a year before. Both have had a factory reset in the last month followed by an upgrade to the firmware 2.4.0. And both had a logout last weekend which put a new database onto them and re-added all the books. |
03-14-2013, 10:40 PM | #140 |
Grand Sorcerer
Posts: 12,756
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Or just install VMware and then a Linux system under it.
I did try monitoring the calibre SysInternals ProcMon and validated that there we're no files open on the Touch before the eject was done. |
Advert | |
|
03-15-2013, 06:08 AM | #141 | |||||
Enthusiast
Posts: 40
Karma: 8604
Join Date: Dec 2012
Location: Germany
Device: Kobo Touch
|
Quote:
Quote:
I have established that it is nickel (GUI on the Kobo) that does not behave properly. But I will try using Windows with calibre just to check the effect in the coming week. Quote:
Your test is interesting in that I would love my KT to behave that way too... The most reliable way to kill my database is to connect, upload multiple ebooks and disconnect. After that, the database is gone. Quote:
Besides, as I said, I confirmed that nickel keeps its database open. If it is of interest, I will of course post how this was confirmed. Quote:
Again: This problem appears to be an isolated case of my KT behaving different from all of its kin. I have found a workaround. I am also writing a little python launcher to automate the steps described in the workaround before starting calibre. If noone else is able to reproduce the problem, I would simply close the case and consider my KT very special |
|||||
04-26-2013, 08:35 AM | #142 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Driver update - Firmware 2.5.1 and Aura HD
Calibre 0.9.28 contains updates to the Kobo driver to add support for firmware 2.5.1 and the new Kobo Aura HD.
The only changes in function are: - When a Kobo device is attached, the device name is displayed at the bottom of calibre. Previously this just had "Kobo Touch". - Firmware 2.5.1 saves cover images on the SD card for books on the SD card. The driver will now send covers to the SD card when sending books to the SD card if the appropriate cover options are used. |
04-26-2013, 08:47 PM | #143 |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@davidfor,
I've been using v0.9.28 with my Kobo Glo today and am experiencing a few teething problems. Here is a brief summary:
I realise that there probably isn't enough info here but before I write an essay I thought I'd just outline the situation in case any are known issues. I can provide more details if you can let me know what extra info/files you need to investigate further when you get some free time. Thanks. |
04-26-2013, 08:58 PM | #144 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
AFAIK this was a change in the firmware not in Calibre, since 2.1.5 the firmware no longer reads the published date from sideloaded epub metadata. You can enter the information into the Kobo database (as well as publisher and ISBN) and it will be displayed, but it is just not loaded into the database automatically by the firmware anymore.
|
04-26-2013, 09:16 PM | #145 |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Thanks for the quick response, Geoff. I assumed that calibre metadata was being written into the Kobo database as part of the 'Set series info' option. Is it not possible to transfer over other fields at the same time? Or am I completely misunderstanding the process?
|
04-26-2013, 09:21 PM | #146 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
|
|
04-27-2013, 02:52 AM | #147 | |||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
What is the save template you are using? There is something that happens with a save template that includes series info and books that don't have series. But, I haven't seen it set the series on the device. Could you run a debug session? Send a book without series info, disconnect, set the debug title in the driver options to the book name, restart in debug mode and reconnect. Then send me the log. Quote:
Quote:
What I can do is to change the "Set series info" option to "Set other metadata". Then have it set the series info, publisher, published date and ISBN. I already have code to do most of it. The only concern is performance. The first connect after sending a lot of books will take more time, but after that, it should be OK. Opinions anyone? |
|||
04-27-2013, 06:47 AM | #148 |
Addict
Posts: 262
Karma: 505124
Join Date: Dec 2009
Device: PRS-T2
|
I just received my Kobo Aura HD and updated Calibre but every time I add a book Calibre freezes for a few seconds. I'm on a windows 7 laptop
|
04-27-2013, 07:25 AM | #149 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Is this when you send the book to the AuraHD? How soon after starting the send? What happens when you copy a book to the device without calibre?
|
04-27-2013, 07:32 AM | #150 | ||||
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
Books/{author_sort} - {series}{series_index:0>2s| | - }{title} Quote:
Quote:
Quote:
Here is some extra info: All the books are standard epub with no DRM. In case my problems are self-inflicted perhaps this is also relevant. Whilst the normal workflow would be: 1. Connect and send-to-disk I have been adding a semi-automated process (not via calibre code) between 1 and 2. For each newly-sent book on the Kobo disk 2. Disconnect and let reader process new books. 3. Repeat connect/disconnect - open epub Both file date/time and filesize will therefore increase slightly. Understanding the logic of how things work, can you see why this might cause problems? I would add that I have been doing this for months on fw v2.1.5 with no apparent problems.- append kobo-specific css to existing css file - rebuild epub in situ I also tried adding my extra process after connecting for a 3rd time, but on disconnect the Glo deleted all updated epubs. This method also used to work OK on v2.1.5 I don't expect the Kobo driver to be changed to accommodate my niche requirements but some understanding of problems I may be creating for myself would be appreciated. I can probably find a workaround if I have to. I'll send the logs later today. |
||||
Tags |
kobo |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
firmware update for kobo netronix device | JDC | Netronix | 1 | 08-22-2014 06:33 AM |
Error communicating with device - Kobo eReader after 0.8.56 update | PoignantTuna | Devices | 3 | 06-21-2012 06:48 AM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 11:11 AM |
Kobo Desktop erased entire device database! - Don't dowload update | MrsJoseph | Kobo Reader | 9 | 03-23-2011 12:38 PM |
Sync Problems- Device status doesn't update to Kobo desktop... Wipes my bookmarks | dashto | Kobo Reader | 1 | 11-26-2010 02:35 PM |