On Thu, Sep 8, 2011 at 2:02 PM, James Collins <[email protected]> wrote:
> Hello,
> Trying to use an external speech synthesizer with virtualbox.
> One thing I noticed. When my serial2usb adaptor is connected. And I look in
> /dev on my computer this is listed:
>
> cu.usbserial-FTKVMAFF
>
> But when I try to open my vm, I get an error:
>
> loctl failed for serial host device '/dev/cu.usbserial-FTKVMAFF'
> (VERR_DEV_IO_ERROR). The device will not work properly.
>

I assume that the device node was created automagically by udev or
some other type service running on your mac.

udev makes device nodes like this with specific permissions, and
sometimes they are restrictive because the device node is setup in
such a way that a normal user can not use the device.

Check the perms on the device and see if the user account you run vbox
as can actually read and write to the device node.  If the vbox user
can not use the device node issue a chmod command till the vbox user
can use the device.

You may also have to chown the device to a new owner:group combination.

Once you find a owner:group perm set that works with vbox then you
need to configure udev to always make the file node the "right" way.


> And under details-
>
> Error ID:DrvHostSerialFail
>
> And when I look in /dev cu.usbserial-FTKVMAFF
>
> Is gone?
>
> And my settings for my vm are
>
> Ports-->Serial Ports-->Port 1-->
>
> Enable serial port, checked
> Port mode- host device
> Create pipe, unchecked
> Port/file path: /dev/cu.usbserial-FTKVMAFF
>

Nothing wrong here that I can see.

Just make sure that the usb device that creates the serial port is not
in a vbox usb filter setting.  You want the host to control the usb
device and the guests to access the serial device created on the host.

It will work with box, I have a similar usb-to-serial device and I got
it to work with vbox just fine.  the device you plug into the serial
port really shouldn't matter all that much.

HTH

Rance

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to