| ECS Home Automation and Security Archives |
| Subject: From: Date: | RE: [ecs] update to 2.3.07 Rob Hicks Sat, 18 Oct 2003 06:52:21 -0600 |
Sat, 18 Oct 2003 06:52:21 -0600 Mark, I'm continuing to look into the problem. My distribution (RH9) uses ttyS0 for COM1 and ttyS1 for COM2. Does ECS set the speed or the configuration on the port before using it? My TC+ is on COM1. On reboot, the parameters of /dev/ttyS0 show that it is running at 38400, 8 bits, no parity bit, 1 stop bit (8N1). I have been unable to see where in the startup config files the port parameters are being set, if at all, or for that matter, whether the kernel is loading the necessary modules to support serial communications. With older kernels, a serial module had to be explicitly loaded. When I run lsmod, I don't see a serial module. But when I run setserial (setserial -gv /dev/ttyS0), I see the following, which looks okay: /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3 And when I run statserial, I see the following, which also looks okay: Signal Pin Pin Direction Status Full Name (25) (9) (computer) Name ----- --- --- --------- ------ ----- FG 1 - - - Frame Ground TxD 2 3 out - Transmit Data RxD 3 2 in - Receive Data RTS 4 7 out 1 Request To Send CTS 5 8 in 0 Clear To Send DSR 6 6 in 0 Data Set Ready GND 7 5 - - Signal Ground DCD 8 1 in 0 Data Carrier Detect DTR 20 4 out 1 Data Terminal Ready RI 22 9 in 0 Ring Indicator I went out to find a piece of serial monitoring software and found moni (http://www.rolf-schroedter.de/moni/moni.html). I'm trying to get it installed now to see if I can see anything going across the port. I'll let you know. Rob -----Original Message----- From: Mark Gilmore [mailto:mark@markgilmore.net] Sent: Saturday, October 18, 2003 6:30 AM To: ecs@netbloc.com Subject: RE: [ecs] update to 2.3.07 Those are the device names I am using (/dev/ttsyS0 corresponding to COM1). And I think you're right. But if so, is there something I should do on my end ? Or can /dev/ttsyS0 be linked/"redirected" to the proper name ? At 10:47 PM 10/17/2003 -0700, you wrote: >Under Linux, the serial ports are usually named /dev/ttyS0, /dev/ttyS1 >etc. I'm not sure if ECS translates that. Even if it does, your Linux >distribution may use a different naming convention, and ECS may be >looking for the wrong device to open? > >On Fri, 2003-10-17 at 06:25, Mark Gilmore wrote: > > Hi Rob, > > I suspect some kind of a HW issue > > (as this same call is made for numerous other devices). > > Can you access COM1 using *any* other software ? > > > > At 07:10 AM 10/17/2003 -0600, you wrote: > > > > >Mark, > > > > > >I finally had a chance to try ECS Linux. > > > > > >I got it up but can't connect to my Time Commander Plus. It complains: > > > > > >10/17 06:58:24 Construct TCPlus Interface > > >10/17 06:58:24 TCPlus Interface: ERROR:tcsetattr err on COM1 (err > > >#5:Input/output error) > > >10/17 06:58:24 ERROR:TCPlus Interface: tcsetattr err on COM1 (err > > >#5:Input/output error) > > > > > >I know the TC+ is on COM1. Is there something that I need to do to enable > > >the port or to set the speed. > > > > > >BTW, it is much easier to access ECS from Windows using IE. And it is much > > >faster than Mozilla on Linux. > > > > > >Regards, > > >Rob Hicks > > > > > >-----Original Message----- > > >From: Mark Gilmore [mailto:mark@markgilmore.net] > > >Sent: Friday, October 10, 2003 6:04 AM > > >To: ecs@netbloc.com > > >Subject: RE: [ecs] update to 2.3.07 > > > > > >Here ya go: > > > > > >To install: > > > 1) Login to Linux as root. > > > > > > 2) Enter: > > > mkdir /ecs > > > > > > 3) Download http://OmnipotenceSoftware.com/ecs linux.zip to /ecs > > > > > > 4) Enter: > > > cd /ecs > > > unzip ecs linux > > > chmod +x *.bin > > > chmod +x *.sh > > > Note: I'm not sure what you enter here to make these files > > >executable > > > by *all* users (vs root only). > > > > > > 5) Copy your existing main.cfg to /ecs (if desired). > > > > > >To run ecs, enter: > > > ecs.bin > > > > > >To access ecs via your browser (Mozilla and Firebird are the only ones I > > >recommend for now): > > > 1) Enter "/ecs/ips.htm" at the URL prompt > > > (I would bookmark this link or make it your home page) > > > 2) Click the "127.../login" link > > > 3) Enter "owner" at the password prompt (leave name blank). > > > > > >If you see only blank boxes where applets should be displayed: > > > 1) Install the SUN JRE: > > > > > >http://www.java.com/en/download/help/linux install.jsp#self-extracting > > > 2) Register JAVA plugins with Mozilla: > > > http://java.sun.com/j2se/1.4.2/manual install linux.html > > > Read CLOSELY and be VERY careful with these instructions ! > > > This is NOT point and click :-). > > > > > >At 07:06 PM 10/9/2003 -0600, you wrote: > > > > > > >Mark, > > > > > > > >I downloaded ECS-Linux but don't remember if you provided > instructions for > > > >setting it up. I wanted to give it a try tonight. > > > > > > > >Rob Hicks > > > >rob.hicks@comcast.net > > > > > > > >-----Original Message----- > > > >From: Mark Gilmore [mailto:mark@markgilmore.net] > > > >Sent: Thursday, October 09, 2003 7:00 PM > > > >To: ecs@netbloc.com > > > >Subject: [ecs] update to 2.3.07 > > > > > > > >I'm currently uploading an enhancement whereby all java menus use > > > >fix lengths for all selections (for a *much* cleaner appearance). > > > >http://OmnipotenceSoftware.com/ECS SETUP.EXE should be ready for > > > >download by 9:30/EST. > > > >Feedback welcome. > > > > > > > >Mark Gilmore > > > >http://OmnipotenceSoftware.com > > > > > > > > > > > > > > > >--- > > > >Incoming mail is certified Virus Free. > > > >Checked by AVG anti-virus system (http://www.grisoft.com). > > > >Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 > > > > > >Mark Gilmore > > >http://OmnipotenceSoftware.com > > > > > > > > > > > >--- > > >Incoming mail is certified Virus Free. > > >Checked by AVG anti-virus system (http://www.grisoft.com). > > >Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 > > > > Mark Gilmore > > http://OmnipotenceSoftware.com > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003 Mark Gilmore http://OmnipotenceSoftware.com