0

Is there any simulation environment that allows to run and test Linux based USB device application on host machine running Linux?

Also same thing for Linux based USB host side applications where one can run and test Linux based host applications with physical/virtual USB devices.

Regards, Mooni

Paul R
  • 208,748
  • 37
  • 389
  • 560
Mooni
  • 31
  • 1
  • 3
  • You can't just copy what would be on the USB device to a bootable image and use something like QEMU? Perhaps I'm not fully understanding your question .. but I have great success with QEMU or Simics (Simics when I really heed debugging and its absent in the OS). – Tim Post Feb 16 '10 at 10:04

1 Answers1

0

Are you asking if it's possible to use a general purpose PC to simulate a USB device? If so, no, the hardware on, say, your motherboard is not physically capable (in almost all cases) of emulating a USB client device.

dannysauer
  • 3,793
  • 1
  • 23
  • 30
  • Firstly it is not possible to simulate my custom USB device in PC System emulation mode. Secondly QEMU does not provide emulation for any platform with USB function controller which means it is not possible even in non PC emulation of QEMU. – Mooni Feb 17 '10 at 11:30