Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753878AbbDUHr3 (ORCPT ); Tue, 21 Apr 2015 03:47:29 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:33161 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752939AbbDUHr0 (ORCPT ); Tue, 21 Apr 2015 03:47:26 -0400 Date: Tue, 21 Apr 2015 09:47:23 +0200 From: Johan Hovold To: Marek Belisko Cc: johan@kernel.org, gregkh@linuxfoundation.org, corbet@lwn.net, linux-usb@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, gta04-owner@goldelico.com, "H. Nikolaus Schaller" Subject: Re: [PATCH v2] Documentation usb serial: fixed how to provide vendor and product id Message-ID: <20150421074723.GA27057@localhost> References: <1428955767-23811-1-git-send-email-marek@goldelico.com> <1429560920-22620-1-git-send-email-marek@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429560920-22620-1-git-send-email-marek@goldelico.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1520 Lines: 42 On Mon, Apr 20, 2015 at 10:15:20PM +0200, Marek Belisko wrote: > From: "H. Nikolaus Schaller" > > While trying to test a Cinterion GSM/GPS/3G module I had reconfigured > the USB interface by mistake and therefore needed to run a different > USB driver than CDC-ACM. It turned out that I need the "usbserial" driver. > > This file is an official description how to use it: Documentation/usb/usb-serial.txt > > But it is outdated. The parameters vendor= and product= are only available > if compiled as a kernel module and have been superseded by a /sys interface. > > Here was the solution: > > https://bbs.archlinux.org/viewtopic.php?id=175499 > > insmod usbserial vendor=0x#### product=0x#### > > becomes (first #### is vendor, second is product) > > modprobe usbserial > echo #### #### >/sys/bus/usb-serial/drivers/generic/new_id > > This patch changes the documentation file to describe the modern variant. > Please note that the old one still works (if compiled as module). > > Signed-off-by: H. Nikolaus Schaller > Signed-off-by: Marek Belisko > --- > > - fixed 2 sentences suggested by Johan Hovold Thanks for fixing this. Looks good now. Acked-by: Johan Hovold Johan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/