linux/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
..
CREDITS
URB.txt
WUSB-Design-overview.txt
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
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_hid.txt
gadget_multi.txt
gadget_printer.txt
gadget_serial.txt
hotplug.txt
iuu_phoenix.txt
linux-cdc-acm.inf
linux.inf
mass-storage.txt
misc_usbsevseg.txt
mtouchusb.txt
ohci.txt
persist.txt
power-management.txt
proc_usb_info.txt
rio.txt
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
wusb-cbaf