Page 1 of 1

Need help on CM12U (UK Version) , some error....

Posted: Sun Nov 19, 2006 12:27 am
by kevinlo
I'm testing HouseBot v2.32 , sometime if i try to send X10 command to CM12U , it will have following error :

[Debug] Sending X10 Command - Begin
[Debug] Sending X10 Command Part 1
[Debug] --> Read Pending... WriteData. 2 bytes
[Debug] Writing [2] bytes [04 ea]
[Debug] CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
[Debug] The [Unsolicited] Buffer contains 0 bytes [].
[Debug] Error reading COM port. Error = Insufficient data in read buffer
[Debug] Due to an error, Device [Living Room B4] Property [Direct X10 Command] DID NOT change.

But the error happen ramdomly. Sometime work , sometime have error.
And I alrady use ActiveHome test the CM12U , it work , no problem and already check with the CM12U's internal clock .

Can anyone help me ?
Thank you so much.

Kevin Lo

Posted: Sun Nov 19, 2006 8:14 am
by yaccri
Kevin,

This is just a wild guess: Are you using a USB->RS232 converter?

Posted: Sun Nov 19, 2006 8:36 am
by kevinlo
Yes , I am using USB to Serial Converter

Posted: Sun Nov 19, 2006 8:44 am
by yaccri
Some converters cause problems.
If you have a 'normal' serial port on this computer, I suggest that you try it and see what happens.
You may also want to try to add a *powered* USB hub. This may solve power problems caused by USB devices.

Posted: Sun Nov 19, 2006 8:58 am
by kevinlo
I didn't have Normal Serial Port on my Laptop.

I already try Targus Laptop Port Replication w/ Power Supplied. and Keyspan USB -> Serial Converter , same result.

Posted: Sun Nov 19, 2006 10:20 am
by yaccri
I don't use X10, so I'm only guessing here.

The error message looks like a communication error.
You may want to check if:
- Is it possible to decrese the communication speed? Some devices allow to set the coomunication speed.
- When does the problem occur? Do you activate some devices when it happens? Shutters and other engines may cause interferences.
- Do you run a long serial cable?
- Do you have high voltage cables running alongside communication lines?
- If you have other USB devices connected to the USB hub, try to disconnect them and see if it has any effect.

Posted: Wed Nov 22, 2006 8:23 am
by kevinlo
yaccri wrote:I don't use X10, so I'm only guessing here.

The error message looks like a communication error.
You may want to check if:
- Is it possible to decrese the communication speed? Some devices allow to set the coomunication speed.
- When does the problem occur? Do you activate some devices when it happens? Shutters and other engines may cause interferences.
- Do you run a long serial cable?
- Do you have high voltage cables running alongside communication lines?
- If you have other USB devices connected to the USB hub, try to disconnect them and see if it has any effect.
Thanks Yaccri.
If I use CM12U USB version , the problem is improve a lot. Around send 30 ~ 40 X10 command will happen one error.

If I use CM12U RS232 version and connect to on-board \ add-on PCI serial port , the problem solve. I test to send over 100 X10 command , never have this errror.

So I think the problem is cause by USB --> RS232 convertor .

Thanks