summaryrefslogtreecommitdiffstats
path: root/Documentation/usb/gadget_printer.txt
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2015-04-20 22:15:20 +0200
committerJonathan Corbet <corbet@lwn.net>2015-05-07 09:44:04 -0600
commite3aa205aa131d9b6452c51191dae0aac8e6f1fbd (patch)
treea756eaefce561ef9aef96e53340dcf0d210e728c /Documentation/usb/gadget_printer.txt
parent4ae711f4a37bff6cf501b48d58f9e28b031b02c9 (diff)
downloadlinux-e3aa205aa131d9b6452c51191dae0aac8e6f1fbd.tar.gz
linux-e3aa205aa131d9b6452c51191dae0aac8e6f1fbd.tar.bz2
linux-e3aa205aa131d9b6452c51191dae0aac8e6f1fbd.zip
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>
Diffstat (limited to 'Documentation/usb/gadget_printer.txt')
0 files changed, 0 insertions, 0 deletions