USB device communication issues (Ubuntu 10.04, Parallels 6)

Discussion in 'Linux Virtual Machine' started by RobertPalmer, Sep 20, 2010.

  1. RobertPalmer

    RobertPalmer Bit poster

    Messages:
    2
    Host OS - OS X 10.6.4
    Guest OS - Ubuntu 10.04
    Parallels 6

    I am a hardware developer and have a board that is using an FTDI 232R USB to Serial chip. When I plug in the board, I get the selection for connecting to the Host or Guest OS and I select Guest (Ubuntu). It appears as /dev/ttyUSB0

    I am using an application that tries to talk to the board. This application does not work correctly when I try to talk to the device directly by configuring the app to use /dev/ttyUSB0 as the serial port. However, in trying to identify the problem, I came across a program 'interceptty' to capture the traffic in both directions. When I started using this, everything started working. After some testing, I've discovered that using /dev/ttyUSB0 directly fails and using 'interceptty' works fairly consistently. Interceptty sets up the following:

    new virtual serial device /dev/pts/4

    App <---> /dev/pts/4 <--- interceptty ---> /dev/ttyUSB0

    This app works fine in a non-VM environment. Any ideas on why there would be this issue?
     
  2. DannyS

    DannyS Bit poster

    Messages:
    2
    Issues still exist

    I'm using Ubuntu 11.10 and Parallels 7 for Mac. The issue appears to continue. However, I discovered using mini com that the ttyUSB is readable (ie. you can see the output of the serial device) but I'm unable to write to it.
     
  3. DannyS

    DannyS Bit poster

    Messages:
    2
    Issue resolved.

    Once I disabled hardware flow control, it worked fine!
     

Share This Page