Re: [systemd-devel] [usb-storage] Re: Amazon Kindle disconnect after Synchronize Cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 16.03.21 um 18:04 schrieb Alan Stern:
On Tue, Mar 16, 2021 at 05:43:34PM +0100, Hans de Goede wrote:

Thank you for this patch, yes if this works it would IMHO be
a much better solution then the udev rule.

Thank you for the patch.

I think it would be mildly better, but not a whole lot.  Since the
Kindle describes itself as having removable media, the kernel normally
probes it periodically to make sure the media remains present.  The
default probing interval is 2 seconds.  Reducing it to 0.9 seconds
doesn't represent an exorbitant additional load IMO -- especially since
Kindles don't tend to spend huge amounts of time connected to computers.

If it's merely a question of where to change the polling interval from
the default (automatically in the kernel or by userspace), that also
doesn't seem like a terribly important choice.  Certainly a udev rule or
hwdb entry is a lot easier to maintain than special-case code in the
kernel.

One question though, if this works to fix the undesired ejects,
will an actual eject (using e.g. the eject utility as say
"sudo eject /dev/sda") still be seen as an eject by the kindle
after this ?

It should be.  Maybe Matthias will try it and let us know.

Just for reference a direct answer here:
Yes, eject keeps working as it should.

Because that is actually kind of important for everyone using their
Kindle with Calibre, breaking that would not be good.

I also tried to upload a book using calibre (without disabling any workarounds in calibre).
The full process did work fine.

Regards
Matthias



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux