linux-stable/Documentation/usb
H. Nikolaus Schaller e3aa205aa1 Documentation usb serial: fixed how to provide vendor and product id
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= 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 <hns@goldelico.com>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2015-05-07 09:44:04 -06:00
..
acm.txt
anchors.txt
authorization.txt
bulk-streams.txt
callbacks.txt
chipidea.txt doc: usb: chipidea: add usb wakeup enable example 2015-03-18 16:19:09 +01:00
CREDITS
dma.txt
dwc3.txt
ehci.txt
error-codes.txt
functionfs.txt
gadget-testing.txt usb: gadget: printer: add configfs support 2015-03-10 15:33:41 -05:00
gadget_configfs.txt gadget_configfs.txt: fix spelling of 'function' 2014-10-29 14:30:15 +01:00
gadget_hid.txt usb: gadget: hid: add configfs support 2014-11-06 16:18:19 -06:00
gadget_multi.txt doc: Fix typo in USB Gadget Documentation 2014-01-10 15:33:54 +01:00
gadget_printer.txt
gadget_serial.txt Documentation: usb: gadget_serial: update generic serial setup instruction 2015-01-12 12:13:24 -06:00
hotplug.txt usb: hub: rename khubd to hub_wq in documentation and comments 2014-09-23 22:33:19 -07:00
iuu_phoenix.txt
linux-cdc-acm.inf
linux.inf
mass-storage.txt doc: spelling error changes 2014-05-05 15:32:05 +02:00
misc_usbsevseg.txt
mtouchusb.txt
ohci.txt
persist.txt
power-management.txt USB / PM: Drop CONFIG_PM_RUNTIME from the USB core 2014-12-04 00:51:54 +01:00
proc_usb_info.txt proc_usb_info.txt: Correct documentation about endianness of config descriptors 2013-08-12 12:24:27 -07:00
rio.txt
URB.txt USB: URB documentation: claim complete() will be run with IRQs enabled 2013-08-12 11:43:48 -07:00
usb-help.txt
usb-serial.txt Documentation usb serial: fixed how to provide vendor and product id 2015-05-07 09:44:04 -06:00
usbmon.txt doc: usbmon: fix spelling s/unpriviledged/unprivileged/ 2015-01-09 12:25:54 -08:00
wusb-cbaf
WUSB-Design-overview.txt usb: hub: rename khubd to hub_wq in documentation and comments 2014-09-23 22:33:19 -07:00