>> sent commands to the device with his own software and the new driver
I had been making the assumption that the 'new driver/software' was basically just for the usb->rs232 chip, so the kernel would see the dongle and add it as a ttyUSB
- entry, but that once that happened, the serial protocol to talk to the device was the same and the existing ZWave binary would be used. Is that a misunderstanding? Have you and cyr been developing your own replacement for the existing ZWave binary? Maybe the 3 of us (4 if we get Daniel in) could talk about this on Skype or something. This is relevant for us since the programmer at Pluto who wrote the ZWave module originally is not with us anymore, and there's some new ZWave features we need implemented, and maybe we can get you guys some equipment if you're working on ZWave drivers.
My logs show this (this has the new kernel module for ttyUSB, but uses the existing ZWave software)
35 02/13/08 7:09:48.826 ++++++++++++ ZWave is connected <0x2b66ed2f1b40>
36 02/13/08 7:09:48.826 ### Run Current Job <0x41802950>
36 02/13/08 7:09:48.882 SerialConnection::send lock serial mutex <0x41802950>
35 02/13/08 7:09:48.882 SerialConnection::send len = 2 buf = 0x00 0x15 <0x41802950>
36 02/13/08 7:09:48.882 SerialConnection::send unlock serial mutex <0x41802950>
05 02/13/08 7:09:53.026 ### Go to timeout queue <0x41802950>
05 02/13/08 7:09:53.026 ### execute the next job from timeout queue <0x41802950>
05 02/13/08 7:09:53.026 ZWJobInitialize::timeoutHandler <0x41802950>
36 02/13/08 7:09:53.082 SerialConnection::send lock serial mutex <0x41802950>
35 02/13/08 7:09:53.082 SerialConnection::send len = 2 buf = 0x00 0x15 <0x41802950>
36 02/13/08 7:09:53.082 SerialConnection::send unlock serial mutex <0x41802950>
05 02/13/08 7:09:58.010 ### Go to timeout queue <0x41802950>
05 02/13/08 7:09:58.010 ### execute the next job from timeout queue <0x41802950>
05 02/13/08 7:09:58.010 ZWJobInitialize::timeoutHandler <0x41802950>
36 02/13/08 7:09:58.066 SerialConnection::send lock serial mutex <0x41802950>
35 02/13/08 7:09:58.066 SerialConnection::send len = 2 buf = 0x00 0x15 <0x41802950>
36 02/13/08 7:09:58.066 SerialConnection::send unlock serial mutex <0x41802950>
35 02/13/08 7:09:58.290 size too small 1 <0x41802950>
.... repeats ....
35 02/13/08 7:10:03.050 size too small 1 <0x41802950>
05 02/13/08 7:10:03.050 ### Go to timeout queue <0x41802950>
05 02/13/08 7:10:03.050 ### skip the next job from timeout queue <0x41802950>
35 02/13/08 7:10:03.050 ----- INIT ---- 1 <0x41802950>
35 02/13/08 7:10:03.050 ----- INIT ---- 2 <0x41802950>
35 02/13/08 7:10:03.050 -------- 3 <0x2b66ed2f1b40>
35 02/13/08 7:10:03.050 SerialConnection ------------- asa 1 <0x2b66ed2f1b40>
35 02/13/08 7:10:03.154 SerialConnection ------------- asa 2 <0x2b66ed2f1b40>
36 02/13/08 7:10:03.154 waiting for thread to finish <0x2b66ed2f1b40>
35 02/13/08 7:10:03.154 exit receiveFunction : nr. of reads 47 <0x41001950>
36 02/13/08 7:10:03.167 thread finished <0x2b66ed2f1b40>
35 02/13/08 7:10:03.167 SerialConnection ------------- asa 3 <0x2b66ed2f1b40>
35 02/13/08 7:10:03.167 SerialConnection ------------- asa 4 <0x2b66ed2f1b40>
35 02/13/08 7:10:03.167 -------- 4 <0x2b66ed2f1b40>
10 02/13/08 7:10:03.168 Socket::SendMessage type 5 id 37 from 63 to -1000 <0x2b66ed2f1b40>
10 02/13/08 7:10:03.196 TranslateSerialUSB found /sys/devices/pci0000:00/0000:00:04.0/usb2/2-1/2-1:1.0/ttyUSB1/ttyUSB1, returning /dev/ttyUSB1 <0x2b66ed2f1b40>
36 02/13/08 7:10:03.196 Using serial port: ttyUSB1. <0x2b66ed2f1b40>
36 02/13/08 7:10:03.207 SerialConnection::connect init serial mutex <0x2b66ed2f1b40>