VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1801 - 1803 of 16363)

Ticket Resolution Summary Owner Reporter
#1647 obsolete Cannot get USB support to work in OpenSolaris guest Gregg Sporar
Description

VirtualBox 1.6.0 on Windows Vista - using an OpenSolaris 2008.05 guest.

I have been unable to get USB support to work. I plugged in a USB flash drive, started VirtualBox and then created a filter for the flash drive.

I then started the OpenSolaris virtual machine. It sort of looks like VirtualBox sees the USB flash drive, because if I select Devices > USB Devices from the menu of the virtual machine's window, I get a list of four entries:

 Microsoft Basic Optical Mouse
 Unknown device 05CA:183A [0100]
 Generic Flash Disk [0100]
 TouchStrip Fingerprint Sensor [0001]

The third entry, "Generic Flash Disk [0100]" is the only entry that has a check-mark, which I think is what it should have. Further, at this point Windows Vista no longer sees the USB drive, which if I understand the documentation is the correct behavior. In other words, VirtualBox "takes over" the USB device and the host operating system no longer sees it.

Unfortunately, from inside the virtual machine, OpenSolaris does not seem to see the device. It does not get auto-mounted. At a command line in OpenSolaris I typed in:

rmformat -l

and the USB flash drive is not listed (ref: http://mx.opensolaris.org/jive/thread.jspa?threadID=59178). The only thing listed by rmformat is the "VBOX CD-ROM" drive.

#18671 fixed Cannot get real data from serial interface hykwok
Description

I encounter serial port problem in VirtualBox 6.0.8.
It is my testing procedure:

Setup Host environment:

  1. The host system is Windows 7 64 bits.

1.1 Download Virtual COM Port Driver (Standard Demo version) from here: https://www.eltima.com/products/vspdxp/
1.2 Install Virtual COM Port Driver and create a pair of Virtual COM Port (In my case, they are COM2 and COM4)
1.3 Downlaod Putty (Windows version) from here: https://putty.org/

  1. Create Ubuntu 18.04 with Virtual Box 6.0.8

2.1 Create a virtual machine that uses Ubuntu 18.04.
2.2 Enable serial port 1 for this virtual machine and set the "port mode" to "Host Device" and the "path/Address" to one of the above virtual COM port (in my case it is COM2)
2.3 Install putty package:

sudo aptitude install putty
sudo aptitude install putty-tools

  1. Start putty (windows side)and connect to COM4
  1. Start Ubuntu 18.04 and then start putty (Linux side):

sudo putty

  1. Sends 256 bytes data from Windows host to Linux guest by putty application

Now, you should get the data what you have inputted instantly

  1. Close the Linux side's putty but DO NOT close the windows side's putty.
  1. Sends another 256 bytes from Windows host to Linux guest.
  1. Start the Linux side's putty again (sudo putty)
  1. Sends data from Windows host to Linux guest.

Now, you CANNOT get the data what you have inputted instantly.

I find that virtualBox stores 221 bytes old data in the cache. Thus, I have to shutdown the Linux guest (not reboot) to fix the problem.

P.S. This bugs may be realted to #18539

#12029 fixed Cannot get state of running machines via Java web service rshaw
Description

As stated in the title, the function IVirtualBox#getMachineStates is currently unusable over vboxwebsrv. One can iterate over every single machine and get their state one by one but this creates a large number of network calls instead of requesting them all at once. getMachineStates seems to be broken due to a misnaming of enum values. I ran this code against a VirtualBox instance with a single machine that was powered off. Here is my SSCCE.

import java.util.List;
import org.virtualbox_4_2.IMachine;
import org.virtualbox_4_2.IVirtualBox;
import org.virtualbox_4_2.VirtualBoxManager;

public class Main {
	public static void main(String[] args) {
		String url = "http://localhost:18083";
		VirtualBoxManager manager = VirtualBoxManager.createInstance(url);
		manager.connect(url, null, null);
		IVirtualBox vbox = manager.getVBox();
		List<IMachine> machines = vbox.getMachines();
		vbox.getMachineStates(machines);	
	}
}
Exception in thread "main" java.lang.AssertionError: java.lang.reflect.InvocationTargetException
	at org.virtualbox_4_2.Helper.convertEnums(Helper.java:108)
	at org.virtualbox_4_2.IVirtualBox.getMachineStates(IVirtualBox.java:755)
	at Main.main(Main.java:13)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.virtualbox_4_2.Helper.convertEnums(Helper.java:100)
	... 2 more
Caused by: java.lang.IllegalArgumentException: No enum constant org.virtualbox_4_2.MachineState.POWERED_OFF
	at java.lang.Enum.valueOf(Enum.java:236)
	at org.virtualbox_4_2.MachineState.fromValue(MachineState.java:344)
	... 7 more
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy