Re: [PATCH 2/2] usb: hub: Mark devices downstream a removable hub, as removable

From: Oliver Neukum
Date: Wed Oct 06 2021 - 14:36:14 EST



On 06.10.21 18:10, Alan Stern wrote:
> On Wed, Oct 06, 2021 at 11:37:58AM +0200, Oliver Neukum wrote:
>>
>> In theory yes. If your HC is removable by that logic every device is.
>> That renders the information content of 'removable' to zero. Everything
>> is removable.
> So we should add a new attribute. Call it "unpluggable", perhaps. It
> will say whether the device's immediate upstream link is
> hot-unpluggable. Then the device is removable if its parent is
> removable or if it is unpluggable.

Hi,

yes that would solve the issue. We are basically trying two press two
attributes
into one and that does not work.

    Regards
'        Oliver