people have got the message now
[azarus.ch.git] / posts / 2017-09-03-new-qemu-usb-syntax.html
blob8d99c9bbb3b459d40157df19bf74ed64ed7c2238
1 <!DOCTYPE html>
2 <html lang="en">
3 <meta charset="utf-8">
4 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <link rel="stylesheet" href="../style.css" type="text/css">
6 <link rel="icon" type="image/png" href="icon.png">
7 <title>New QEMU USB syntax</title>
8 <body>
9 <h1>azarus' page</h1>
10 <h2>New QEMU USB syntax</h2>
11 <p>Date: 2017-09-03</p>
12 <p>I've upgraded from QEMU 2.9.0 to 2.10.0, and noticed that my USB passthrough
13 wasn't working anymore, so I had to change the parameters. The syntax is quite
14 confusing, so I'll document it here.</p>
15 <p>Take, for example, this nice, and simple, legacy syntax:<p>
16 <pre>-usbdevice host:05ac:0205</pre>
17 <p>to change that into the new [-device usb-...] syntax, it turns into:</p>
18 <pre>-device usb-host,vendorid='0x05ac',productid='0x0205'</pre>
19 <p>This really threw me off at first, because of the `0x` you have to prepend
20 before the vendorid and productid parameters.</p>
21 <p>Hope this help for people that upgrade to 2.10.</p>
22 <footer>
23 <hr>
24 <p>Unless otherwise noted, this content is <a href="https://creativecommons.org/publicdomain/zero/1.0/">
25 publicly licensed (CC0)</a>.</p>
26 <p>This website is served by the <a href="https://man.openbsd.org/httpd">httpd</a> daemon, running on OpenBSD 6.3.</p>
27 </footer>
28 </body>
29 </html>