Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Actually, I had already tried the method suggested by @TevoD and running <strong>lsusb</strong> did show that the FTDI usb device was recognized within Virtualbox, however, I kept getting avrdude failure.</p> <p>Finally the solution was found in <a href="https://forums.virtualbox.org/viewtopic.php?f=3&amp;t=50171" rel="nofollow">this post</a> at the Virtualbox forum. That did solve the problem, and I can now use Arduino IDE (or avrdude in general, from command-line), from within my Crunchbang 'Waldorf' guestVM (a Debain based super-light distro) -- running on Windows 7 Professional 64-bit host.</p> <p>Since that link might go away some day, or might get behind an authentication scheme, the key steps are:</p> <ol> <li><p>Change the COM port number of the FTDI USB-serial port, assigned by default. This is typically needed because Virtualbox has some issues dealing with COM port number in double-digits (e.g. COM11, COM23 etc. aren't liked, but COM1-COM9 is okay). To make this change, you need to ensure that the FTDI USB-serial device hasn't been claimed and attached to Virtualbox guestVM, i.e. perform the step with guestVM shutdown. Via Win7 Device-Manager > Ports > COMxy (where 'xy' is default port#), select 'Advanced Settings' and then change the COM port no. to be a free one between 1-9.</p></li> <li><p>Next, in the Virtualbox console, change the guestVM properties, and enable Serial Port settings, i.e. let the FTDI USB-serial converter be seen as a serial-port in the guestVM, not as a USB device. So internally the serial-port driver is used in Linux, not the usb-serial (FTDI driver). So if the COM port# is 2, we set the port as COM2, set mode to Host-Device, and the path/file to "COM2:" (don't forget the trailing colon, but of course, without the "" marks).</p></li> </ol> <p>Restart the VM and I also had to restart the host, and then you are good to go.</p> <p>However, if this method doesn't work -- it didn't work on my Netbook. This <a href="http://www.arvydas.co.uk/2011/02/forwarding-usb-devices-on-oracle-virtualbox/" rel="nofollow">alternative method described here</a> does work. Of course, it requires the proprietary USB 2.0 EHCI support delivered via the optional "Extension Pack" to be installed.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload