serial port in VB
serial port in VB
Goodafternoun:
so, I use linux redhat over vitualbox 2.4.1 over window xp pack 3, so i have the problem of communication via serial port (ttyS0), i cheked my ttyS0 configuration (linux) it seems like COM1 configuatuion(win) i dont undersrand what is the problem i can't change corret data please help me
cordialy
so, I use linux redhat over vitualbox 2.4.1 over window xp pack 3, so i have the problem of communication via serial port (ttyS0), i cheked my ttyS0 configuration (linux) it seems like COM1 configuatuion(win) i dont undersrand what is the problem i can't change corret data please help me
cordialy
Re: serial port in VB
Hi;
my question is :
is there problem with asynchronous communication in VB because I cant exchange correct data with other linux station cordialy
my question is :
is there problem with asynchronous communication in VB because I cant exchange correct data with other linux station cordialy
Re: serial port in VB
Hi..
just like in real live - if you can't / or don't - speak the expected language you won't get a (correct) reply!
Regards,
Zebulon
just like in real live - if you can't / or don't - speak the expected language you won't get a (correct) reply!
Regards,
Zebulon
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: serial port in VB
Have you turned on the serial port in the VBox GUI?ircoms wrote:Hi;
my question is :
is there problem with asynchronous communication in VB because I cant exchange correct data with other linux station cordialy
Have a look at section 3.7.6 of the users manual. It pretty much explains it all.
Re: serial port in VB
yes i Have turned on the serial port in the VBox, I can exchange DATA via the port but not correte
Re: serial port in VB
My problem is I can't exhange correct data between 2 linux pc (one over VB over window)via Serial port i hope that you can undertand me
thanx in advance
thanx in advance
Re: serial port in VB
What exactly is going wrong? are you using proper hw/sw handshaking?
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
Re: serial port in VB
when i try to send file.txt i receve the file in diffrent format for exemple i send
<I'm in linux over VB over windows>
file.txt
"The HylaFAX configuration parameter JobControlCmd specifies the script that is used to apply per-job controls on job characteristics such as the time-of-day to place a call.
The controls program is passed the respective job ID number as the first and only argument.
The controls program should produce a simple line-based ASCII output containing a series of records of the form: "
i reseve <linux>
file.txt
"the h<<u_<àçi_ulùmùmfiguratiojbnb jjks452222222xnbkzkhhjdjhkjkjs......."
i checked it withow VB (lwindows to linux ) it was well i received the good file
thank you
<I'm in linux over VB over windows>
file.txt
"The HylaFAX configuration parameter JobControlCmd specifies the script that is used to apply per-job controls on job characteristics such as the time-of-day to place a call.
The controls program is passed the respective job ID number as the first and only argument.
The controls program should produce a simple line-based ASCII output containing a series of records of the form: "
i reseve <linux>
file.txt
"the h<<u_<àçi_ulùmùmfiguratiojbnb jjks452222222xnbkzkhhjdjhkjkjs......."
i checked it withow VB (lwindows to linux ) it was well i received the good file
thank you
Re: serial port in VB
Speed and/or handshake problem, play with the speed and verify handshake is working.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
Re: serial port in VB
i cheked the speed the parity .... no problem, i think VB don't manage well asyncrous communication as virtal pc
Re: serial port in VB
thank you very much sir i continue searching
-
- Posts: 2
- Joined: 4. Apr 2009, 01:01
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: ReactOS, Windows 7
Re: serial port in VB
I am experiencing similar problems. And I spoke to other people with different configurations and similar problems.
I am using:
- Windows XP host
- VBox 2.1.4
- Virtual serial port: COM1, irq4, 0x3f8, host-pipe, [x]Create pipe
Now I boot up ReactOS, which sends serial debugging information as plain text on COM1.
I can attach a terminal to the created pipe and receive data.
As soon as larger amounts of data are sent quickly, stuff starts to get weird and parts of the data disappear (characters missing).
The described method works flawlessly on qemu and VMWare and with a serial terminal also with real Hw.
I replaced my named pipe terminal with IO Ninja. The results were better, but still characters were missing. Same using putty and connecting directly to the pipe, it was even better but still characters were missing as soon as a lot of text was sent.
Wild guess: the virtual serial port doesn't properly set Line Status Register's Empty Transmitter Holding Register
and the sender puts byte after byte into the virtual UART buffer, not noticing when it's full.
Edit: using a smaller BAUD rate on the guest improves the situation, but even at 9600 BAUD it's not perfect.
I am using:
- Windows XP host
- VBox 2.1.4
- Virtual serial port: COM1, irq4, 0x3f8, host-pipe, [x]Create pipe
Now I boot up ReactOS, which sends serial debugging information as plain text on COM1.
I can attach a terminal to the created pipe and receive data.
As soon as larger amounts of data are sent quickly, stuff starts to get weird and parts of the data disappear (characters missing).
The described method works flawlessly on qemu and VMWare and with a serial terminal also with real Hw.
I replaced my named pipe terminal with IO Ninja. The results were better, but still characters were missing. Same using putty and connecting directly to the pipe, it was even better but still characters were missing as soon as a lot of text was sent.
Wild guess: the virtual serial port doesn't properly set Line Status Register's Empty Transmitter Holding Register
and the sender puts byte after byte into the virtual UART buffer, not noticing when it's full.
Edit: using a smaller BAUD rate on the guest improves the situation, but even at 9600 BAUD it's not perfect.
Re: serial port in VB
Have a look in bugtracker, if its not there please report a bug report on Bugtracker with all the details.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-