Announcement

Collapse
No announcement yet.

Virtualbox and Serial Port (solved)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Virtualbox and Serial Port (solved)

    KDE 3.5 Kubuntu 8.04

    Does anyone know how to get Virtualbox running a guest OS of WinXP to recognize the serial port? I am a relatively inexperienced but enthusiastic Kubuntu user and would appreciate any help anyone could give me on this.

    Bob

    #2
    Re: Virtualbox and Serial Port

    See pages 44 and 45 of the User Manual
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Virtualbox and Serial Port

      thanks Snowhog.

      Comment


        #4
        Re: Virtualbox and Serial Port

        You're welcome. Let us know how it goes.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Virtualbox and Serial Port

          I was able to get the serial port working. I have a data logger program that is written in Windows and requires Windows, Dot Net Framework, and SQL Express, all Microsoft products. I would love to have the program, opensource, ported to Linux but I have no expertise in that area.

          Anyway, the trick seemed to be following the instructions exactly. I don't know if it was necessary or not but everything seemed to start working after I ran.

          Code:
          sudo setserial /dev/ttyS0
          Other than that I used the default settings in Vbox for Com1. I fired up the app in Windows and it started receiving data from the serial cable coming from my solar electric system. You can see the results of the data logging and upload at my website at http://www.bbbrown.com/solar/linux.php

          Even though the program ran and uploaded data it threw an error and stopped working. That is outside the scope of this thread though. The good thing is that it worked as far as logging data through the serial port.

          Comment


            #6
            Re: Virtualbox and Serial Port

            That's a start at least. Manuals - gotta love 'em.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Virtualbox and Serial Port

              Originally posted by Snowhog
              That's a start at least. Manuals - gotta love 'em.
              You are funny Snowhog. You know I had read those parts of the manual but I think what I was doing was setting the app for the wrong Com port. I also had a VNC window open to the machine whose usual duty is to run the logger and at one point I was trying to change the Com port in that window. Of course, the serial cable was now connected to this laptop. A clear indication that one has passed the point of clear thinking and should take a break. Anyway, thanks for your help. You forced me to slow down and go back to the manual step by step.

              Comment

              Working...
              X