kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* stimulate usb device
@ 2011-04-22 15:57 Prashant Shah
  2011-04-22 16:20 ` Mulyadi Santosa
       [not found] ` <4DB1A759.2060501@googlemail.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Prashant Shah @ 2011-04-22 15:57 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am trying to write a driver for a USB based Data Acquisition Device.
I have limited access to the hardware device and I want to test the
attach and probe calls. Is there anyway to stimulate or create a dummy
USB device so that the kernel can make those calls.

Any information will be helpful.

Regards.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* stimulate usb device
  2011-04-22 15:57 stimulate usb device Prashant Shah
@ 2011-04-22 16:20 ` Mulyadi Santosa
       [not found] ` <4DB1A759.2060501@googlemail.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Mulyadi Santosa @ 2011-04-22 16:20 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Apr 22, 2011 at 22:57, Prashant Shah <pshah.mumbai@gmail.com> wrote:
> Hi,
>
> I am trying to write a driver for a USB based Data Acquisition Device.
> I have limited access to the hardware device and I want to test the
> attach and probe calls. Is there anyway to stimulate or create a dummy
> USB device so that the kernel can make those calls.

try to check USB emulation provided in KVM/Qemu... maybe that fits your need...


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* stimulate usb device
       [not found] ` <4DB1A759.2060501@googlemail.com>
@ 2011-04-22 16:20   ` Prashant Shah
  0 siblings, 0 replies; 3+ messages in thread
From: Prashant Shah @ 2011-04-22 16:20 UTC (permalink / raw)
  To: kernelnewbies

> Yes you just call this functions from another module. Just make sure you
> exported the functions.
>
> greetings mosta

Sounds good. Thanks a lot :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-22 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-22 15:57 stimulate usb device Prashant Shah
2011-04-22 16:20 ` Mulyadi Santosa
     [not found] ` <4DB1A759.2060501@googlemail.com>
2011-04-22 16:20   ` Prashant Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).