File: usbip-setup-server.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (34 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="usbip-setup-server">
  <title>Setting up USB/IP Support on a Linux System</title>
  
  <body>
    <p>This section gives a brief overview on how to set up a Linux based system to act as a USB device server. The
      system on the server requires that the <filepath>usbip-core.ko</filepath> and <filepath>usbip-host.ko</filepath>
      kernel drivers are available, and that the USB/IP tools package is installed. The particular installation method
      for the necessary tools depends on which distribution is used. For example, for Debian based systems, use the
      following command to install the required tools: </p>
    <pre xml:space="preserve">$ apt-get install usbip-utils</pre>
    <p>To check whether the necessary tools are already installed use the following command: </p>
    <pre xml:space="preserve">$ usbip list -l
      </pre>
    <p>This should produce output similar to that shown in the example below: </p>
    <pre xml:space="preserve"> - busid 4-2 (0bda:0301)
   Realtek Semiconductor Corp. : multicard reader (0bda:0301)

 - busid 5-1 (046d:c52b)
   Logitech, Inc. : Unifying Receiver (046d:c52b)
      </pre>
    <p>If everything is installed, the USB/IP server needs to be started as <codeph>root</codeph> using the following
      command: </p>
    <pre xml:space="preserve"># usbipd -D</pre>
    <p>See the documentation for the installed distribution to determine how to start the service when the system boots. </p>
    <p>By default, no device on the server is exported. This must be done manually for each device. To export a device
      use the following command: </p>
    <pre xml:space="preserve"># usbip bind -b "bus identifier"</pre>
    <p>To export the multicard reader in the previous example: </p>
    <pre xml:space="preserve"># usbip bind -b 4-2</pre>
  </body>
  
</topic>