Discussion:
[wish-info] Unable to communicate with Powerlinc
r***@anr.net
2006-09-01 22:46:49 UTC
Permalink
I've just installed wish to attempt communication with my X10 stuff and
have run into a problem. Any help is appreciated.

Linux kernel - 2.6.17
wish driver - X10dev-2.1.4
Powerlinc V1.1

The module will load correctly and the pld program will start but no
communication can be sent:

debug messages:

Sep 1 16:11:52 legolas pld[12899]: starting. api-device=/dev/x10/.api,
pidfile=/var/run/x10d.pid
Sep 1 16:11:52 legolas pld[12899]: Successfully opened X10 API device
/dev/x10/.api
Sep 1 16:11:53 legolas pld[12900]: Transmit thread starting
Sep 1 16:11:55 legolas pld[12900]: Connecting to Powerlinc Serial
Interface on /dev/ttyUSB15
Sep 1 16:11:55 legolas pld[12900]: Powerinc version R65 found
Sep 1 16:11:55 legolas pld[12900]: transmitter connected
Sep 1 16:26:05 legolas pld[13218]: starting. api-device=/dev/x10/.api,
pidfile=/var/run/x10d.pid
Sep 1 16:26:05 legolas pld[13218]: Successfully opened X10 API device
/dev/x10/.api
Sep 1 16:26:06 legolas pld[13219]: starting transceiver (pthread_create)
Sep 1 16:26:06 legolas pld[13219]: pthread_crate completed...transceiver
started
Sep 1 16:26:06 legolas pld[13219]: Transmit thread starting
Sep 1 16:26:08 legolas pld[13219]: Connecting to Powerlinc Serial
Interface on /dev/ttyUSB15
Sep 1 16:26:10 legolas pld[13219]: Timeout reading from /dev/ttyUSB15
Sep 1 16:26:10 legolas pld[13219]: got connect message
Sep 1 16:26:10 legolas pld[13219]: transmitter connected
Sep 1 16:26:10 legolas pld[13219]: Waiting for input from API interface
Sep 1 16:26:28 legolas pld[13219]: X10 message: src=0x2, hc=0x1, uc=0x0,
cmd=0x2, f=0x0
Sep 1 16:26:28 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x2
Sep 1 16:26:28 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:26:28 legolas pld[13219]: startup...
Sep 1 16:26:28 legolas pld[13219]: sending 0x2
Sep 1 16:26:28 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:26:32 legolas pld[13219]: unable to communicate with PowerLinc
Transceiver
Sep 1 16:26:32 legolas pld[13219]: Waiting for input from API interface
Sep 1 16:26:37 legolas pld[13219]: X10 message: src=0x2, hc=0x1, uc=0x0,
cmd=0x3, f=0x0
Sep 1 16:26:37 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x3
Sep 1 16:26:37 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:26:37 legolas pld[13219]: startup...
Sep 1 16:26:37 legolas pld[13219]: sending 0x2
Sep 1 16:26:37 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:26:41 legolas pld[13219]: unable to communicate with PowerLinc
Transceiver
Sep 1 16:26:41 legolas pld[13219]: Waiting for input from API interface
Sep 1 16:28:46 legolas pld[13219]: X10 message: src=0x2, hc=0x1, uc=0x0,
cmd=0x2, f=0x0
Sep 1 16:28:46 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x2
Sep 1 16:28:46 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:28:46 legolas pld[13219]: startup...
Sep 1 16:28:46 legolas pld[13219]: sending 0x2
Sep 1 16:28:46 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:28:50 legolas pld[13219]: unable to communicate with PowerLinc
Transceiver
Sep 1 16:28:50 legolas pld[13219]: Waiting for input from API interface
Sep 1 16:29:02 legolas pld[13219]: X10 message: src=0x2, hc=0x1, uc=0x0,
cmd=0x3, f=0x0
Sep 1 16:29:02 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x3
Sep 1 16:29:02 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:29:02 legolas pld[13219]: startup...
Sep 1 16:29:02 legolas pld[13219]: sending 0x2
Sep 1 16:29:02 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:29:06 legolas pld[13219]: unable to communicate with PowerLinc
Transceiver
Sep 1 16:29:06 legolas pld[13219]: Waiting for input from API interface
WSH
2006-09-02 00:10:06 UTC
Permalink
The timeout in establishing communications with the powerlinc is likely due
to timing. Try adding the "-delay 10" flag to plusbd when it is started.

Scott
-----Original Message-----
Sent: Friday, September 01, 2006 6:47 PM
Subject: [wish-info] Unable to communicate with Powerlinc
I've just installed wish to attempt communication with my X10
stuff and
have run into a problem. Any help is appreciated.
Linux kernel - 2.6.17
wish driver - X10dev-2.1.4
Powerlinc V1.1
The module will load correctly and the pld program will start but no
Sep 1 16:11:52 legolas pld[12899]: starting.
api-device=/dev/x10/.api,
pidfile=/var/run/x10d.pid
Sep 1 16:11:52 legolas pld[12899]: Successfully opened X10 API device
/dev/x10/.api
Sep 1 16:11:53 legolas pld[12900]: Transmit thread starting
Sep 1 16:11:55 legolas pld[12900]: Connecting to Powerlinc Serial
Interface on /dev/ttyUSB15
Sep 1 16:11:55 legolas pld[12900]: Powerinc version R65 found
Sep 1 16:11:55 legolas pld[12900]: transmitter connected
Sep 1 16:26:05 legolas pld[13218]: starting.
api-device=/dev/x10/.api,
pidfile=/var/run/x10d.pid
Sep 1 16:26:05 legolas pld[13218]: Successfully opened X10 API device
/dev/x10/.api
Sep 1 16:26:06 legolas pld[13219]: starting transceiver
(pthread_create)
Sep 1 16:26:06 legolas pld[13219]: pthread_crate
completed...transceiver
started
Sep 1 16:26:06 legolas pld[13219]: Transmit thread starting
Sep 1 16:26:08 legolas pld[13219]: Connecting to Powerlinc Serial
Interface on /dev/ttyUSB15
Sep 1 16:26:10 legolas pld[13219]: Timeout reading from /dev/ttyUSB15
Sep 1 16:26:10 legolas pld[13219]: got connect message
Sep 1 16:26:10 legolas pld[13219]: transmitter connected
Sep 1 16:26:10 legolas pld[13219]: Waiting for input from
API interface
Sep 1 16:26:28 legolas pld[13219]: X10 message: src=0x2,
hc=0x1, uc=0x0,
cmd=0x2, f=0x0
Sep 1 16:26:28 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x2
Sep 1 16:26:28 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:26:28 legolas pld[13219]: startup...
Sep 1 16:26:28 legolas pld[13219]: sending 0x2
Sep 1 16:26:28 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:26:32 legolas pld[13219]: unable to communicate
with PowerLinc
Transceiver
Sep 1 16:26:32 legolas pld[13219]: Waiting for input from
API interface
Sep 1 16:26:37 legolas pld[13219]: X10 message: src=0x2,
hc=0x1, uc=0x0,
cmd=0x3, f=0x0
Sep 1 16:26:37 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x3
Sep 1 16:26:37 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:26:37 legolas pld[13219]: startup...
Sep 1 16:26:37 legolas pld[13219]: sending 0x2
Sep 1 16:26:37 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:26:41 legolas pld[13219]: unable to communicate
with PowerLinc
Transceiver
Sep 1 16:26:41 legolas pld[13219]: Waiting for input from
API interface
Sep 1 16:28:46 legolas pld[13219]: X10 message: src=0x2,
hc=0x1, uc=0x0,
cmd=0x2, f=0x0
Sep 1 16:28:46 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x2
Sep 1 16:28:46 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:28:46 legolas pld[13219]: startup...
Sep 1 16:28:46 legolas pld[13219]: sending 0x2
Sep 1 16:28:46 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:28:50 legolas pld[13219]: unable to communicate
with PowerLinc
Transceiver
Sep 1 16:28:50 legolas pld[13219]: Waiting for input from
API interface
Sep 1 16:29:02 legolas pld[13219]: X10 message: src=0x2,
hc=0x1, uc=0x0,
cmd=0x3, f=0x0
Sep 1 16:29:02 legolas pld[13219]: transmit: hc=0x1, uc=0x0, fc=0x3
Sep 1 16:29:02 legolas pld[13219]: sem_wait_timeout: timeout=1000
Sep 1 16:29:02 legolas pld[13219]: startup...
Sep 1 16:29:02 legolas pld[13219]: sending 0x2
Sep 1 16:29:02 legolas pld[13219]: waitforack: timeout 1000
Sep 1 16:29:06 legolas pld[13219]: unable to communicate
with PowerLinc
Transceiver
Sep 1 16:29:06 legolas pld[13219]: Waiting for input from
API interface
--------------------------------------------------------------
-----------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to make
your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
wish-info mailing list
https://lists.sourceforge.net/lists/listinfo/wish-info
Loading...