OPEN COM() Problems with Belken USB/Serial adapter...HELP!
OPEN COM() Problems with Belken USB/Serial adapter...HELP!
I just installed a Belkin (F5U109) USB to Serial adapter on my XP laptop which has no serial ports. I assigned it to COM1 in the Device Manager and attempted a Hyper Terminal connection through one of my old Hayes modems. Windows recognized it as a serial port and the connection went off without a hitch. I thought I was all set to go in QB and that QB would also recognize the port. Well that notion was short lived. My COMM programs are kicking back a "DEVICE TIME OUT"- (ERROR CODE 24) on the OPEN COM line. Interestingly enough a short TSR program using "SHELL" & "MODE" returns the port parameters ok (so DOS sees the port) but it also generates an error on the OPEN COM() line. This time I get a "DEVICE FAULT" (ERROR CODE 25). Both are related to time outs.
Is anyone out there using one of these adapters on XP? If so, do you experience the same problems? I've read that XP does not permit direct access to ports, and that even if I had a REAL serial port on this machine I wouldn't be able to access it with an OPEN COM() statement. Is this true? If so, then how do I call this port / adapter? It's listed in the Device Manager as ......................
"Ports (COM & LPT)". The drop down is listed as "Belken Serial On USB Port (COM1)". Both lines display the typical cable plug icon for ports.
Can someone suggest a work around? Do I have to call the device through the Windows API? If so, I don't have a clue as where to start.
Any input will be appreciated.
Thank you,
CDRIVE
Is anyone out there using one of these adapters on XP? If so, do you experience the same problems? I've read that XP does not permit direct access to ports, and that even if I had a REAL serial port on this machine I wouldn't be able to access it with an OPEN COM() statement. Is this true? If so, then how do I call this port / adapter? It's listed in the Device Manager as ......................
"Ports (COM & LPT)". The drop down is listed as "Belken Serial On USB Port (COM1)". Both lines display the typical cable plug icon for ports.
Can someone suggest a work around? Do I have to call the device through the Windows API? If so, I don't have a clue as where to start.
Any input will be appreciated.
Thank you,
CDRIVE
Hi CDRIVE. Don't know if I can help you directly, but maybe I can help google search a solution.
As for me, I've never been able to get any USB device to work under DOS. Other have accomplished it, somehow.
From what I've read, DOS programs can't access a USB port directy without a special drivers - even if the port has an adapter on it. I've found one such driver that seems to work with many devices connected on USB ports, so several people claim. Here's one page - may be worth reading...
http://www.computing.net/dos/wwwboard/forum/13447.html
I don't know how this fits in with XP, as I'm still an XP newbie (die-hard win9x/dos user until recently).
I'll post here again if I have anything worth posting. In the meantime, good luck to you.
- Dav
As for me, I've never been able to get any USB device to work under DOS. Other have accomplished it, somehow.
From what I've read, DOS programs can't access a USB port directy without a special drivers - even if the port has an adapter on it. I've found one such driver that seems to work with many devices connected on USB ports, so several people claim. Here's one page - may be worth reading...
http://www.computing.net/dos/wwwboard/forum/13447.html
I don't know how this fits in with XP, as I'm still an XP newbie (die-hard win9x/dos user until recently).
I'll post here again if I have anything worth posting. In the meantime, good luck to you.
- Dav
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
-
- Coder
- Posts: 45
- Joined: Sun Nov 26, 2006 2:00 pm
- Location: Champaign, Illinois
When I was fooling around with my parallel port, I found a great driver that opens any I/O ports you want called userport. It could help.
sid6.7 wrote:everytime i see your avatar i want to scream and kill it....
-
- Coder
- Posts: 45
- Joined: Sun Nov 26, 2006 2:00 pm
- Location: Champaign, Illinois
Sorry about that. Here it is.
http://www.embeddedtronics.com/design&ideas.html
I'm not sorry about my avatar. The two-legged horse stays!
http://www.embeddedtronics.com/design&ideas.html
I'm not sorry about my avatar. The two-legged horse stays!
sid6.7 wrote:everytime i see your avatar i want to scream and kill it....