Comment 11 for bug 1843328

Revision history for this message
Fabiano Konzen (0bi-w6n-k3nobi) wrote :

The problem is not over.
I am running on Fedora 33, Caliber 4.26 and have the same problem.

Every time the Calibre is running and you plug the Kindle into the USB cable.
This happens after Calibre tries to identify e-books that are already on Kindle.

However, I FIND THE REASON and THE SOLUTION.

I noticed that when you mount the Kindle before running Calibre, through the file manager in /run/media/USER/Kindle, the error DOES NOT HAPPEN.

But, when you plug the Kindle when the Calibre is already running, then it mount to /media/Kindle, the ERROR HAPPENS.

So, what's the difference:
the "flush" parameter in the mount options.
That's right - just add the "flush" parameter.

Then, in the "udisks.py" file add:

    def mount(self, device_node_path):
        d = self.device(device_node_path)
        try:
            return unicode_type(d.FilesystemMount('',
                ['auth_no_user_interaction', 'rw', 'noexec', 'nosuid',
                 'nodev', 'uid=%d'%os.geteuid(), 'gid=%d'%os.getegid(), 'flush'])) <---