Re: [PATCH v2] Documentation usb serial: fixed how to provide vendor and product id
From: Johan Hovold
Date: Tue Apr 21 2015 - 09:03:20 EST
On Tue, Apr 21, 2015 at 01:57:05PM +0200, Bjørn Mork wrote:
> Johan Hovold <johan@xxxxxxxxxx> writes:
> > On Mon, Apr 20, 2015 at 10:15:20PM +0200, Marek Belisko wrote:
> >> From: "H. Nikolaus Schaller" <hns@xxxxxxxxxxxxx>
> >>
> >> The parameters vendor= and product= are only available
> >> if compiled as a kernel module
>
> Really? I believe you should be able to do
>
> usbserial.vendor=vid usbserial.product=pid
>
> on the command line if usbserial is built-in. Not that I recommend doing
> that. But it should work.
You're right, the commit message is a little misleading, but the updated
documentation is correct. The current text does not mention the option
to pass module parameters on the kernel command line explicitly either.
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/