[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1909071506500.1597-100000@netrider.rowland.org>
Date: Sat, 7 Sep 2019 15:10:11 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Julius Werner <jwerner@...omium.org>
cc: Greg KH <greg@...ah.com>, Oliver Neukum <oneukum@...e.com>,
USB Storage list <usb-storage@...ts.one-eyed-alien.net>,
Dan Williams <dcbw@...hat.com>,
Kernel development list <linux-kernel@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>
Subject: Re: [PATCH] usb: storage: Add ums-cros-aoa driver
On Fri, 6 Sep 2019, Julius Werner wrote:
> FWIW, I found a suitable workaround now to get my use case working
> with existing kernels: I can do the mode switch from userspace, then
> after the device reenumerates I can manually disable any interfaces I
> don't like by writing 0 to their 'authorized' node, and then I write
> the VID/PID to usb-storage/new_id.
Okay, very good.
> I still think it would be nice in general to be able to force a driver
> to bind a specific device (rather than a VID/PID match), but it's not
> a pressing need for me anymore.
You _can_ do this currently, by writing the name of the interface to
/sys/bus/usb/drivers/usb-storage/bind. But as you know, this doesn't
work unless the VID & PID already match one of the driver's entries.
Alan Stern
Powered by blists - more mailing lists