Home
last modified time | relevance | path

Searched +full:usb +full:- +full:attach (Results 1 – 25 of 127) sorted by relevance

123456

/linux/tools/usb/usbip/doc/
H A Dusbip.83 usbip \- manage USB/IP devices
9 On a USB/IP server, devices can be listed, bound, and unbound using
10 this program. On a USB/IP client, devices exported by USB/IP servers
15 \fB\-\-debug\fR
21 \fB\-\-log\fR
27 \fB\-\-tcp-port PORT\fR
29 Connect to PORT on remote host (used for attach and list --remote).
47 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-busid=<\fIbus_id\fR>
49 Attach a remote USB device.
53 \fBattach\fR \-\-remote=<\fIhost\fR> \-\-device=<\fIdev_id\fR>
[all …]
/linux/tools/usb/usbip/
H A DREADME2 # README for usbip-utils
5 # 2005-2008 Takahiro Hirofuchi
8 USB/IP protocol allows to pass USB device from server to client over the
9 network. Server is a machine which provides (shares) a USB device. Client is
10 a machine which uses USB device provided by server over the network.
11 The USB device may be either physical device connected to a server or
12 software entity created on a server using USB gadget subsystem.
15 - usbip-vhci
16 A client side kernel module which provides a virtual USB Host Controller
17 and allows to import a USB device from a remote machine.
[all …]
/linux/include/linux/usb/
H A Dserial.h1 // SPDX-License-Identifier: GPL-2.0
3 * USB Serial Converter stuff
5 * Copyright (C) 1999 - 2012
6 * Greg Kroah-Hartman (greg@kroah.com)
20 /* USB serial flags */
59 * @flags: usb serial port flags
63 * This structure is used by the usb-serial core and drivers for the specific
114 return dev_get_drvdata(&port->dev); in usb_get_serial_port_data()
120 dev_set_drvdata(&port->dev, data); in usb_set_serial_port_data()
124 * usb_serial - structure used by the usb-serial core for a device
[all …]
/linux/Documentation/usb/
H A Dfunctionfs.rst9 unique behaviour. It may be added to an USB configuration only after
28 For more information about FunctionFS descriptors see :doc:`functionfs-desc`
51 $ mkdir /dev/ffs-mtp && mount -t functionfs mtp /dev/ffs-mtp
52 $ ( cd /dev/ffs-mtp && mtp-daemon ) &
53 $ mkdir /dev/ffs-hid && mount -t functionfs hid /dev/ffs-hid
54 $ ( cd /dev/ffs-hid && hid-daemon ) &
56 On kernel level the gadget checks ffs_data->dev_name to identify
64 parameter's value is just a one-element list, then the behaviour
69 filesystems have been mounted and USB descriptors of all functions
72 Conversely, the gadget is unregistered after the first USB function
[all …]
/linux/tools/usb/usbip/src/
H A Dusbip.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * 2005-2007 Takahiro Hirofuchi
26 "usbip [--debug] [--log] [--tcp-port PORT] [version]\n"
55 .name = "attach",
57 .help = "Attach a remote USB device",
63 .help = "Detach a remote USB device",
69 .help = "List exportable or local USB devices",
87 .help = "Show imported USB devices",
105 ret = -1; in usbip_help()
110 for (cmd = cmds; cmd->name != NULL; cmd++) in usbip_help()
[all …]
/linux/drivers/usb/misc/sisusbvga/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)"
7 Say Y here if you intend to attach a USB2VGA dongle based on a
10 Note that this device requires a USB 2.0 host controller. It will not
11 work with USB 1.x controllers.
/linux/Documentation/devicetree/bindings/usb/
H A Drichtek,rt1719.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT1719 sink-only Type-C PD controller
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT1719 is a sink-only USB Type-C controller that complies with the latest
14 USB Type-C and PD standards. It does the USB Type-C detection including attach
15 and orientation. It integrates the physical layer of the USB BMC power
17 support for alternative interfaces of the Type-C specification.
[all …]
H A Dusb251xb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb251xb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB 2.0 Hi-Speed Hub Controller
10 - Richard Leitner <richard.leitner@skidata.com>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
[all …]
/linux/drivers/usb/host/
H A Dssb-hcd.c1 // SPDX-License-Identifier: GPL-2.0
4 * Broadcom USB-core driver (SSB bus glue)
6 * Copyright 2011-2012 Hauke Mehrtens <hauke@hauke-m.de>
8 * Based on ssb-ohci driver
11 * Derived from the OHCI-PCI driver
13 * Copyright 2000-2002 David Brownell
17 * Derived from the USBcore related parts of Broadcom-SB
18 * Copyright 2005-2011 Broadcom Corporation
25 #include <linux/usb/ehci_pdriver.h>
26 #include <linux/usb/ohci_pdriver.h>
[all …]
/linux/drivers/usb/misc/
H A Donboard_usb_dev.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for onboard USB devices
26 #include <linux/usb.h>
27 #include <linux/usb/hcd.h>
28 #include <linux/usb/onboard_dev.h>
72 const char * const *supply_names = onboard_dev->pdata->supply_names; in onboard_dev_get_regulators()
73 unsigned int num_supplies = onboard_dev->pdata->num_supplies; in onboard_dev_get_regulators()
74 struct device *dev = onboard_dev->dev; in onboard_dev_get_regulators()
79 return dev_err_probe(dev, -EINVAL, "max %d supplies supported!\n", in onboard_dev_get_regulators()
83 onboard_dev->supplies[i].supply = supply_names[i]; in onboard_dev_get_regulators()
[all …]
/linux/tools/usb/usbip/vudc/
H A Dvudc_server_example.sh8 # binary, for any purpose, commercial or non-commercial, and by any
35 set -e
38 # Create your USB gadget
49 # Create a new USB gadget
53 # This gadget contains one function - ACM (serial port over USB)
59 ln -s ${FUNC_DIR} configs/c.1
66 # Load vudc-module if vudc is not available
69 [[ -d /sys/class/udc/usbip-vudc.0 ]] || modprobe usbip-vudc num=1
76 echo "usbip-vudc.0" > UDC
79 # Let's now run our usbip daemon in a USB device mode
[all …]
/linux/drivers/media/usb/em28xx/
H A Dem28xx-dvb.c1 // SPDX-License-Identifier: GPL-2.0
5 // (c) 2008-2011 Mauro Carvalho Chehab <mchehab@kernel.org>
8 // - Fixes for the driver to properly work with HVR-950
9 // - Fixes for the driver to properly work with Pinnacle PCTV HD Pro Stick
10 // - Fixes for the driver to properly work with AMD ATI TV Wonder HD 600
16 // Based on cx88-dvb, saa7134-dvb and videobuf-dvb originally written by:
24 #include <linux/usb.h>
26 #include <media/v4l2-common.h>
31 #include "tuner-simple.h"
65 MODULE_DESCRIPTION(DRIVER_DESC " - digital TV interface");
[all …]
/linux/drivers/extcon/
H A Dextcon-max3355.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Maxim Integrated MAX3355 USB OTG chip extcon driver
5 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
9 #include <linux/extcon-provider.h>
31 int id = gpiod_get_value_cansleep(data->id_gpiod); in max3355_id_irq()
35 * ID = 1 means USB HOST cable detached. in max3355_id_irq()
36 * As we don't have event for USB peripheral cable attached, in max3355_id_irq()
37 * we simulate USB peripheral attach here. in max3355_id_irq()
39 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, false); in max3355_id_irq()
40 extcon_set_state_sync(data->edev, EXTCON_USB, true); in max3355_id_irq()
[all …]
/linux/drivers/usb/serial/
H A Dempeg.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Empeg empeg-car player driver
8 * Copyright (C) 1999 - 2001
9 * Greg Kroah-Hartman (greg@kroah.com)
11 * See Documentation/usb/usb-serial.rst for more information on using this
24 #include <linux/usb.h>
25 #include <linux/usb/serial.h>
27 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Gary Brubaker <xavyer@ix.netcom.com>"
28 #define DRIVER_DESC "USB Empeg Mark I/II Driver"
33 /* function prototypes for an empeg-car player */
[all …]
/linux/Documentation/filesystems/
H A D9p.rst1 .. SPDX-License-Identifier: GPL-2.0
26 http://xcpu.org/papers/xcpu-talk.pdf
30 http://xcpu.org/papers/cellfs-talk.pdf
33 * VirtFS: A Virtualization Aware File System pass-through
34 https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf
41 mount -t 9p 10.10.1.2 /mnt/9
45 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER
49 mount -t 9p -o trans=virtio <mount_tag> /mnt/9
59 To mount a 9p FS on a USB Host accessible via the gadget at runtime::
61 mount -t 9p -o trans=usbg,aname=/path/to/fs <device> /mnt/9
[all …]
/linux/Documentation/iio/
H A Diio_dmabuf_api.rst1 .. SPDX-License-Identifier: GPL-2.0
4 High-speed DMABUF interface for IIO
11 file-based interface, with read() and write() access calls through the
15 can attach DMABUF objects (externally created) to an IIO buffer, and
20 zero-copy fashion, for instance between IIO and the USB stack.
22 The userspace application can also memory-map the DMABUF objects, and
25 kernel and userspace. This is particularly useful for high-speed devices
27 It does however increase the userspace-kernelspace synchronization
39 Attach the DMABUF object, identified by its file descriptor, to the
/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c1 // SPDX-License-Identifier: GPL-1.0+
3 * Renesas USB driver
13 #include <linux/usb.h>
14 #include <linux/usb/hcd.h>
25 * the pipe will be re-used for each devices.
33 * +--------+
34 * | udev 0 | --> it is used when set address
35 * +--------+
37 * +--------+ pipes are reused for each uep.
38 * | udev 1 |-+- [uep 0 (dcp) ] --+ pipe will be switched when
[all …]
/linux/Documentation/input/joydev/
H A Djoystick.rst3 .. _joystick-doc:
14 linux-input@vger.kernel.org
16 send "subscribe linux-input" to majordomo@vger.kernel.org to subscribe to it.
25 ---------
29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on.
35 ------------
48 ln -s input/js0 js0
49 ln -s input/js1 js1
50 ln -s input/js2 js2
51 ln -s input/js3 js3
[all …]
/linux/tools/testing/selftests/drivers/usb/usbip/
H A Dusbip_test.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Kselftest framework requirement - SKIP code is 4.
7 usage() { echo "usbip_test.sh -b <busid> -p <usbip tools path>"; exit 1; }
25 shift $((OPTIND-1))
27 if [ -z "${busid}" ]; then
31 echo "Running USB over IP Testing on $busid";
33 test_end_msg="End of USB over IP Testing on $busid"
42 if ! /sbin/modprobe -q -n usbip_host; then
48 if /sbin/modprobe -q usbip_host; then
57 if /sbin/modprobe -q vhci_hcd; then
[all …]
/linux/Documentation/driver-api/
H A Dsm501.rst10 which may provide numerous interfaces including USB host controller USB gadget,
15 ----
29 The core re-uses the platform device system as the platform device
31 need to create a new bus-type and the associated code to go with it.
35 ---------
43 as this is by-far the most resource-sensitive of the on-chip functions.
59 -------------
69 There is an errata (AB-5) affecting the selection of the
74 attach if the PLL selection is different.
/linux/drivers/usb/typec/
H A Dclass.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/usb/typec.h>
43 void (*attach)(struct typec_partner *partner, struct device *dev); member
75 * REVISIT: Only USB devices for now. If there are others, these need to
95 #define is_typec_partner(dev) ((dev)->type == &typec_partner_dev_type)
96 #define is_typec_cable(dev) ((dev)->type == &typec_cable_dev_type)
97 #define is_typec_plug(dev) ((dev)->type == &typec_plug_dev_type)
98 #define is_typec_port(dev) ((dev)->type == &typec_port_dev_type)
/linux/drivers/bus/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
37 Driver for the Broadcom Set Top Box System-on-a-chip internal bus
42 bool "Baikal-T1 APB-bus driver"
46 Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs.
53 errors counter. The counter and the APB-bus operations timeout can be
57 bool "Baikal-T1 AXI-bus driver"
61 AXI3-bus is the main communication bus connecting all high-speed
62 peripheral IP-cores with RAM controller and with MIPS P5600 cores on
63 Baikal-T1 SoC. Traffic arbitration is done by means of DW AMBA 3 AXI
96 You can attach many different devices on it, such as NOR, onenand.
[all …]
/linux/drivers/usb/gadget/function/
H A Df_fs.c1 // SPDX-License-Identifier: GPL-2.0+
3 * f_fs.c -- user mode file system API for USB composite function controllers
9 * Copyright (C) 2003-2004 David Brownell
18 #include <linux/dma-buf.h>
19 #include <linux/dma-fence.h>
20 #include <linux/dma-resv.h>
33 #include <linux/usb/ccid.h>
34 #include <linux/usb/composite.h>
35 #include <linux/usb/functionfs.h>
36 #include <linux/usb/func_utils.h>
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-dvb.c1 // SPDX-License-Identifier: GPL-2.0
2 /* dvb-usb-dvb.c is part of the DVB USB library.
4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
5 * see dvb-usb-init.c for copyright information.
8 * linux-dvb API.
10 #include "dvb-usb-common.h"
11 #include <media/media-device.h>
16 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed()
20 return -ENODEV; in dvb_usb_ctrl_feed()
22 if ((adap->active_fe < 0) || in dvb_usb_ctrl_feed()
[all …]
/linux/Documentation/hid/
H A Dhiddev.rst8 In addition to the normal input type HID devices, USB also uses the
14 To support these disparate requirements, the Linux USB system provides
18 normalised event interface - see Documentation/input/input.rst
24 usb.c ---> hid-core.c ----> hid-input.c ----> [keyboard/mouse/joystick/event]
27 --> hiddev.c ----> POWER / MONITOR CONTROL
29 In addition, other subsystems (apart from USB) can potentially feed
36 The hiddev interface is a char interface using the normal USB major,
40 mknod /dev/usb/hiddev0 c 180 96
41 mknod /dev/usb/hiddev1 c 180 97
42 mknod /dev/usb/hiddev2 c 180 98
[all …]

123456