Re: Difficulty making usb-serial device visible within the guest

2020-08-20 Thread Mark Cave-Ayland
On 20/08/2020 09:15, Gerd Hoffmann wrote: >> With auto-attach disabled this effectively prevents the device from >> attaching to the USB unless the chardev is opened which feels odd. > > Why? It's not needed to connect at boot btw, the device will be > hotplugged if the chardev is opened. Yes,

Re: Difficulty making usb-serial device visible within the guest

2020-08-20 Thread Gerd Hoffmann
Hi, > With auto-attach disabled this effectively prevents the device from > attaching to the USB unless the chardev is opened which feels odd. Why? It's not needed to connect at boot btw, the device will be hotplugged if the chardev is opened. > I would expect that if I add a device to QEMU u

Difficulty making usb-serial device visible within the guest

2020-08-19 Thread Mark Cave-Ayland
Hi all, I've been playing a bit with the usb-serial device recently and found it surprisingly difficult to make it visible within the guest. As an example my first test was to simply plug the device into the guest USB and verify that the drivers could identify the device: $ ./qemu-system-ppc -