Hello guys!!
A few days ago I did a clean internet install of LMCE 810. I also did the apt-get update&upgrade to get the most recent updates to the software. Once I did that I plugged in my PLCBUS 1141 USB interface to see if the plug&play scripts worked.
All that happened was that LMCE found a "Generic USB to RS232 Dongle". I started (once again) to read the forums and found a solution for that problem here:
http://forum.linuxmce.org/index.php?topic=11157.msg77351#msg77351.
Once I did that LMCE stopped recognizing the 1141 as a Generic USB to RS232 Dongle and started running some plug&play scripts when I plugged the 1141 in. Only problem was that the PLCBUS pnp script wasnt in the /usr/pluto/pnp directory.
Yesterday I ran apt-get update&upgrade again and the system was updated. Now I got the pnp scripts in place, yeah!!!!
Now when I plug the 1141 back in, the system doesn´t seem to react at all....no pnp scripts are launched or anything.....grrrrr.
I added the 1141 manually. In webadmin I went to Advanced>Configuration>Devices and "Add a top level device". I found the PLCBUS template#1920 and added it to the system. I set the "COM Port on PC" to /dev/ttyUSB0 (the 1141 is the only USB device connected to the core).
I also added a light to the system with adress A1 and rebooted the system.....and it doesn´t work.
When I do a quick reload of the router I get this in the 1141 log:
========== NEW LOG SECTION ==========
1 01/04/11 19:55:26 47 (spawning-device) Starting... 1
1 01/04/11 19:55:27 47 (spawning-device) Found /usr/pluto/bin/PLCBUS
05 01/04/11 19:55:28.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:29.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:30.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:31.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:32.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
01 01/04/11 19:55:46.488 Open port: /dev/ttyUSB0 <0xb71e2ad0>
05 01/04/11 19:55:47.182 Creating child 48 <0xb71e2ad0>
05 01/04/11 19:55:47.182 Note: Device manager has attached a device of type 37 that this has no custom event handler for. It will not fire events. <0xb71e2ad0>
05 01/04/11 19:55:47.182 Note: Device manager has attached a device of type 37 that this has no custom handler for. This is normal for IR. <0xb71e2ad0>
When I then try to send a command to light A1 I get this in the log:
t 0 <0xb61dfb90>
01 01/04/11 19:57:27.148 COMMAND_Generic_On_CONST received for child A1 <0xb61dfb90>
01 01/04/11 19:57:27.148 Adding command to queue... <0xb61dfb90>
01 01/04/11 19:57:27.547 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:28.047 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:28.547 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:29.047 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:29.047 Sendcount exceeded, this was the last sent attempt, removing job... <0xb71e1b90>
Can you guys help me to track down the problem?