Author Topic: Need Help to set up a DSC alarm panel using PC5401 module.  (Read 8063 times)

bugui

  • Veteran
  • ***
  • Posts: 70
    • View Profile
Hello,
I used Linuxmce as Media Center at home for one year, and I love this software. Linuxmce realy rocks!!!.
Also have a SPA3102 and a cisco 7970 and this is working perfect, now I want more fun.

I recently I get a DSC PC5401 (module for my DSC alarm panel) but now I stuck trying to get it work.
The module is connected to the DSC and it is operating normally, but for some reason when I configure the module via the linuxmce admin page it doesn't run.

I found using minicom, that there is no data incomming at COM1 /dev/ttyS0 but if I plug a windows machine with hyperterminal I see that date comming from this module. I'm think that this issue maybe is related with the COM ports configuration at my hybrid/core.

Is there some previous steps in order to get it work? Is Linuxmce turning off the COM1 when it didn't detect the module?

I have a Asus M2NPV-VM as my hybrid core.
I need some help from you.

Thanks in advance
Sorry by my english
Hernan

bugui

  • Veteran
  • ***
  • Posts: 70
    • View Profile
Re: Need Help to set up a DSC alarm panel using PC5401 module.
« Reply #1 on: May 08, 2009, 05:03:35 am »
Hello again,
I see at the Generic_Serial_Device.log that it can't startup the device.
Is this an error in the ruby code?

dcerouter_102332:/var/log/pluto# cat 135_Generic_Serial_Device.log
== ATTEMPT FRESH START ==
1       05/07/09 22:55:54       /usr/pluto/bin/Spawn_Device.sh 135 (spawning-device)    1893 Dev: 135; Already Running list: 15,16,17,76,18,28,29,20,36,21,22,25,24,40,111,
== FRESH START ==
1       05/07/09 22:55:54       /usr/pluto/bin/Spawn_Device.sh 135 (spawning-device)    device: 135 ip: localhost cmd_line: Generic_Serial_Device
0       05/07/09 22:55:54       135 (spawning-device)   Entering 135
========== NEW LOG SECTION ==========
1       05/07/09 22:55:54       135 (spawning-device)   Starting... 1
1       05/07/09 22:55:54       135 (spawning-device)   Found /usr/pluto/bin/Generic_Serial_Device
05      05/07/09 22:55:55.013           Connection for client socket reported NEED RELOAD IP=127.0.0.1, device 135 last error 2 <0x2b330776e6d0>
05      05/07/09 22:55:55.013           The router must be reloaded before this device is fully functional <0x2b330776e6d0>
05      05/07/09 22:55:55.015           void ClientSocket::Disconnect() on this socket: 0x676200 (m_Socket: 5) <0x2b330776e6d0>
05      05/07/09 22:55:55.023           Connection for client socket reported NEED RELOAD IP=127.0.0.1, device 135 last error 2 <0x2b330776e6d0>
05      05/07/09 22:55:55.027           Running without DeviceData, will try to add device <0x42003950>
01      05/07/09 22:55:55.065           GSD Port is not specified. Instantiating non-IO Wrapper. <0x42003950>
141:01  05/07/09 22:55:55.308           Error while calling method: Cannot call class method: cmd_355
error: undefined method `log' for #<Device_135:0x2aaaaaadf730>, line: 110
backtrace:
        in: (eval): 110
        from (eval):110:in `cmd_355'
 <0x42804950>
05      05/07/09 22:56:14.671           Got a reload command from 0  <0x42003950>
05      05/07/09 22:56:15.005           void ClientSocket::Disconnect() on this socket: 0x673b60 (m_Socket: 8) <0x2b330776e6d0>
Return code: 2
2       05/07/09 22:56:15       135 (spawning-device)   Device requests restart... count=1/50 dev=135
2       05/07/09 22:56:15       135 (spawning-device)   Device was disabled or removed. Stopping and marking as not running.


Thanks in advance
Best regards.
Hernan

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Need Help to set up a DSC alarm panel using PC5401 module.
« Reply #2 on: May 08, 2009, 11:31:16 am »
It seems you're missing "log" method definition...

Regards,

bulek.
Thanks in advance,

regards,

Bulek.

bugui

  • Veteran
  • ***
  • Posts: 70
    • View Profile
Re: Need Help to set up a DSC alarm panel using PC5401 module.
« Reply #3 on: October 04, 2011, 01:08:52 pm »
Hi, I get integrate a PC5401 module and LinuxMCE.
I'm using a 1832 alarm panel of DSC.
It's works!!!

I will upload the changes that i did in the Power5020 template. in a couple of days.

Regards.
Bugui

twodogs

  • Guru
  • ****
  • Posts: 224
    • View Profile
Re: Need Help to set up a DSC alarm panel using PC5401 module.
« Reply #4 on: November 03, 2011, 10:20:43 pm »
This is very interesting. Might be the only available working security system? Vista-ICM is supported but no longer sold (also rare on eBay). Caddx has potential but no one has made it work AFAIK. Is DSC the way to go?
http://greenrenovation.wordpress.com/home-automation/
system:
ASUS P5N7A-VM
integrated GeForce 9300
E5200 processor
Fusion 5 lite HDTV card
2G RAM
SYBA SY-PCI15001 6-port serial card
Denon AVR 3805
LG 42" Plasma
Gyration GYR3101
Cisco SPA3102 analog telephone adapter
Cisco 7971G IP phone/orbiter

bugui

  • Veteran
  • ***
  • Posts: 70
    • View Profile
Re: Need Help to set up a DSC alarm panel using PC5401 module.
« Reply #5 on: November 09, 2011, 07:47:00 am »
Yes, I think that DSC is the way until now.
It still has some issues specially with PNP (because we need to work with). I installed a new 10.04 in order to buid a new device template and run more tests.
It's working fine, the issue that I got, arrise (for some reason) when you need to run "a quick reload router" (DSCRouter loose communication w/ the module) It can't bring back if you just resetting the module.
But If you reboot core and it cames online again.

I think that is PNP again, and it's kind of failure is identical as you can see on 0810 with PLCBUS, because of that I think that is a problem w/ generic serial devices and PNP.
I will need a little bit of help in order to finish the integration. I mean, I'm not a programmer.

Bugui