qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thisara Rupasinghe <thisarattr@gmail.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Emulate character device
Date: Tue, 24 Aug 2010 15:47:42 +0530	[thread overview]
Message-ID: <AANLkTiknpyzssPA0iCGYk3v-Z2c2Au+bgOUR3p-9n=RP@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikGdn=BvzWpOVVLoKyX=aHzePx2OBeweG=Ma3fa@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

Thank you Stefan,
I will work on this.

Thanks for the support.

On Tue, Aug 24, 2010 at 2:43 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:

> On Tue, Aug 24, 2010 at 10:02 AM, Thisara Rupasinghe
> <thisarattr@gmail.com> wrote:
> > Thank you very much for your information.
> >
> > That means i can pass web cam as usb device into the emulator. right?
> > If you can give me some directions, that will be very helpful.
>
> Please keep qemu-devel@nongnu.org CCed so others can help too.
>
> Passing a USB webcam into the Android guest would work if the Android
> OS has the required USB webcam driver.  You could check the Android
> source tree or ask the developers to understand what webcam drivers
> are available.
>
> QEMU USB passthrough works like this:
> $ qemu -usb -usbdevice host:VVVV:DDDD
>
> Where VVVV is the vendor ID and DDDD is the product ID of the device.
> You can find these using lsusb(1) on the host.  For example:
> $ lsusb
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
> Bus 006 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
>
> If I want to pass through the keyboard, I use -usbdevice host:413c:2003.
>
> I haven't tested these steps, it's been a while since I used USB
> passthrough.  For a full guide, try:
> http://bitbud.com/2008/08/09/usb-device-passthrough-under-kvm/
>
> Stefan
>



-- 
Thanks & Regards,
Thisara.

[-- Attachment #2: Type: text/html, Size: 2167 bytes --]

      reply	other threads:[~2010-08-24 10:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24  5:04 [Qemu-devel] Emulate character device Thisara Rupasinghe
2010-08-24  7:16 ` Stefan Hajnoczi
     [not found]   ` <AANLkTikNMtjAk4P01ro7rxN_unB_RP3MxMm3x_9ezAD2@mail.gmail.com>
2010-08-24  9:13     ` Stefan Hajnoczi
2010-08-24 10:17       ` Thisara Rupasinghe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTiknpyzssPA0iCGYk3v-Z2c2Au+bgOUR3p-9n=RP@mail.gmail.com' \
    --to=thisarattr@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).