• Home
  • Raw
  • Download

Lines Matching +full:usb +full:- +full:c

5 In addition to the normal input type HID devices, USB also uses the
11 To support these disparate requirements, the Linux USB system provides
15 normalised event interface - see Documentation/input/input.rst
21 usb.c ---> hid-core.c ----> hid-input.c ----> [keyboard/mouse/joystick/event]
24 --> hiddev.c ----> POWER / MONITOR CONTROL
26 In addition, other subsystems (apart from USB) can potentially feed
32 The hiddev interface is a char interface using the normal USB major,
35 mknod /dev/usb/hiddev0 c 180 96
36 mknod /dev/usb/hiddev1 c 180 97
37 mknod /dev/usb/hiddev2 c 180 98
38 mknod /dev/usb/hiddev3 c 180 99
39 mknod /dev/usb/hiddev4 c 180 100
40 mknod /dev/usb/hiddev5 c 180 101
41 mknod /dev/usb/hiddev6 c 180 102
42 mknod /dev/usb/hiddev7 c 180 103
43 mknod /dev/usb/hiddev8 c 180 104
44 mknod /dev/usb/hiddev9 c 180 105
45 mknod /dev/usb/hiddev10 c 180 106
46 mknod /dev/usb/hiddev11 c 180 107
47 mknod /dev/usb/hiddev12 c 180 108
48 mknod /dev/usb/hiddev13 c 180 109
49 mknod /dev/usb/hiddev14 c 180 110
50 mknod /dev/usb/hiddev15 c 180 111
52 So you point your hiddev compliant user-space program at the correct
55 Assuming that you have a hiddev compliant user-space program, of
61 specification, freely available from http://www.usb.org, and
62 conveniently linked of http://www.linux-usb.org.
68 each of which can have one or more "usages". In the hid-core,
74 the changed value. The hid-core.c module parses the report, and
75 returns to hiddev.c the individual usages that have changed within
96 HIDIOCGVERSION - int (read)
99 HIDIOCAPPLICATION - (none)
105 returns -1. You can find out beforehand how many application
109 HIDIOCGCOLLECTIONINFO - struct hiddev_collection_info (read/write)
116 index, the ioctl returns -1 and sets errno to -EINVAL.
118 HIDIOCGDEVINFO - struct hiddev_devinfo (read)
121 HIDIOCGSTRING - struct hiddev_string_descriptor (read/write)
125 HIDIOCINITREPORT - (none)
133 HIDIOCGNAME - string (variable length)
136 HIDIOCGREPORT - struct hiddev_report_info (write)
141 HIDIOCSREPORT - struct hiddev_report_info (write)
147 HIDIOCGREPORTINFO - struct hiddev_report_info (read/write)
150 must be filled in by the user. The ID can be absolute -- the actual
151 report id as reported by the device -- or relative --
153 report_id) for the next report after report_id. Without a-priori
156 returns non-zero when there is no more next ID. The real report ID is
159 HIDIOCGFIELDINFO - struct hiddev_field_info (read/write)
163 be filled in, which should be a number from 0 and maxfield-1, as
166 HIDIOCGUCODE - struct hiddev_usage_ref (read/write)
171 HIDIOCGUSAGE - struct hiddev_usage_ref (read/write)
179 HIDIOCSUSAGE - struct hiddev_usage_ref (write)
184 HIDIOGCOLLECTIONINDEX - struct hiddev_usage_ref (write)
188 HIDIOCGFLAG - int (read)
189 HIDIOCSFLAG - int (write)
193 HIDDEV_FLAG_UREF - read() calls will now return
200 HIDDEV_FLAG_REPORT - This flag can only be used in conjunction