Skip to contentSkip to conversation

FTDI USB Serial Device as USB Device

Qemu-devel Volkan YAZICI 2 participants 2 messages Oct 23, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

We have a serial temperature device that is connected to the machine via a USB converter. When device gets plugged in, Linux recognizes the device and binds it appropriately.

  # dmesg | less
  usbcore: registered new driver usbhid
  drivers/usb/input/hid-core.c: v2.6:USB HID core driver
  usbcore: registered new driver usbserial
  drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
  usbcore: registered new driver usbserial_generic
  drivers/usb/serial/usb-serial.c: USB Serial Driver core
  drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
  ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected
  drivers/usb/serial/ftdi_sio.c: Detected FT232BM
  usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0
  usbcore: registered new driver ftdi_sio
  drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

But the problem is that this device should have been recognized by the Microsoft Windows (running by qemu) as a USB device. Any kind of help will be really appreciated.

Regards.

P.S. qemu runs with "-usb -usbdevice tablet" options.

#1 lore raw
Quoted 13 lines · Volkan YAZICI, le Thu 23 Oct 2008 13:37:40 +0300, a écrit :

usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

Quoted 2 lines

But the problem is that this device should have been recognized by the Microsoft Windows (running by qemu) as a USB device.

I guess what you want is USB passthrough: -usbdevice host:0403:6001 for instance.

Samuel