Page 1 of 1

Garbage Data after Power Failure

PostPosted: Fri Aug 21, 2015 12:04 pm
by gottsman
We lost power (on/off/on/off/on) at the house a few nights ago and the AD2USB hasn't worked quite right since then. It was previously flawless.

I tried to telnet into ser2sock and get garbage data even after resetting the alarm panel and unplugging/plugging the USB cable.

Here is the data output... Is the device fried? I tried recreating on a new VM and it has the same garbage output. It doesn't respond to the "!" character either.

Code: Select all
[kevin@homeserver ~]$ telnet localhost 10000
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
!SER2SOCK Connected
!SER2SOCK SERIAL_CONNECTED

1
?
 1
?
 1
?
 1
?
 1'?
    1'?
       1'?
          1'?
             1*?,
                 1*?,
                     1*?,
                         1*?,
                             1
?
 1
?
 1
?
 1
?
 1'?
    1'?
       1'?
          1'?
             1*?,
                 1*?,
                     1*?,
                         1*?,
^]
  1
?
 1
?


-- Kevin

Re: Garbage Data after Power Failure

PostPosted: Fri Aug 21, 2015 12:08 pm
by kevin
Ok, you can test the device directly without ser2sock - but do make sure ser2sock is configured for the correct baudrate of 115200

Stop ser2sock service (sudo /etc/init.d/ser2sock stop) or kill -9 the process id

Connect to device directly with screen: screen <device> 115200
where device is depending on the type of ad2 you have - for ad2pi /dev/ttyAMA0, for ad2usb typically /dev/ttyUSB0

If it is still spitting out garbage at the correct baud rate, then it is likely something damaged your equipment.

Re: Garbage Data after Power Failure

PostPosted: Fri Aug 21, 2015 12:31 pm
by gottsman
Same garbage output.... I will plug it into my laptop instead of the ESXi host to verify just in case.

My Aeon zwave stick is not acting right either, but the USB boot key is fine. Kinda weird.

I guess I am off to Amazon to buy a UPS.

-- Kevin

Re: Garbage Data after Power Failure

PostPosted: Fri Aug 21, 2015 1:47 pm
by kevin
Well, if it is truly dead - you can email ad2usb@support.nutech.com and we can see about doing an RMA - depending on how old the ad2usb is and how long you've had it, we are happy to cover it.

http://www.alarmdecoder.com/catalog/shipping.php

Re: Garbage Data after Power Failure

PostPosted: Fri Aug 21, 2015 5:59 pm
by gottsman
Thanks for your help and the offer for RMA. I plugged into my Windows laptop/Putty and it worked right away. Must be an issue with the USB layer in VMWare. Off to do additional troubleshooting...

-- Kevin