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

2021-03-17 Thread Hans de Goede
Hi, On 3/17/21 6:56 PM, Matthias Schwarzott wrote: > Am 17.03.21 um 16:17 schrieb Alan Stern: >> On Wed, Mar 17, 2021 at 01:21:50PM +0100, Hans de Goede wrote: >>> Hi, >>> >>> On 3/16/21 6:04 PM, Alan Stern wrote: I think it would be mildly better, but not a whole lot.  Since the Kindle

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

2021-03-17 Thread Matthias Schwarzott
Am 17.03.21 um 16:17 schrieb Alan Stern: On Wed, Mar 17, 2021 at 01:21:50PM +0100, Hans de Goede wrote: Hi, On 3/16/21 6:04 PM, Alan Stern wrote: 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

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

2021-03-17 Thread Lennart Poettering
On Mi, 17.03.21 11:17, Alan Stern (st...@rowland.harvard.edu) wrote: > On Wed, Mar 17, 2021 at 01:21:50PM +0100, Hans de Goede wrote: > > Hi, > > > > On 3/16/21 6:04 PM, Alan Stern wrote: > > > I think it would be mildly better, but not a whole lot. Since the > > > Kindle describes itself as

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

2021-03-17 Thread Alan Stern
On Wed, Mar 17, 2021 at 01:21:50PM +0100, Hans de Goede wrote: > Hi, > > On 3/16/21 6:04 PM, Alan Stern wrote: > > 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

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

2021-03-17 Thread Hans de Goede
Hi, On 3/16/21 6:04 PM, Alan Stern wrote: > On Tue, Mar 16, 2021 at 05:43:34PM +0100, Hans de Goede wrote: >> Hi, >> >> On 3/16/21 5:26 PM, Alan Stern wrote: >>> On Tue, Mar 16, 2021 at 06:26:30AM +0100, Matthias Schwarzott wrote: I implemented solution 3b. This is the pullrequest for udev

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

2021-03-16 Thread Matthias Schwarzott
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.

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

2021-03-16 Thread Matthias Schwarzott
Am 16.03.21 um 17:26 schrieb Alan Stern: On Tue, Mar 16, 2021 at 06:26:30AM +0100, Matthias Schwarzott wrote: I implemented solution 3b. This is the pullrequest for udev (systemd repository): https://github.com/systemd/systemd/pull/19002 Now Lennart asks if udev is the best place for

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

2021-03-16 Thread Alan Stern
On Tue, Mar 16, 2021 at 05:43:34PM +0100, Hans de Goede wrote: > Hi, > > On 3/16/21 5:26 PM, Alan Stern wrote: > > On Tue, Mar 16, 2021 at 06:26:30AM +0100, Matthias Schwarzott wrote: > >> I implemented solution 3b. This is the pullrequest for udev (systemd > >> repository): > >> > >>

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

2021-03-16 Thread Hans de Goede
Hi, On 3/16/21 5:26 PM, Alan Stern wrote: > On Tue, Mar 16, 2021 at 06:26:30AM +0100, Matthias Schwarzott wrote: >> I implemented solution 3b. This is the pullrequest for udev (systemd >> repository): >> >> https://github.com/systemd/systemd/pull/19002 >> >> Now Lennart asks if udev is the

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

2021-03-16 Thread Alan Stern
On Tue, Mar 16, 2021 at 06:26:30AM +0100, Matthias Schwarzott wrote: > I implemented solution 3b. This is the pullrequest for udev (systemd > repository): > > https://github.com/systemd/systemd/pull/19002 > > Now Lennart asks if udev is the best place for such hacks/work-arounds? > >

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

2021-03-15 Thread Matthias Schwarzott
Am 11.03.21 um 15:39 schrieb Alan Stern: On Thu, Mar 11, 2021 at 07:05:00AM +0100, Matthias Schwarzott wrote: Am 10.03.21 um 22:46 schrieb Alan Stern: On Wed, Mar 10, 2021 at 09:56:04PM +0100, Matthias Schwarzott wrote: What happens if you set the value to 1000 before running the test? I