public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* can't get usb_add to work with kvm 33.
@ 2007-07-30 14:26 Andreas Jellinghaus
  2007-07-31 10:22 ` Andreas Jellinghaus
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Jellinghaus @ 2007-07-30 14:26 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I'm using linux 2.6.22.1 with kvm 33, and tried to "usb_add host:1.4"
a device ( a smart card reader ), hoping that it would show up in the
guest and my app could use it via /proc/bus/usb/ like I can do on the
host. my guest is a debian 4.0 ("etch") installation with the debian
standard kernel.

But this doesn't work for me:
(qemu) info usbhost
  Device 3.2, speed 1.5 Mb/s
    Class 00: USB device 0d3d:0001, USBPS2
  Device 1.3, speed 480 Mb/s
    Hub: USB device 04b4:6560
  Device 1.5, speed 1.5 Mb/s
    Vendor Specific: USB device 0973:0001, SchlumbergerSema Cryptoflex
e-gate
(qemu) usb_add host:1.5
(qemu) info usb
  Device 0.0, Speed 1.5 Mb/s, Product SchlumbergerSema Cryptoflex e-g

but no device shows up on the guest.

is this kind of usb bridge supported in kvm?
does it work for you? with kvm version are you using?
using a special guest kernel?
should a normal kernel with no special compile options or patches work as
well?

thanks for your help.

Regards, Andreas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

* Re: can't get usb_add to work with kvm 33.
  2007-07-30 14:26 can't get usb_add to work with kvm 33 Andreas Jellinghaus
@ 2007-07-31 10:22 ` Andreas Jellinghaus
  2007-07-31 11:35   ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Jellinghaus @ 2007-07-31 10:22 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

follow up: works fine when I run qemu with -usbdevice host:1.5
but adding it while running with usb_add in the qemu console does
not work. shall I file a bug for this or something?

Andreas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

* Re: can't get usb_add to work with kvm 33.
  2007-07-31 10:22 ` Andreas Jellinghaus
@ 2007-07-31 11:35   ` Avi Kivity
       [not found]     ` <46AF1E7D.4080503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Avi Kivity @ 2007-07-31 11:35 UTC (permalink / raw)
  To: Andreas Jellinghaus; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andreas Jellinghaus wrote:
> follow up: works fine when I run qemu with -usbdevice host:1.5
> but adding it while running with usb_add in the qemu console does
> not work. shall I file a bug for this or something?
>   

Does it work with -no-kvm?  With plain qemu 0.9.0?  With qemu-cvs?



-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

* Re: can't get usb_add to work with kvm 33. [u]
       [not found]     ` <46AF1E7D.4080503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-08-01  9:49       ` Andreas Jellinghaus [c]
  2007-08-01 11:27       ` Andreas Jellinghaus [c]
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Jellinghaus [c] @ 2007-08-01  9:49 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Am Dienstag, 31. Juli 2007 schrieb Avi Kivity:
> Andreas Jellinghaus wrote:
> > follow up: works fine when I run qemu with -usbdevice host:1.5
> > but adding it while running with usb_add in the qemu console does
> > not work. shall I file a bug for this or something?
>
> Does it work with -no-kvm?  With plain qemu 0.9.0?  With qemu-cvs?

sorry, linux guest kernel crashes with "-no-kvm" and the installation has
no support for serial console so far. I could create a screenshot
from vnc, but it would be very partial at the best. shall I try?

will try qemu later.

Andreas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

* Re: can't get usb_add to work with kvm 33. [u]
       [not found]     ` <46AF1E7D.4080503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  2007-08-01  9:49       ` can't get usb_add to work with kvm 33. [u] Andreas Jellinghaus [c]
@ 2007-08-01 11:27       ` Andreas Jellinghaus [c]
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Jellinghaus [c] @ 2007-08-01 11:27 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Am Dienstag, 31. Juli 2007 schrieb Avi Kivity:
> Andreas Jellinghaus wrote:
> > follow up: works fine when I run qemu with -usbdevice host:1.5
> > but adding it while running with usb_add in the qemu console does
> > not work. shall I file a bug for this or something?
>
> Does it work with -no-kvm?  With plain qemu 0.9.0?  With qemu-cvs?

same problem with plain qemu 0.9.0. sorry for the noise, will take
the problem there.

Andreas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

end of thread, other threads:[~2007-08-01 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 14:26 can't get usb_add to work with kvm 33 Andreas Jellinghaus
2007-07-31 10:22 ` Andreas Jellinghaus
2007-07-31 11:35   ` Avi Kivity
     [not found]     ` <46AF1E7D.4080503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-01  9:49       ` can't get usb_add to work with kvm 33. [u] Andreas Jellinghaus [c]
2007-08-01 11:27       ` Andreas Jellinghaus [c]

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox