Hi, On 17/01/2008, Samuel Thibault <[EMAIL PROTECTED]> wrote: > andrzej zaborowski, le Thu 17 Jan 2008 23:25:04 +0100, a écrit : > > Thanks, committed although I hoped for something that lets easily test > > that the adapter works, e.g. so that after a usb_add serial:...:stdio > > you can do cat /dev/ttyXXXN in the guest and see what's being typed on > > qemu's stdin. I got the device detected without problems but Linux > > didn't create any new serial ports.
Sorry, that was a user error (mine), I had been using the generic usb-serial.ko driver instead of the FTDI specific one. Now it indeed works like a charm. > > Oh? That's odd, I've no problem here, /dev/ttyUSB0 appears like a charm > and cat & echo work fine. We should probably use another product ID by > default, which would be more widely automatically recognized. Here is a > patch. Thanks, I applied the patch even though the old values worked ok too. If they were better for some reason please tell. I also added a chr_close callback for -serial stdio so that I can do usb_add serial::stdio, then usb_del and usb_add serial::stdio again without getting an error on opening "stdio". Cheers