Lines Matching +full:hid +full:- +full:mouse
22 device requests in table 9-3 from the universal serial bus specification
42 See :zephyr:code-sample:`usb-audio-headphones-microphone` and
43 :zephyr:code-sample:`usb-audio-headset` samples for reference.
53 * HCI commands through control endpoint (host-to-device only)
67 See :zephyr:code-sample:`bluetooth_hci_usb` sample for reference.
86 ring buffer is full only if the hw-flow-control property is enabled and
87 called from a non-ISR context.
90 :dtcompatible:`zephyr,cdc-acm-uart`.
104 .. code-block:: devicetree
108 compatible = "zephyr,cdc-acm-uart";
113 Sample :zephyr:code-sample:`usb-cdc-acm` has similar overlay files.
120 -------------------------
124 A similar overlay file is used by the :zephyr:code-sample:`usb-cdc-acm-console` sample.
126 .. code-block:: devicetree
136 compatible = "zephyr,cdc-acm-uart";
144 .. code-block:: c
161 -----------------------
164 backend for other subsystems by setting :ref:`devicetree-chosen-nodes`
170 * ``zephyr,bt-c2h-uart`` used in Bluetooth,
171 for example see :zephyr:code-sample:`bluetooth_hci_uart`
172 * ``zephyr,ot-uart`` used in OpenThread,
173 for example see :zephyr:code-sample:`openthread-coprocessor`
174 * ``zephyr,shell-uart`` used by shell for serial backend,
176 * ``zephyr,uart-mcumgr`` used by :zephyr:code-sample:`smp-svr` sample
179 ---------------------------------
215 See :zephyr:code-sample:`usb-dfu` sample for reference.
217 USB Human Interface Devices (HID) support
220 HID support abuses :ref:`device_model_api` simply to allow applications to use
221 the :c:func:`device_get_binding`. Note that there is no HID device API as such,
226 Each HID instance requires a HID report descriptor. The interface to the core
229 As the USB HID specification is not only used by the USB subsystem, the USB HID API
231 HID helper macros from :ref:`usb_hid_common` should be used to compose a
232 HID report descriptor. Macro names correspond to those used in the USB HID specification.
234 For the HID class interface, an IN interrupt endpoint is required for each instance,
238 .. code-block:: c
291 return -ENODEV;
312 issue will be fixed in the HID class implementation for the new USB support.
314 See :zephyr:code-sample:`usb-hid-mouse` sample for reference.
319 MSC follows Bulk-Only Transport specification and uses :ref:`disk_access_api` to
326 host. Flash, RAM, and SDMMC/MMC disk drivers use node property ``disk-name`` to
333 should be the same as ``disk-name`` property.
335 .. code-block:: devicetree
337 /delete-node/ &storage_partition;
341 compatible = "fixed-partitions";
342 #address-cells = <1>;
343 #size-cells = <1>;
354 compatible = "zephyr,flash-disk";
356 disk-name = "NAND";
357 cache-size = <4096>;
361 The ``disk-property`` "NAND" may be confusing, but it is simply how some file
364 :zephyr:code-sample:`usb-mass` sample for reference.
376 See :zephyr:code-sample:`zperf` or :zephyr:code-sample:`socket-dumb-http-server` for reference.
378 such as :zephyr_file:`samples/net/zperf/overlay-netusb.conf`.
392 See :zephyr:code-sample:`webusb` sample for reference.
394 Implementing a non-standard USB class
411 :start-after: usb.rst config structure start
412 :end-before: usb.rst config structure end
419 :start-after: usb.rst endpoint configuration start
420 :end-before: usb.rst endpoint configuration end
427 :start-after: usb.rst device config data start
428 :end-before: usb.rst device config data end
440 :start-after: usb.rst vendor handler start
441 :end-before: usb.rst vendor handler end
453 host, such as a HID class device that implements a keyboard. A function
456 endpoint is required to implement a HID class device, and no endpoints are
458 a multifunction USB device, for example, a combination of a HID class device
461 With Zephyr RTOS USB support, various combinations are possible with built-in USB
465 number, a four-bit value. Endpoint number zero is used for the default control
481 host drivers to be generic, for example, a multi-function device consisting of
485 Interface and endpoint descriptors of built-in USB class/function
509 prevent you from implementing a hardware-clone firmware. Instead, if possible,
522 .. code-block:: console
524 west build -t run
528 .. code-block:: console
530 $ usbip list -r localhost
533 - 127.0.0.1
534 1-1: unknown vendor : unknown product (2fe3:0100)
535 : /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
537 : 0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
541 .. code-block:: console
543 $ sudo usbip attach -r localhost -b 1-1
548 .. code-block:: console
555 7-1 -> usbip://localhost:3240/1-1
556 -> remote bus/dev 001/002
557 $ lsusb -d 2fe3:0100
567 Each USB :zephyr:code-sample-category:`sample<usb>` has its own unique Product ID.
569 Steering Committee, may allocate other USB Product IDs based on well-motivated
574 +----------------------------------------------------+--------+
577 | :zephyr:code-sample:`usb-cdc-acm` | 0x0001 |
578 +----------------------------------------------------+--------+
579 | Reserved (previously: usb-cdc-acm-composite) | 0x0002 |
580 +----------------------------------------------------+--------+
581 | Reserved (previously: usb-hid-cdc) | 0x0003 |
582 +----------------------------------------------------+--------+
583 | :zephyr:code-sample:`usb-cdc-acm-console` | 0x0004 |
584 +----------------------------------------------------+--------+
585 | :zephyr:code-sample:`usb-dfu` (Run-Time) | 0x0005 |
586 +----------------------------------------------------+--------+
587 | Reserved (previously: usb-hid) | 0x0006 |
588 +----------------------------------------------------+--------+
589 | :zephyr:code-sample:`usb-hid-mouse` | 0x0007 |
590 +----------------------------------------------------+--------+
591 | :zephyr:code-sample:`usb-mass` | 0x0008 |
592 +----------------------------------------------------+--------+
593 | :zephyr:code-sample:`testusb-app` | 0x0009 |
594 +----------------------------------------------------+--------+
595 | :zephyr:code-sample:`webusb` | 0x000A |
596 +----------------------------------------------------+--------+
597 | :zephyr:code-sample:`bluetooth_hci_usb` | 0x000B |
598 +----------------------------------------------------+--------+
600 +----------------------------------------------------+--------+
601 | Reserved (previously: wpan-usb) | 0x000D |
602 +----------------------------------------------------+--------+
603 | :zephyr:code-sample:`uac2-explicit-feedback` | 0x000E |
604 +----------------------------------------------------+--------+
605 | :zephyr:code-sample:`uac2-implicit-feedback` | 0x000F |
606 +----------------------------------------------------+--------+
607 | :zephyr:code-sample:`usb-dfu` (DFU Mode) | 0xFFFF |
608 +----------------------------------------------------+--------+