Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] usb support in virtualbox
Date: Thu, 26 May 2011 05:44:50
Message-Id: 4DDDEADF.4030308@gmail.com
In Reply to: Re: [gentoo-user] usb support in virtualbox by Valmor de Almeida
1 On 05/25/2011 07:45 PM, Valmor de Almeida wrote:
2 > On 05/25/2011 06:14 PM, Mark Knecht wrote:
3 > [snip]
4 >>>
5 >>> For the record.
6 >>>
7 >>> Tried and it is very nice. The 4.0.6 version with extpack uses the GPL
8 >>> vbox (source).
9 >>>
10 >>> All usb devices on the gentoo host are visible on a Windows7 guest. The
11 >>> problem I am facing now is that the Windows7 virtual machine tries to
12 >>> install drivers for the USB devices and it fails. Not sure what is going
13 >>> on... It may be an issue with USB 1.0 versus 2.0?
14 >>>
15 >>>
16 >>> --
17 >>> Valmor
18 >>
19 >> Hi Valmor,
20 >> Good to know it at least gets you 1 step further in the right direction.
21 >>
22 >> As for Win 7 installing USB drivers is there an option to not
23 >> install it automatically and then you go look for the right driver and
24 >> install it by hand?
25 >>
26 >> One other possibility might be that either Linux or another VM is
27 >> claiming the device and hence it's not responding correctly to the
28 >> driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1
29 >> virtualbox/Win 7. I've noted that I have to be a little careful to
30 >> ensure the VMs don't interfere with each other WRT USB devices.
31 >>
32 >> Good luck figuring it out. Please post back if you find interesting info.
33 >>
34 >> Cheers,
35 >> Mark
36 >>
37 >
38 > I think you are in the right track as far as a race between host and
39 > guest for claiming the device. It is not the driver installation that is
40 > the problem. The driver is installed and Windows7 says it is the latest
41 > driver. The problem is that at the end of the installation W7 tries to
42 > mount/start the device and that is when things do not work. The status
43 > of the device is listed as
44 >
45 > This device cannot start. (Code 10)
46 >
47 > There is quite a bit on the web on the "Code 10" error. Still
48 > investigating...
49 >
50 > fdisk -l on the gentoo host lists the device if the guest is not
51 > running. As soon as the guest boots, the device is not listed by fdisk
52 > -l, this means that things are at least going in the right direction.
53 > The vbox manual says that the device should be hidden from the host once
54 > the guest gets a hold of it.
55 >
56 >
57 >
58 > --
59 > Valmor
60
61 After much digging, no success. Apparently it is an ongoing bug.
62
63 http://bugs.gentoo.org/show_bug.cgi?id=364717
64
65 When virtualbox is installed with the extension USE flag it pulls the
66 oracle extension package and the USB interface on the Virtualbox manager
67 is supposed to present a USB 2.0 box. This does not show up. Therefore
68 it appears that USB 2.0 devices can't start on the VM guest since only
69 USB 1.0 is enabled.
70
71 No luck so far but it is pretty close to be resolved. All USB devices I
72 have tried are identified by the Win7 VM guest and the drivers correctly
73 installed. It is only the startup that fails.
74
75 That is all folks.
76
77 --
78 Valmor

Replies

Subject Author
[UNSOLVED]Re: [gentoo-user] usb support in virtualbox Valmor de Almeida <val.gentoo@×××××.com>