OLD | NEW |
1 <h1>USB Devices</h1> | 1 <h1>USB Devices</h1> |
2 | 2 |
3 <p> | 3 <p> |
4 This document describes how to use the <a href="usb.html">USB API</a> to communi
cate | 4 This document describes how to use the <a href="usb">USB API</a> to communicate |
5 with USB devices. Some devices are not accessible through the USB API | 5 with USB devices. Some devices are not accessible through the USB API |
6 (see the <a href="#caveats">Caveats</a> section below for details). | 6 (see the <a href="#caveats">Caveats</a> section below for details). |
7 Chrome Apps can also connect to <a href="serial.html">serial</a> and | 7 Chrome Apps can also connect to <a href="serial">serial</a> and |
8 <a href="bluetooth.html">Bluetooth</a> devices. | 8 <a href="bluetooth">Bluetooth</a> devices. |
9 </p> | 9 </p> |
10 | 10 |
11 <p class="note"> | 11 <p class="note"> |
12 <b>Samples:</b> For examples that illustrate how Chrome Apps can connect to hard
ware devices, see the | 12 <b>Samples:</b> For examples that illustrate how Chrome Apps can connect to hard
ware devices, see the |
13 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/serial">
serial</a>, | 13 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/serial">
serial</a>, |
14 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/servo">s
ervo</a>, | 14 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/servo">s
ervo</a>, |
15 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/usb">usb
</a>, and | 15 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/usb">usb
</a>, and |
16 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/zephyr_h
xm">zephyr_hxm | 16 <a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/zephyr_h
xm">zephyr_hxm |
17 Bluetooth</a> samples. | 17 Bluetooth</a> samples. |
18 </p> | 18 </p> |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 owned by group "plugdev" and have group write permissions. | 665 owned by group "plugdev" and have group write permissions. |
666 </li> | 666 </li> |
667 </ul> | 667 </ul> |
668 | 668 |
669 <p>Your app cannot do this automatically since this this procedure requires root | 669 <p>Your app cannot do this automatically since this this procedure requires root |
670 access. We recommend that you provide instructions to end-users and link to the | 670 access. We recommend that you provide instructions to end-users and link to the |
671 <a href="#caveats">Caveats</a> section on this page for an explanation.</p> | 671 <a href="#caveats">Caveats</a> section on this page for an explanation.</p> |
672 | 672 |
673 <p>On Chrome OS, simply call $(ref:usb.requestAccess). The permission | 673 <p>On Chrome OS, simply call $(ref:usb.requestAccess). The permission |
674 broker does this for you.</p> | 674 broker does this for you.</p> |
OLD | NEW |