Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Can't open COM port
Can't open COM port
I have been using EG for a couple of weeks and everything has been fine. I just started experiencing a problem with my COM port. I get two errors when EG starts.
Error Starting Plugin: Serial Port
Can't open COM port
I know that the COM port does work, if I use it with my receiver application, it controls my receiver. When I disconnect that application so EG can have access, EG won't control my receiver. Restarting the computer and immediately loading EG doesn't work either. Always the same error. I can launch the Yamaha app and get control every time.
Any ideas?
Error Starting Plugin: Serial Port
Can't open COM port
I know that the COM port does work, if I use it with my receiver application, it controls my receiver. When I disconnect that application so EG can have access, EG won't control my receiver. Restarting the computer and immediately loading EG doesn't work either. Always the same error. I can launch the Yamaha app and get control every time.
Any ideas?
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Did you try HyperTerminal for example to get successful access to the port? Currently it simply looks like some other application is blocking the port or your user account has not enough rights to access it.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
I agree, that is what it looks like. I do login as administrator, and my Yamaha application does work with the COM port. If the Yamaha were to keep running after an exit, EG doesn't work after a reboot. If something in startup accessed the COM port, then the Yamaha application wouldn't run.
I can try the HyperTerminal suggestion, but am not sure what to do.
I actually have many errors on EG startup. Perhaps another error is causing this one. Here is my entire startup log.
Welcome to EventGhost
Plugin: X10: SnapStream FireFly
Exclusive enable a folder/macro
Error in Action: "Exclusive enable a folder/macro"
Traceback (most recent call last) (975):
TypeError:_call_() takes exactly 2 arguments (1 given)
Plugin: Task Create/Switch Events
Plugin: Serial Port
Traceback (most recent call last) (975):
File "C:\Program Files\EventGhost\plugins\Serial\_init_.py", line 100, in_start_
File "C:\Program Files\EventGhost\eg\WinAPI\serial\serialutil.py", line 156 in_init_
File "C:\Program Files\EventGhost\eg\WinAPI\serial\serialwin32.py", line 55, in open
SerialException: could not open port: (5, 'CreateFile', 'Access is denied.')
Error starting plugin: Serial Port
Can't open COM port
Plugin: Serial Port #2
Serial Port 1 (COM1) is onboard.
Serial Port 2 (COM3) is a Belkin USB dongle, it works.
I realize after typing this, that COM1 and COM3 often conflict. I disabled the Belkin and EG now sees Serial 1. I am having a problem trying to get them both to work together. At least I know where to go to fix the problem.
What are the other errors?
The exclusive plugin seems to work even though I get errors.
I can try the HyperTerminal suggestion, but am not sure what to do.
I actually have many errors on EG startup. Perhaps another error is causing this one. Here is my entire startup log.
Welcome to EventGhost
Plugin: X10: SnapStream FireFly
Exclusive enable a folder/macro
Error in Action: "Exclusive enable a folder/macro"
Traceback (most recent call last) (975):
TypeError:_call_() takes exactly 2 arguments (1 given)
Plugin: Task Create/Switch Events
Plugin: Serial Port
Traceback (most recent call last) (975):
File "C:\Program Files\EventGhost\plugins\Serial\_init_.py", line 100, in_start_
File "C:\Program Files\EventGhost\eg\WinAPI\serial\serialutil.py", line 156 in_init_
File "C:\Program Files\EventGhost\eg\WinAPI\serial\serialwin32.py", line 55, in open
SerialException: could not open port: (5, 'CreateFile', 'Access is denied.')
Error starting plugin: Serial Port
Can't open COM port
Plugin: Serial Port #2
Serial Port 1 (COM1) is onboard.
Serial Port 2 (COM3) is a Belkin USB dongle, it works.
I realize after typing this, that COM1 and COM3 often conflict. I disabled the Belkin and EG now sees Serial 1. I am having a problem trying to get them both to work together. At least I know where to go to fix the problem.
What are the other errors?
The exclusive plugin seems to work even though I get errors.
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
I would try to assign the usb-dongle to COM2 (if you don't have a real COM2 on your motherboard) or to assign it to a higher COM number like 5.
The "Exclusive enable a folder/macro" error seems to be a relict from a very old configuration session. It seems to have no target (or the root target that is useless). So I guess you can remove it.
The "Exclusive enable a folder/macro" error seems to be a relict from a very old configuration session. It seems to have no target (or the root target that is useless). So I guess you can remove it.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
No matter what port I set the USB dongle to, it works in EG. The built in COM port only seems to work in EG if the USB dongle is disabled. COM1 works in the Yamaha application irregardless of what the USB device is set to, and works when it is enabled or disabled.
Something is being a bit finicky. The only other thing I can think of doing is disabling the built in COM port and get another USB dongle. I'm out of ideas.
Something is being a bit finicky. The only other thing I can think of doing is disabling the built in COM port and get another USB dongle. I'm out of ideas.
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
My best guess is no.
http://www.linux-usb.org/USB-guide/x555.html
I am using this adapter.
http://catalog.belkin.com/IWCatProductP ... t_Id=91042
http://www.linux-usb.org/USB-guide/x555.html
I am using this adapter.
http://catalog.belkin.com/IWCatProductP ... t_Id=91042
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
To my experience nearly all USB-RS232 adapters are crap. The worst are the Prolific based ones. The Philips chipset of the Belkin is new to me. The only chipsets I really can recommend are the FT232 family from FTDI.
But since most resellers don't advertise the name of the chipset they are hard to find. Best way is to download their driver and look inside the .INI if you find any references to "FTDI".
But since most resellers don't advertise the name of the chipset they are hard to find. Best way is to download their driver and look inside the .INI if you find any references to "FTDI".
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!