public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: "Dr. H. Nikolaus Schaller" <hns@goldelico.com>
Cc: List for communicating with real GTA04 owners 
	<gta04-owner@goldelico.com>, Johan Hovold <johan@kernel.org>,
	corbet@lwn.net, linux-doc@vger.kernel.org,
	gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, Marek Belisko <marek@goldelico.com>
Subject: Re: [Gta04-owner] [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id
Date: Mon, 30 Mar 2015 12:10:49 +0200	[thread overview]
Message-ID: <20150330101049.GL4046@localhost> (raw)
In-Reply-To: <7A8EEEED-BC4B-46C6-BB16-2310BF33E069@goldelico.com>

On Mon, Mar 30, 2015 at 11:40:20AM +0200, Dr. H. Nikolaus Schaller wrote:

> >>> diff --git a/Documentation/usb/usb-serial.txt b/Documentation/usb/usb-serial.txt
> >>> index 947fa62..9f184d8 100644
> >>> --- a/Documentation/usb/usb-serial.txt
> >>> +++ b/Documentation/usb/usb-serial.txt
> >>> @@ -466,11 +466,13 @@ Generic Serial driver
> >>>  is required of your device is that it has at least one bulk in endpoint,
> >>>  or one bulk out endpoint. 
> >>> 
> >>> -  To enable the generic driver to recognize your device, build the driver
> >>> -  as a module and load it by the following invocation:
> >>> -	insmod usbserial vendor=0x#### product=0x####
> >>> -  where the #### is replaced with the hex representation of your device's
> >>> -  vendor id and product id.
> >>> +  To enable the generic driver to recognize your device, configure
> >>> +  USB_SERIAL_GENERIC=y and build the driver as a module. Then load it by the
> >> 
> >> You don't need to build the driver as a module when using the sysfs
> >> method.
> > 
> > Ok, that is right and my formulation is too narrow on that.
> 
> Well, I should add that not my formulation was too narrow but already
> the original.

Since you change the description so that the context becomes invalid,
you are responsible for updating the context as well.

> > 
> > So we just s/ as a module//.
> > 
> >> 
> >>> +  following invocation:
> >>> +	modprobe usbserial
> >>> +	echo #### #### >/sys/bus/usb-serial/drivers/generic/new_id
> >>> +  where the the first #### is replaced with the hex representation of your
> >>> +  device's vendor id and the second #### by the product id.
> >>> 
> >>>  This driver has been successfully used to connect to the NetChip USB
> >>>  development board, providing a way to develop USB firmware without

Johan

  reply	other threads:[~2015-03-30 10:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 20:53 [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id Marek Belisko
2015-03-26  9:53 ` Greg KH
2015-03-26 10:41   ` Belisko Marek
2015-03-26 11:34     ` Dr. H. Nikolaus Schaller
2015-03-26 11:42     ` Greg KH
2015-03-28 13:37 ` Marek Belisko
2015-03-30  7:45   ` Johan Hovold
2015-03-30  9:32     ` Dr. H. Nikolaus Schaller
2015-03-30  9:40       ` [Gta04-owner] " Dr. H. Nikolaus Schaller
2015-03-30 10:10         ` Johan Hovold [this message]
2015-03-30 10:08       ` Johan Hovold
2015-04-02 14:25         ` Dr. H. Nikolaus Schaller
2015-04-02 14:34           ` Johan Hovold
2015-04-02 10:12   ` Jonathan Corbet
2015-04-02 10:35     ` Johan Hovold
2015-04-02 10:39       ` Dr. H. Nikolaus Schaller
2015-04-02 12:14       ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150330101049.GL4046@localhost \
    --to=johan@kernel.org \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=gta04-owner@goldelico.com \
    --cc=hns@goldelico.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=marek@goldelico.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox