usb_template(4) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

usb_template(4)

To  compile this module into the kernel, place the following line
in your kernel configuration file: To load  the  module  at  boot
time,  place  the  following  line in usb_template_load="YES" The
module implements various USB templates that are needed when pro‐
gramming an USB device side driver.  A USB template  consists  of
an  USB device descriptor, one or more USB configuration descrip‐
tors, one or more USB interface descriptors, one or more USB end‐
point descriptors, USB strings and  additional  USB  descriptors.
USB  templates  are  selected using the sysctl and tunable, or by
using the subcommand.  Changing the sysctl triggers reenumeration
by the USB host; changes to other sysctls may not be  visible  to
the  host  until reenumeration is performed.  Available templates
are: The following variables are available as both variables  and
tunables: Currently selected template.  Set to -1 to make the de‐
vice  disappear  from  the USB host point of view.  USB bus power
consumption in mA at 5V.  Must be between 0 and 500.  Setting  to
0 marks the device as self-powered.  Defaults to 500mA.  Configu‐
ration  for  template number 16-bit vendor identifier (VID), usu‐
ally  assigned  by  USB-IF.   16-bit  product  identifier  (PID).
String  containing human-readable manufacturer name.  String con‐
taining human-readable product name.  The module complies to  the
USB 1.0, 2.0 and 3.0 standard.  The module was written by












































맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3