View Single Post
Old 11-08-2020, 07:33 AM   #19
yorikk
Member
yorikk began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2020
Device: amazon kindle
Found another way to fix the problem:

Mount vfat have "flush" option (but it's not enabled by default):

flush If set, the filesystem will try to flush to disk more early than normal. Not set by default.

When Kindle is mounted with this option, nothing is need to be changed in Calibre code. Cache update, books uploading is OK. But "sync /mnt/sdb1" still disconnect Kindle even with "flush" mount option.

Anyway, on my Linux with default settings, there is 100% require both os.fsync() to be followed by utime and "sync" system command in Calibre.

Kovid, please check your vfat mount options when Kindle is connected, for "flush" option (grep fat /proc/mounts).

Maybe without this option you can easy repeat the problem.
yorikk is offline   Reply With Quote