On 04.01.2018 14:26, Samuel Thibault wrote: > Hello, > > I'm afraid I can't even work out how to replace -usbdevice braille (or > -usbdevice serial, all questions below apply, except making chardev > default to braille): > > ... -usbdevice braille > > -usbdevice braille: '-usbdevice' is deprecated, please use '-device usb-...' > instead > > but -device usb-serial is not actually documented in the manual page > (same for usb-keyboard, usb-tablet, etc. for instance I can't find in > the manpage anything about replacement for -usbdevice host:nnnn:nnnn)
As mentioned in my other mail, it's in the qemu-doc here: https://qemu.weilnetz.de/doc/qemu-doc.html#usb_005fdevices > But then > > ... -usb -device usb-braille > > -device usb-braille: Property chardev is required > > that used to be a default, could we keep it a default when using > -device? Hardly anybody would want to use usb-braille with something > else than chardev braille. I think it's more common to not do any magic default setup with "-device", but if you think this should be the case here, it can certainly be added again (not with this patch here, though, since this is a separate issue). > ... -usb -device usb-braille,chardev=braille > > -device usb-serial,chardev=braille: Property 'usb-serial.chardev' can't find > value 'braille' > > Uh? It seems there is a parsing issue here? Chardevs have to be specified with the "-chardev" parameter: ... -usb -device usb-braille,chardev=br0 -chardev braille,id=br0 HTH, Thomas