Home
last modified time | relevance | path

Searched full:usb (Results 1 – 25 of 248) sorted by relevance

12345678910

/qemu/docs/system/devices/
H A Dusb.rst1 USB emulation
4 QEMU can emulate a PCI UHCI, OHCI, EHCI or XHCI USB controller. You can
5 plug virtual USB devices or real host USB devices (only works with
7 connect virtual USB hubs as necessary to connect multiple USB devices.
9 USB controllers
23 XHCI supports USB 1.1, USB 2.0 and USB 3.0 devices, so this is the
24 only controller you need. With only a single USB controller (and
25 therefore only a single USB bus) present in the system there is no
26 need to use the bus= parameter when adding USB devices.
32 The QEMU EHCI Adapter supports USB 2.0 devices. It can be used either
[all …]
H A Dccid.rst4 USB CCID device
6 The USB CCID device is a USB device implementing the CCID specification, which
20 cannot be used on a guest with simple usb passthrough since it will then not be
49 qemu -usb -device usb-ccid -device ccid-card-emulated
68 …qemu -usb -device usb-ccid -device ccid-card-emulated,backend=certificates,db=sql:$PWD,cert1=id-ce…
104 -usb -device usb-ccid -device ccid-card-passthru,chardev=ccid
121 -usb -device usb-ccid -device ccid-card-passthru,chardev=ccid
128 usb-ccid is a usb device. It defaults to an unattached usb device on startup.
129 usb-ccid expects a chardev and expects the protocol defined in
131 The usb-ccid device can be in one of three modes:
[all …]
H A Dcanokey.rst21 * (virt-card) CanoKey USB/IP
25 CanoKey QEMU exposes itself as a USB device to the guest OS.
36 * QEMU USB stack supports pcap thus USB packet between the guest
43 * For secure key developers, USB packets between guest OS and CanoKey
86 |qemu_system| -usb -device canokey,file=$HOME/.canokey-file
93 After the guest OS boots, you can check that there is a USB device.
111 USB packet handling.
126 -usb -device canokey,file=$HOME/.canokey-file
128 If you want to capture USB packets between the guest and the host, you can:
132 |qemu_system| -usb -device canokey,file=$HOME/.canokey-file,pcap=key.pcap
[all …]
H A Dusb-u2f.rst1 Universal Second Factor (U2F) USB Key Device
9 protocol. In case of a USB U2F security key, it is a USB HID device
31 |qemu_system| -usb -device u2f-passthru,hidraw=/dev/hidraw0
38 |qemu_system| -usb -device u2f-passthru
71 |qemu_system| -usb -device u2f-emulated
82 |qemu_system| -usb -device u2f-emulated,dir=$dir
93 …|qemu_system| -usb -device u2f-emulated,cert=$DIR1/$FILE1,priv=$DIR2/$FILE2,counter=$DIR3/$FILE3,e…
/qemu/hw/usb/
H A DKconfig1 config USB config
8 select USB
12 select USB
26 select USB
39 select USB
58 select USB
63 depends on USB
68 depends on USB
73 depends on USB
77 depends on USB
[all …]
H A Dquirks-ftdi-ids.h2 * vendor/product IDs (VID/PID) of devices using FTDI USB serial converters.
5 * Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais
78 /* NZR SEM 16+ USB (http://www.nzr.de) */
82 * RR-CirKits LocoBuffer USB (http://www.rr-cirkits.com)
84 #define FTDI_RRCIRKITS_LOCOBUFFER_PID 0xc7d0 /* LocoBuffer USB */
132 /* Lenz LI-USB Computer Interface. */
153 #define FTDI_NDI_HUC_PID 0xDA70 /* NDI Host USB Converter */
160 * ChamSys Limited (www.chamsys.co.uk) USB wing/interface product IDs
184 * Definitions for Artemis astronomical USB based cameras
190 * Definitions for ATIK Instruments astronomical USB based cameras
[all …]
H A Dmeson.build3 # usb subsystem core
14 # usb host adapters
30 system_ss.add(when: 'CONFIG_IMX_USBPHY', if_true: files('imx-usb-phy.c'))
33 system_ss.add(when: 'CONFIG_XLNX_USB_SUBSYS', if_true: files('xlnx-usb-subsystem.c'))
35 # emulated usb devices
74 # usb redirect
82 # usb pass-through
90 system_ss.add(when: ['CONFIG_USB', 'CONFIG_XEN_BUS', libusb], if_true: files('xen-usb.c'))
92 modules += { 'hw-usb': hw_usb_modules }
H A Dquirks-pl2303-ids.h2 * Prolific PL2303 USB to serial adaptor driver header file
60 /* Alcatel OT535/735 USB cable */
92 /* USB GSM cable from Speed Dragon Multimedia, Ltd */
104 /* Alcor Micro Corp. USB 2.0 TO RS-232 */
116 /* Y.C. Cable U.S.A., Inc - USB to RS-232 */
120 /* "Superial" USB - Serial */
136 /* Sony, USB data cable for CMD-Jxx mobile phones */
148 /* SMART USB Serial Adapter */
H A Ddev-storage-bot.c2 * USB Mass Storage Device emulation
12 #include "hw/usb.h"
13 #include "hw/usb/desc.h"
14 #include "hw/usb/msd.h"
52 .name = "usb-bot",
H A Dhcd-ehci.h2 * QEMU USB EHCI Emulation
22 #include "hw/usb.h"
330 #define TYPE_PCI_EHCI "pci-ehci-usb"
342 #define TYPE_SYS_BUS_EHCI "sysbus-ehci-usb"
343 #define TYPE_PLATFORM_EHCI "platform-ehci-usb"
344 #define TYPE_EXYNOS4210_EHCI "exynos4210-ehci-usb"
345 #define TYPE_AW_H3_EHCI "aw-h3-ehci-usb"
346 #define TYPE_NPCM7XX_EHCI "npcm7xx-ehci-usb"
347 #define TYPE_TEGRA2_EHCI "tegra2-ehci-usb"
348 #define TYPE_PPC4xx_EHCI "ppc4xx-ehci-usb"
[all …]
H A Dhcd-uhci.h2 * USB UHCI controller emulation
34 #include "hw/usb.h"
77 #define TYPE_UHCI "pci-uhci-usb"
94 #define TYPE_PIIX3_USB_UHCI "piix3-usb-uhci"
95 #define TYPE_PIIX4_USB_UHCI "piix4-usb-uhci"
96 #define TYPE_ICH9_USB_UHCI(fn) "ich9-usb-uhci" #fn
H A Dbus-stub.c2 * QEMU USB device emulation stubs
15 #include "hw/usb.h"
19 error_report("Support for USB devices not built-in"); in usbdevice_create()
26 error_setg(errp, "Support for USB devices not built-in"); in qmp_x_query_usb()
/qemu/tests/qtest/
H A Dusb-hcd-ehci-test.c2 * QTest testcase for USB EHCI
13 #include "hw/usb/uhci-regs.h"
14 #include "hw/usb/ehci-regs.h"
15 #include "libqos/usb.h"
77 uhci_port_test(&uhci1, 0, UHCI_PORT_CCS); /* usb-tablet */ in pci_uhci_port_1()
78 uhci_port_test(&uhci1, 1, UHCI_PORT_CCS); /* usb-storage */ in pci_uhci_port_1()
106 uhci_port_test(&uhci1, 0, 0); /* usb-tablet, @ehci */ in pci_uhci_port_2()
107 uhci_port_test(&uhci1, 1, 0); /* usb-storage, @ehci */ in pci_uhci_port_2()
117 PORTSC_PPOWER | PORTSC_CONNECT, /* usb-tablet */ in pci_ehci_port_2()
118 PORTSC_PPOWER | PORTSC_CONNECT, /* usb-storage */ in pci_ehci_port_2()
[all …]
H A Dusb-hcd-xhci-test.c2 * QTest testcase for USB xHCI controller
12 #include "libqos/usb.h"
23 qtest_qmp_device_add(qts, "usb-uas", "uas", "{}"); in test_usb_uas_hotplug()
39 qtest_qmp_device_add(qts, "usb-ccid", "ccid", "{}"); in test_usb_ccid_hotplug()
42 qtest_qmp_device_add(qts, "usb-ccid", "ccid", "{}"); in test_usb_ccid_hotplug()
53 if (qtest_has_device("usb-uas")) { in main()
54 qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug); in main()
56 if (qtest_has_device("usb-ccid")) { in main()
57 qtest_add_func("/xhci/pci/hotplug/usb-ccid", test_usb_ccid_hotplug); in main()
60 qtest_start("-device nec-usb-xhci,id=xhci" in main()
H A Dusb-hcd-uhci-test.c2 * QTest testcase for USB UHCI controller
13 #include "libqos/usb.h"
16 #include "hw/usb/uhci-regs.h"
49 qtest_qmp_device_add(qts, "usb-storage", "usbdev0", "{'drive': 'drive0'}"); in test_usb_storage_hotplug()
57 const char *cmd = "-device piix3-usb-uhci,id=uhci,addr=1d.0" in main()
60 " -device usb-tablet,bus=uhci.0,port=1"; in main()
65 if (!qtest_has_device("piix3-usb-uhci")) { in main()
66 g_debug("piix3-usb-uhci not available"); in main()
72 if (qtest_has_device("usb-storage")) { in main()
73 qtest_add_func("/uhci/pci/hotplug/usb-storage", test_usb_storage_hotplug); in main()
[all …]
H A Dreadconfig-test.c191 test_object_available(qobj, "ehci", "ich9-usb-ehci1"); in test_docs_config_ich9()
192 test_object_available(qobj, "uhci-1", "ich9-usb-uhci1"); in test_docs_config_ich9()
193 test_object_available(qobj, "uhci-2", "ich9-usb-uhci2"); in test_docs_config_ich9()
194 test_object_available(qobj, "uhci-3", "ich9-usb-uhci3"); in test_docs_config_ich9()
314 { "ich9-ehci-1", "ich9-usb-ehci1" }, in test_docs_q35_emulated()
315 { "ich9-ehci-2", "ich9-usb-ehci2" }, in test_docs_q35_emulated()
316 { "ich9-uhci-1", "ich9-usb-uhci1" }, in test_docs_q35_emulated()
317 { "ich9-uhci-2", "ich9-usb-uhci2" }, in test_docs_q35_emulated()
318 { "ich9-uhci-3", "ich9-usb-uhci3" }, in test_docs_q35_emulated()
319 { "ich9-uhci-4", "ich9-usb-uhci4" }, in test_docs_q35_emulated()
[all …]
/qemu/tests/qtest/fuzz/
H A Dgeneric_fuzz_configs.h148 "-device qemu-xhci,id=xhci -device usb-tablet,bus=xhci.0 "
149 "-device usb-bot -device usb-storage,drive=disk0 "
151 "-device usb-braille,chardev=cd0 -device usb-ccid -device usb-ccid "
152 "-device usb-kbd -device usb-mouse -device usb-serial,chardev=cd1 "
153 "-device usb-tablet -device usb-wacom-tablet "
154 "-device usb-audio,audiodev=snd0 -audiodev none,id=snd0",
155 .objects = "*usb* *uhci* *xhci*",
198 "-device ich9-usb-ehci1,bus=pcie.0,addr=1d.7,"
200 "-device ich9-usb-uhci1,bus=pcie.0,addr=1d.0,"
202 "-device ich9-usb-uhci2,bus=pcie.0,addr=1d.1,"
[all …]
/qemu/docs/
H A Dmultiseat.txt21 qemu -accel kvm -usb $memory $disk $whatever \
24 -device usb-tablet
27 standard ps/2 keyboard (implicitly there) and the usb-tablet. Now the
32 -device nec-usb-xhci,bus=head.2,addr=0f.0,id=usb.2 \
33 -device usb-kbd,bus=usb.2.0,port=1,display=video.2 \
34 -device usb-tablet,bus=usb.2.0,port=2,display=video.2
37 xhci (usb) controller to the bridge. Then it adds a usb keyboard and
38 usb mouse, both connected to the xhci and linked to the display.
52 ... instead of xhci and usb hid devices.
91 should list the pci bridge with the display adapter and usb controller:
[all …]
H A Dqdev-device-use.txt21 USB port %d(.%d)* (port.port...)
128 For USB devices, the old way was actually different:
137 -device usb-storage,drive=DRIVE-ID,removable=RMB
140 (RMB) bit. USB thumbdrives usually set removable=on, while USB hard
143 Bug: usb-storage pretends to be a block device, but it's really a SCSI
186 -device usb-braille,chardev=braille -chardev braille,id=braille
189 -device usb-serial,chardev=dev.
244 Except for USB it looked like this:
255 device appropriate for the bus (virtio-net-pci for PCI), and for USB
256 you have to use usb-net.
[all …]
/qemu/docs/config/
H A Dich9-ehci-uhci.cfg9 # Specify "bus=ehci.0" when creating usb devices to hook them up
14 driver = "ich9-usb-ehci1"
19 driver = "ich9-usb-uhci1"
26 driver = "ich9-usb-uhci2"
33 driver = "ich9-usb-uhci3"
H A Dq35-emulated.cfg39 # 00:1a.* USB controller (#2)
42 # 00:1d.* USB Controller (#1)
164 # USB controller (#1)
170 driver = "ich9-usb-ehci1"
176 driver = "ich9-usb-uhci1"
184 driver = "ich9-usb-uhci2"
192 driver = "ich9-usb-uhci3"
200 # USB controller (#2)
206 driver = "ich9-usb-ehci2"
212 driver = "ich9-usb-uhci4"
[all …]
H A Dmach-virt-graphical.cfg37 # 03:00.0 USB controller
242 # USB controller (and input devices)
245 # We add a virtualization-friendly USB 3.0 controller and
246 # a USB keyboard / USB tablet combo so that graphical
249 [device "usb"]
250 driver = "nec-usb-xhci"
255 driver = "usb-kbd"
256 bus = "usb.0"
259 driver = "usb-tablet"
260 bus = "usb.0"
H A Dq35-virtio-graphical.cfg41 # 03:00.0 USB controller
193 # USB controller (and input devices)
196 # We add a virtualization-friendly USB 3.0 controller and
197 # a USB tablet so that graphical guests can be controlled
198 # appropriately. A USB keyboard is not needed, as q35
201 [device "usb"]
202 driver = "nec-usb-xhci"
207 driver = "usb-tablet"
208 bus = "usb.0"
/qemu/tests/functional/
H A Dtest_aarch64_raspi4.py47 # When PCI is supported we can add a USB controller:
49 # '-device', 'usb-kbd,bus=xhci.0',
53 # When USB is enabled we can look for this
54 # console_pattern = 'Product: QEMU USB Keyboard'
79 # When PCI is supported we can add a USB controller:
81 # '-device', 'usb-kbd,bus=xhci.0',
/qemu/include/hw/usb/
H A Dmsd.h2 * USB Mass Storage Device emulation
10 #include "hw/usb.h"
38 /* usb-storage only */
47 #define TYPE_USB_STORAGE "usb-storage-dev"

12345678910