j***@srjava.cjb.net
2007-03-01 05:26:15 UTC
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I installed wish on my ubuntu box, and have a strange problem. Every
time I reboot, the /dev/x10 directory disappears, and I have to re
make/make install to get it to reappear. Once I re-compile, it works
fine, I can send commands, etc no prob, but when I restart the box, the
folder disappears and I get this error when trying to start the daemon:<br>
<br>
<tt>pld opening /dev/x10/.api for API<br>
Error: Unable to open device /dev/x10/.api (No such file or directory)<br>
</tt><br>
Am I doing something really stupid or what's the deal? (I've included
the terminal output to show what I'm talking about at the bottom of
this email)<br>
<br>
My setup:<br>
Ubuntu 2.6.17-10-server <br>
Serial Powerlinc II (1132B) connected with a Prolific PL2303X
USB-to-Serial converter<br>
<br>
A couple other things:<br>
<br>
1) In order to compile/install on Ubuntu, I had to install the kernel
headers package:<br>
<br>
<tt>apt-get install linux-headers-`uname -r`</tt><br>
<br>
I was getting this error when attempting to make: <br>
<pre><tt>make: *** /lib/modules/2.6.17-10-server/build: No such file or directory. Stop.</tt></pre>
Maybe you could add that to the FAQ's or something so others might have
it there if the kernel headers aren't installed by default on their
distro?<br>
<font color="#000000"><br>
2) I have a powerlinc II serial, and the manual start commands on the
webpage are wrong. You have the daemon name wrong. It's listed as
/usr/sbin/pl and should be /usr/sbin/pl<b>d</b><br>
Page is: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wish.sourceforge.net/index2.html#Installation">http://wish.sourceforge.net/index2.html#Installation</a><br>
<br>
modprobe x10<br>
/usr/sbin/pld -device /dev/ttyS0<br>
/usr/sbin/x10logd <br>
</font><br>
<br>
-Scott J<br>
--------------------------------------------<br>
Here's the terminal output showing what I mean that the /dev/x10 folder
seems to go missing on me with every reboot:<br>
--------------------------------------------<br>
<tt><br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
modprobe x10<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
/usr/sbin/pld -device /dev/ttyUSB0
-debug<br>
pld, debug turned on<br>
OK...let's start<br>
pld opening /dev/x10/.api for API<br>
Error: Unable to open device /dev/x10/.api (No such file or directory)<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
ls /dev/x10<br>
-bash: cd: /dev/x10: No such file or directory<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
ls<br>
CREDITS dev html kernel-patches Makefile scripts<br>
daemons example_scripts INSTALL License.txt RCS utils<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
make<br>
(cd daemons; make)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/daemons'<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/daemons'<br>
(cd utils; make)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/utils'<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/utils'<br>
(cd dev; ./make.sh)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/dev'<br>
make -C /lib/modules/2.6.17-10-server/build
SUBDIRS=/usr/src/x10dev-2.1.5/dev modules<br>
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-10-server'<br>
scripts/Makefile.build:56: kbuild: /usr/src/x10dev-2.1.5/dev/Makefile -
Usage of O_TARGET := x10.ko is obsolete in 2.6. Please fix!<br>
Building modules, stage 2.<br>
MODPOST<br>
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-10-server'<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/dev'<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
make install<br>
sh ./scripts/install.sh<br>
cp -f daemons/*d /usr/sbin/<br>
cp -f utils/x10logd /usr/sbin/<br>
cp -f utils/x10watch /usr/bin/<br>
cp -f utils/nbread /usr/bin/<br>
cp -f utils/nbecho /usr/bin/<br>
sh ./scripts/makedev.sh<br>
Creating X10 devices in /dev/x10 with data_major=120 and
control_major=121<br>
(cd dev; ./make.sh install)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/dev'<br>
mkdir -p /lib/modules/2.6.17-10-server/kernel/drivers/char/x10<br>
cp -f x10.ko /lib/modules/2.6.17-10-server/kernel/drivers/char/x10<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/dev'<br>
depmod<br>
***@owfs:/dev/x10# /usr/sbin/pld -device /dev/ttyUSB0 -debug<br>
pld, debug turned on<br>
OK...let's start<br>
pld opening /dev/x10/.api for API<br>
pld starting<br>
device=/dev/x10/.api<br>
pidfile=/var/run/x10d.pid<br>
logtag=pld<br>
X10 message: src=0x4, hc=0x0, uc=0x0, cmd=0x2, f=0x0<br>
***@owfs:/dev/x10#</tt><br>
<br>
<br>
<br>
</body>
</html>
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I installed wish on my ubuntu box, and have a strange problem. Every
time I reboot, the /dev/x10 directory disappears, and I have to re
make/make install to get it to reappear. Once I re-compile, it works
fine, I can send commands, etc no prob, but when I restart the box, the
folder disappears and I get this error when trying to start the daemon:<br>
<br>
<tt>pld opening /dev/x10/.api for API<br>
Error: Unable to open device /dev/x10/.api (No such file or directory)<br>
</tt><br>
Am I doing something really stupid or what's the deal? (I've included
the terminal output to show what I'm talking about at the bottom of
this email)<br>
<br>
My setup:<br>
Ubuntu 2.6.17-10-server <br>
Serial Powerlinc II (1132B) connected with a Prolific PL2303X
USB-to-Serial converter<br>
<br>
A couple other things:<br>
<br>
1) In order to compile/install on Ubuntu, I had to install the kernel
headers package:<br>
<br>
<tt>apt-get install linux-headers-`uname -r`</tt><br>
<br>
I was getting this error when attempting to make: <br>
<pre><tt>make: *** /lib/modules/2.6.17-10-server/build: No such file or directory. Stop.</tt></pre>
Maybe you could add that to the FAQ's or something so others might have
it there if the kernel headers aren't installed by default on their
distro?<br>
<font color="#000000"><br>
2) I have a powerlinc II serial, and the manual start commands on the
webpage are wrong. You have the daemon name wrong. It's listed as
/usr/sbin/pl and should be /usr/sbin/pl<b>d</b><br>
Page is: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wish.sourceforge.net/index2.html#Installation">http://wish.sourceforge.net/index2.html#Installation</a><br>
<br>
modprobe x10<br>
/usr/sbin/pld -device /dev/ttyS0<br>
/usr/sbin/x10logd <br>
</font><br>
<br>
-Scott J<br>
--------------------------------------------<br>
Here's the terminal output showing what I mean that the /dev/x10 folder
seems to go missing on me with every reboot:<br>
--------------------------------------------<br>
<tt><br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
modprobe x10<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
/usr/sbin/pld -device /dev/ttyUSB0
-debug<br>
pld, debug turned on<br>
OK...let's start<br>
pld opening /dev/x10/.api for API<br>
Error: Unable to open device /dev/x10/.api (No such file or directory)<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
ls /dev/x10<br>
-bash: cd: /dev/x10: No such file or directory<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
ls<br>
CREDITS dev html kernel-patches Makefile scripts<br>
daemons example_scripts INSTALL License.txt RCS utils<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
make<br>
(cd daemons; make)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/daemons'<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/daemons'<br>
(cd utils; make)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/utils'<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/utils'<br>
(cd dev; ./make.sh)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/dev'<br>
make -C /lib/modules/2.6.17-10-server/build
SUBDIRS=/usr/src/x10dev-2.1.5/dev modules<br>
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-10-server'<br>
scripts/Makefile.build:56: kbuild: /usr/src/x10dev-2.1.5/dev/Makefile -
Usage of O_TARGET := x10.ko is obsolete in 2.6. Please fix!<br>
Building modules, stage 2.<br>
MODPOST<br>
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-10-server'<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/dev'<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:***@owfs:/usr/src/x10dev-2.1.5#">***@owfs:/usr/src/x10dev-2.1.5#</a>
make install<br>
sh ./scripts/install.sh<br>
cp -f daemons/*d /usr/sbin/<br>
cp -f utils/x10logd /usr/sbin/<br>
cp -f utils/x10watch /usr/bin/<br>
cp -f utils/nbread /usr/bin/<br>
cp -f utils/nbecho /usr/bin/<br>
sh ./scripts/makedev.sh<br>
Creating X10 devices in /dev/x10 with data_major=120 and
control_major=121<br>
(cd dev; ./make.sh install)<br>
make[1]: Entering directory `/usr/src/x10dev-2.1.5/dev'<br>
mkdir -p /lib/modules/2.6.17-10-server/kernel/drivers/char/x10<br>
cp -f x10.ko /lib/modules/2.6.17-10-server/kernel/drivers/char/x10<br>
make[1]: Leaving directory `/usr/src/x10dev-2.1.5/dev'<br>
depmod<br>
***@owfs:/dev/x10# /usr/sbin/pld -device /dev/ttyUSB0 -debug<br>
pld, debug turned on<br>
OK...let's start<br>
pld opening /dev/x10/.api for API<br>
pld starting<br>
device=/dev/x10/.api<br>
pidfile=/var/run/x10d.pid<br>
logtag=pld<br>
X10 message: src=0x4, hc=0x0, uc=0x0, cmd=0x2, f=0x0<br>
***@owfs:/dev/x10#</tt><br>
<br>
<br>
<br>
</body>
</html>