qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1263318] [NEW] Cannot add a USB 2.0 device under QEMU when running eudev
@ 2013-12-21 11:32 Francesco Turco
  2013-12-21 11:36 ` [Qemu-devel] [Bug 1263318] " Francesco Turco
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Francesco Turco @ 2013-12-21 11:32 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hello.

I have a USB webcam I'm using under QEMU (version 1.6.1). The guest is
Windows 7 (32-bit) while the host is Gentoo Linux (64-bit). I have been
using it for several weeks without any problem, but now it doesn't work
any more. I have been able to pinpoint the cause: it is because I
switched from udev-208 to eudev-1.3 (which is based on udev-207).

These are the command line options for QEMU:

qemu-system-i386 -cpu host -m 1G -k it -drive
file=Windows_7.qcow2,media=disk,index=0 -vga std -net nic -net user
-enable-kvm -display sdl -soundhw ac97 -device usb-ehci,id=ehci -usb
-rtc base=localtime -usbdevice tablet

The relevant options are -device usb-ehci,id=ehci -usb. That is, I'm
enabling both USB 2.0 (EHCI) and USB 1.1 (UHCI). I manually add the
webcam using: device_add usb-host,hostbus=x,hostaddr=y,id=webcam but if
I do so when running eudev it gets added as a slow USB 1.1 1.5 Mb/s
device:

(qemu) info usb
  [...]
  Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

I also noticed that the "info usbhost" command works differently now, in
that it doesn't display any more a description, such as the brand name
(Creative):

(qemu) info usbhost
  [...]
  Bus 1, Addr 3, Port 3, Speed 480 Mb/s
  Class ef: USB device 041e:4088

>From the host system:

$ lsusb  | grep Creative
Bus 001 Device 003: ID 041e:4088 Creative Technology, Ltd Live! Cam Chat HD [VF0700]

If I turn back to udev I get the following results instead:

(qemu) info usb
  [...]
  Device 1.1, Port 1, Speed 480 Mb/s, Product VF0700 Live! Cam Chat HD

(qemu) info usbhost
  [...]
  Bus 1, Addr 2, Port 4, Speed 480 Mb/s
  Class ef: USB device 041e:4088, VF0700 Live! Cam Chat HD

I don't know if this is a problem with QEMU or with eudev, so I'm also
going to report this bug on the Gentoo Bugzilla (eudev is a Gentoo
project).

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: eudev udev usb

** Bug watch added: Gentoo Bugzilla #494946
   https://bugs.gentoo.org/show_bug.cgi?id=494946

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1263318

Title:
  Cannot add a USB 2.0 device under QEMU when running eudev

Status in QEMU:
  New

Bug description:
  Hello.

  I have a USB webcam I'm using under QEMU (version 1.6.1). The guest is
  Windows 7 (32-bit) while the host is Gentoo Linux (64-bit). I have
  been using it for several weeks without any problem, but now it
  doesn't work any more. I have been able to pinpoint the cause: it is
  because I switched from udev-208 to eudev-1.3 (which is based on
  udev-207).

  These are the command line options for QEMU:

  qemu-system-i386 -cpu host -m 1G -k it -drive
  file=Windows_7.qcow2,media=disk,index=0 -vga std -net nic -net user
  -enable-kvm -display sdl -soundhw ac97 -device usb-ehci,id=ehci -usb
  -rtc base=localtime -usbdevice tablet

  The relevant options are -device usb-ehci,id=ehci -usb. That is, I'm
  enabling both USB 2.0 (EHCI) and USB 1.1 (UHCI). I manually add the
  webcam using: device_add usb-host,hostbus=x,hostaddr=y,id=webcam but
  if I do so when running eudev it gets added as a slow USB 1.1 1.5 Mb/s
  device:

  (qemu) info usb
    [...]
    Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

  I also noticed that the "info usbhost" command works differently now,
  in that it doesn't display any more a description, such as the brand
  name (Creative):

  (qemu) info usbhost
    [...]
    Bus 1, Addr 3, Port 3, Speed 480 Mb/s
    Class ef: USB device 041e:4088

  From the host system:

  $ lsusb  | grep Creative
  Bus 001 Device 003: ID 041e:4088 Creative Technology, Ltd Live! Cam Chat HD [VF0700]

  If I turn back to udev I get the following results instead:

  (qemu) info usb
    [...]
    Device 1.1, Port 1, Speed 480 Mb/s, Product VF0700 Live! Cam Chat HD

  (qemu) info usbhost
    [...]
    Bus 1, Addr 2, Port 4, Speed 480 Mb/s
    Class ef: USB device 041e:4088, VF0700 Live! Cam Chat HD

  I don't know if this is a problem with QEMU or with eudev, so I'm also
  going to report this bug on the Gentoo Bugzilla (eudev is a Gentoo
  project).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1263318/+subscriptions

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

* [Qemu-devel] [Bug 1263318] Re: Cannot add a USB 2.0 device under QEMU when running eudev
  2013-12-21 11:32 [Qemu-devel] [Bug 1263318] [NEW] Cannot add a USB 2.0 device under QEMU when running eudev Francesco Turco
@ 2013-12-21 11:36 ` Francesco Turco
  2014-01-20 14:03 ` Francesco Turco
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Francesco Turco @ 2013-12-21 11:36 UTC (permalink / raw)
  To: qemu-devel

Please also see https://bugs.gentoo.org/show_bug.cgi?id=494946

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1263318

Title:
  Cannot add a USB 2.0 device under QEMU when running eudev

Status in QEMU:
  New

Bug description:
  Hello.

  I have a USB webcam I'm using under QEMU (version 1.6.1). The guest is
  Windows 7 (32-bit) while the host is Gentoo Linux (64-bit). I have
  been using it for several weeks without any problem, but now it
  doesn't work any more. I have been able to pinpoint the cause: it is
  because I switched from udev-208 to eudev-1.3 (which is based on
  udev-207).

  These are the command line options for QEMU:

  qemu-system-i386 -cpu host -m 1G -k it -drive
  file=Windows_7.qcow2,media=disk,index=0 -vga std -net nic -net user
  -enable-kvm -display sdl -soundhw ac97 -device usb-ehci,id=ehci -usb
  -rtc base=localtime -usbdevice tablet

  The relevant options are -device usb-ehci,id=ehci -usb. That is, I'm
  enabling both USB 2.0 (EHCI) and USB 1.1 (UHCI). I manually add the
  webcam using: device_add usb-host,hostbus=x,hostaddr=y,id=webcam but
  if I do so when running eudev it gets added as a slow USB 1.1 1.5 Mb/s
  device:

  (qemu) info usb
    [...]
    Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

  I also noticed that the "info usbhost" command works differently now,
  in that it doesn't display any more a description, such as the brand
  name (Creative):

  (qemu) info usbhost
    [...]
    Bus 1, Addr 3, Port 3, Speed 480 Mb/s
    Class ef: USB device 041e:4088

  From the host system:

  $ lsusb  | grep Creative
  Bus 001 Device 003: ID 041e:4088 Creative Technology, Ltd Live! Cam Chat HD [VF0700]

  If I turn back to udev I get the following results instead:

  (qemu) info usb
    [...]
    Device 1.1, Port 1, Speed 480 Mb/s, Product VF0700 Live! Cam Chat HD

  (qemu) info usbhost
    [...]
    Bus 1, Addr 2, Port 4, Speed 480 Mb/s
    Class ef: USB device 041e:4088, VF0700 Live! Cam Chat HD

  I don't know if this is a problem with QEMU or with eudev, so I'm also
  going to report this bug on the Gentoo Bugzilla (eudev is a Gentoo
  project).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1263318/+subscriptions

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

* [Qemu-devel] [Bug 1263318] Re: Cannot add a USB 2.0 device under QEMU when running eudev
  2013-12-21 11:32 [Qemu-devel] [Bug 1263318] [NEW] Cannot add a USB 2.0 device under QEMU when running eudev Francesco Turco
  2013-12-21 11:36 ` [Qemu-devel] [Bug 1263318] " Francesco Turco
@ 2014-01-20 14:03 ` Francesco Turco
  2014-01-26 10:11 ` Francesco Turco
  2014-01-26 16:42 ` Serge Hallyn
  3 siblings, 0 replies; 5+ messages in thread
From: Francesco Turco @ 2014-01-20 14:03 UTC (permalink / raw)
  To: qemu-devel

I just tried with eudev-1.4, but I get the same problem as with version
1.3.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1263318

Title:
  Cannot add a USB 2.0 device under QEMU when running eudev

Status in QEMU:
  New

Bug description:
  Hello.

  I have a USB webcam I'm using under QEMU (version 1.6.1). The guest is
  Windows 7 (32-bit) while the host is Gentoo Linux (64-bit). I have
  been using it for several weeks without any problem, but now it
  doesn't work any more. I have been able to pinpoint the cause: it is
  because I switched from udev-208 to eudev-1.3 (which is based on
  udev-207).

  These are the command line options for QEMU:

  qemu-system-i386 -cpu host -m 1G -k it -drive
  file=Windows_7.qcow2,media=disk,index=0 -vga std -net nic -net user
  -enable-kvm -display sdl -soundhw ac97 -device usb-ehci,id=ehci -usb
  -rtc base=localtime -usbdevice tablet

  The relevant options are -device usb-ehci,id=ehci -usb. That is, I'm
  enabling both USB 2.0 (EHCI) and USB 1.1 (UHCI). I manually add the
  webcam using: device_add usb-host,hostbus=x,hostaddr=y,id=webcam but
  if I do so when running eudev it gets added as a slow USB 1.1 1.5 Mb/s
  device:

  (qemu) info usb
    [...]
    Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

  I also noticed that the "info usbhost" command works differently now,
  in that it doesn't display any more a description, such as the brand
  name (Creative):

  (qemu) info usbhost
    [...]
    Bus 1, Addr 3, Port 3, Speed 480 Mb/s
    Class ef: USB device 041e:4088

  From the host system:

  $ lsusb  | grep Creative
  Bus 001 Device 003: ID 041e:4088 Creative Technology, Ltd Live! Cam Chat HD [VF0700]

  If I turn back to udev I get the following results instead:

  (qemu) info usb
    [...]
    Device 1.1, Port 1, Speed 480 Mb/s, Product VF0700 Live! Cam Chat HD

  (qemu) info usbhost
    [...]
    Bus 1, Addr 2, Port 4, Speed 480 Mb/s
    Class ef: USB device 041e:4088, VF0700 Live! Cam Chat HD

  I don't know if this is a problem with QEMU or with eudev, so I'm also
  going to report this bug on the Gentoo Bugzilla (eudev is a Gentoo
  project).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1263318/+subscriptions

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

* [Qemu-devel] [Bug 1263318] Re: Cannot add a USB 2.0 device under QEMU when running eudev
  2013-12-21 11:32 [Qemu-devel] [Bug 1263318] [NEW] Cannot add a USB 2.0 device under QEMU when running eudev Francesco Turco
  2013-12-21 11:36 ` [Qemu-devel] [Bug 1263318] " Francesco Turco
  2014-01-20 14:03 ` Francesco Turco
@ 2014-01-26 10:11 ` Francesco Turco
  2014-01-26 16:42 ` Serge Hallyn
  3 siblings, 0 replies; 5+ messages in thread
From: Francesco Turco @ 2014-01-26 10:11 UTC (permalink / raw)
  To: qemu-devel

The bug has been fixed. It had nothing to do with QEMU. The problem was
that eudev didn't ship a file with rules for USB devices. See
https://bugs.gentoo.org/show_bug.cgi?id=499236 for detais. Sorry for the
noise.

** Bug watch added: Gentoo Bugzilla #499236
   https://bugs.gentoo.org/show_bug.cgi?id=499236

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1263318

Title:
  Cannot add a USB 2.0 device under QEMU when running eudev

Status in QEMU:
  New

Bug description:
  Hello.

  I have a USB webcam I'm using under QEMU (version 1.6.1). The guest is
  Windows 7 (32-bit) while the host is Gentoo Linux (64-bit). I have
  been using it for several weeks without any problem, but now it
  doesn't work any more. I have been able to pinpoint the cause: it is
  because I switched from udev-208 to eudev-1.3 (which is based on
  udev-207).

  These are the command line options for QEMU:

  qemu-system-i386 -cpu host -m 1G -k it -drive
  file=Windows_7.qcow2,media=disk,index=0 -vga std -net nic -net user
  -enable-kvm -display sdl -soundhw ac97 -device usb-ehci,id=ehci -usb
  -rtc base=localtime -usbdevice tablet

  The relevant options are -device usb-ehci,id=ehci -usb. That is, I'm
  enabling both USB 2.0 (EHCI) and USB 1.1 (UHCI). I manually add the
  webcam using: device_add usb-host,hostbus=x,hostaddr=y,id=webcam but
  if I do so when running eudev it gets added as a slow USB 1.1 1.5 Mb/s
  device:

  (qemu) info usb
    [...]
    Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

  I also noticed that the "info usbhost" command works differently now,
  in that it doesn't display any more a description, such as the brand
  name (Creative):

  (qemu) info usbhost
    [...]
    Bus 1, Addr 3, Port 3, Speed 480 Mb/s
    Class ef: USB device 041e:4088

  From the host system:

  $ lsusb  | grep Creative
  Bus 001 Device 003: ID 041e:4088 Creative Technology, Ltd Live! Cam Chat HD [VF0700]

  If I turn back to udev I get the following results instead:

  (qemu) info usb
    [...]
    Device 1.1, Port 1, Speed 480 Mb/s, Product VF0700 Live! Cam Chat HD

  (qemu) info usbhost
    [...]
    Bus 1, Addr 2, Port 4, Speed 480 Mb/s
    Class ef: USB device 041e:4088, VF0700 Live! Cam Chat HD

  I don't know if this is a problem with QEMU or with eudev, so I'm also
  going to report this bug on the Gentoo Bugzilla (eudev is a Gentoo
  project).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1263318/+subscriptions

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

* [Qemu-devel] [Bug 1263318] Re: Cannot add a USB 2.0 device under QEMU when running eudev
  2013-12-21 11:32 [Qemu-devel] [Bug 1263318] [NEW] Cannot add a USB 2.0 device under QEMU when running eudev Francesco Turco
                   ` (2 preceding siblings ...)
  2014-01-26 10:11 ` Francesco Turco
@ 2014-01-26 16:42 ` Serge Hallyn
  3 siblings, 0 replies; 5+ messages in thread
From: Serge Hallyn @ 2014-01-26 16:42 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1263318

Title:
  Cannot add a USB 2.0 device under QEMU when running eudev

Status in QEMU:
  Invalid

Bug description:
  Hello.

  I have a USB webcam I'm using under QEMU (version 1.6.1). The guest is
  Windows 7 (32-bit) while the host is Gentoo Linux (64-bit). I have
  been using it for several weeks without any problem, but now it
  doesn't work any more. I have been able to pinpoint the cause: it is
  because I switched from udev-208 to eudev-1.3 (which is based on
  udev-207).

  These are the command line options for QEMU:

  qemu-system-i386 -cpu host -m 1G -k it -drive
  file=Windows_7.qcow2,media=disk,index=0 -vga std -net nic -net user
  -enable-kvm -display sdl -soundhw ac97 -device usb-ehci,id=ehci -usb
  -rtc base=localtime -usbdevice tablet

  The relevant options are -device usb-ehci,id=ehci -usb. That is, I'm
  enabling both USB 2.0 (EHCI) and USB 1.1 (UHCI). I manually add the
  webcam using: device_add usb-host,hostbus=x,hostaddr=y,id=webcam but
  if I do so when running eudev it gets added as a slow USB 1.1 1.5 Mb/s
  device:

  (qemu) info usb
    [...]
    Device 1.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

  I also noticed that the "info usbhost" command works differently now,
  in that it doesn't display any more a description, such as the brand
  name (Creative):

  (qemu) info usbhost
    [...]
    Bus 1, Addr 3, Port 3, Speed 480 Mb/s
    Class ef: USB device 041e:4088

  From the host system:

  $ lsusb  | grep Creative
  Bus 001 Device 003: ID 041e:4088 Creative Technology, Ltd Live! Cam Chat HD [VF0700]

  If I turn back to udev I get the following results instead:

  (qemu) info usb
    [...]
    Device 1.1, Port 1, Speed 480 Mb/s, Product VF0700 Live! Cam Chat HD

  (qemu) info usbhost
    [...]
    Bus 1, Addr 2, Port 4, Speed 480 Mb/s
    Class ef: USB device 041e:4088, VF0700 Live! Cam Chat HD

  I don't know if this is a problem with QEMU or with eudev, so I'm also
  going to report this bug on the Gentoo Bugzilla (eudev is a Gentoo
  project).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1263318/+subscriptions

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

end of thread, other threads:[~2014-01-26 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 11:32 [Qemu-devel] [Bug 1263318] [NEW] Cannot add a USB 2.0 device under QEMU when running eudev Francesco Turco
2013-12-21 11:36 ` [Qemu-devel] [Bug 1263318] " Francesco Turco
2014-01-20 14:03 ` Francesco Turco
2014-01-26 10:11 ` Francesco Turco
2014-01-26 16:42 ` Serge Hallyn

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).