Hi all,
Figured I'd share some of my experiences with building/testing
the zwave_work_branch. Apologize for the long email - most of it is just debug
output for the devs.
Windows 7 x64
First tried building the concordance/libconcord zwave branch on Windows using
VC++. It would not compile and I think it is mainly to do with the libzzip
dependency. Couldn't find a good tutorial on building libzzip in windows and
not being a C++/Visual Studio developer ( mainly Java/Eclipse ), didn't want to
go down the rabbit hole.
So, I created a Ubuntu VM in VMWare and went from there.
On a side note, I was able to build and run the 0.23 CVS branch in Windows/VC++
with no problem.
Ubuntu 11.1
After I figured out all the dev packages I needed to install, things went
better. One note for folks who are first time builders, I would suggest you
run libconcord configure like this:
./configure CPPFLAGS="-D_DEBUG" this sets up the library to output debug data
You may also find that when you try to run concordance that it cannot find
libconcord. As I found somewhere,
"That error is almost certainly because you installed libconcord into/usr/local
(/usr/local/lib/libconcord.so) and your system isn't configuredto look for
libraries there.
You can:1. set an LD_LIBRARY_PATH environment variable2. Change
/etc/ld.so.conf3. Install into /usr (/usr/lib/libconcord.so)"
I chose to install to /usr/lib
Running zwave_work_branch with an 890
-vi works
grady@ubuntu:~$ sudo concordance -ivConcordance 0.23+CVSCopyright 2007 Kevin
Timmerman and Phil DibowitzThis software is distributed under the GPLv3.
DEBUG (FindRemote): bNumEndpoints 2DEBUG (check_ep): address 81 attrib 03
max_length 64DEBUG (check_ep): address 02 attrib 03 max_length 64Num stages:
1DEBUG (UDP_Write): Writing packet:03 01 00 61 DEBUG (UDP_Read): Reading
packet:13 01 01 61 01 6D 04 12 C1 0A 00 04 00 09 00 00 13 00 16 00 Requesting
identity: 50% DEBUG (ParseParams): ParseParams, 01 01 61 01 6d 04
DEBUG (UDP_Write): Writing packet:03 01 00 67 DEBUG (UDP_Read): Reading
packet:34 01 01 67 01 00 F9 0C 1A EE EE EE EE EE EE EE EE EE EE EE EE AE 13 21
15 D0 D8 48 66 A4 7D 7E D7 81 43 A8 9F 5F 55 D2 96 66 AA 47 0E B8 2B C7 52 6A
E1 48 A4 100% doneDEBUG (ParseParams): ParseParams, 01 01 67 01 00
f9
Model: Logitech Harmony 890 (Cappuccino) Skin: 19 Firmware Version: 4.9
Firmware Type: 0 Hardware Version: 142.1 External Flash: 2 MiB - 01:49 AMD
Am29LV160BB Architecture: 10 Protocol: 0 Manufacturer: Harmony Remote
0-4.9.1 Product: Harmony Remote 0-4.9.1 IRL, ORL, FRL: 64, 64, 0 USB VID:
046D USB PID: C112 USB Ver: 0A13 Serial Number: ##REMOVED FOR EMAIL##
Config Flash Used: 99% (0 of 1 KiB)
Success!Press <enter> key to exit
-c is not supported
grady@ubuntu:~$ sudo concordance -cConcordance 0.23+CVSCopyright 2007 Kevin
Timmerman and Phil DibowitzThis software is distributed under the GPLv3.
DEBUG (FindRemote): bNumEndpoints 2DEBUG (check_ep): address 81 attrib 03
max_length 64DEBUG (check_ep): address 02 attrib 03 max_length 64Sorry, that
mode is not yet supported on your remote by libconcord.
-f is not supported
grady@ubuntu:~$ sudo concordance -fConcordance 0.23+CVSCopyright 2007 Kevin
Timmerman and Phil DibowitzThis software is distributed under the GPLv3.
DEBUG (FindRemote): bNumEndpoints 2DEBUG (check_ep): address 81 attrib 03
max_length 64DEBUG (check_ep): address 02 attrib 03 max_length 64Sorry, that
mode is not yet supported on your remote by libconcord.
-r did not actually reset the remote ( but the output listed success )
grady@ubuntu:~$ sudo concordance -rConcordance 0.23+CVSCopyright 2007 Kevin
Timmerman and Phil DibowitzThis software is distributed under the GPLv3.
DEBUG (FindRemote): bNumEndpoints 2DEBUG (check_ep): address 81 attrib 03
max_length 64DEBUG (check_ep): address 02 attrib 03 max_length
64Resetting...DEBUG (UDP_Write): Writing packet:03 01 00 1B DEBUG
(HID_ReadReport): Timeout on interrupt read from deviceDEBUG (Reset): Failed to
read to remoteSuccess!Press <enter> key to exit
Running zwave_work_branch with a 900
This did not seem to work at all, but I'm not sure the operational status of
this particular remote - Logitech is sending me a new one next week, so if I
get different results with that one, I'll post back.
Got the following error for pretty much every command:grady@ubuntu:~sudo
concordance -ivConcordance 0.23+CVSCopyright 2007 Kevin Timmerman and Phil
DibowitzThis software is distributed under the GPLv3.
DEBUG (FindRemote): bNumEndpoints 3DEBUG (check_ep): address 01 attrib 02
max_length 64DEBUG (check_ep): address 81 attrib 02 max_length 64DEBUG
(check_ep): address 82 attrib 03 max_length 64ERROR: Couldn't initializing
libconcord: Error connecting or finding the remote
Remote does show up in lsusb
grady@ubuntu:~$ lsusb -vBus 002 Device 013: ID 046d:c11f Logitech, Inc. Harmony
900 RemoteDevice Descriptor: bLength 18 bDescriptorType
1 bcdUSB 1.10 bDeviceClass 2 Communications
bDeviceSubClass 2 Abstract (modem) bDeviceProtocol 0 None
bMaxPacketSize0 64 idVendor 0x046d Logitech, Inc. idProduct
0xc11f Harmony 900 Remote bcdDevice 1.00 iManufacturer
3 Belcarra iProduct 4 Belcarra Generic MDLM-BLAN iSerial
0 bNumConfigurations 1 Configuration Descriptor:
bLength 9 bDescriptorType 2 wTotalLength
92 bNumInterfaces 1 bConfigurationValue 1 iConfiguration
6 net-blan bmAttributes 0x80 (Bus Powered) MaxPower
98mA Interface Descriptor: bLength 9
bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting
0 bNumEndpoints 3 bInterfaceClass 2
Communications bInterfaceSubClass 10 Mobile Direct Line
bInterfaceProtocol 0 iInterface 7 Belcarra USBLAN -
MDLM/BLAN CDC Header: bcdCDC 1.10 CDC MDLM:
bcdCDC 1.00 bGUID
{74f03dbd-1ec1-4470-a367-7134c9f55437} CDC MDLM detail:
bGuidDescriptorType 01 bDetailData 00 01 00 CDC
Ethernet: iMacAddress 5 000000000000
bmEthernetStatistics 0x00000000 wMaxSegmentSize 1514
wNumberMCFilters 0x0000 bNumberPowerFilters
0 Network Channel Terminal: bEntityId 0
iName 0 bChannelIndex 0
bPhysicalInterface 0 Endpoint Descriptor: bLength
7 bDescriptorType 5 bEndpointAddress 0x01 EP 1
OUT bmAttributes 2 Transfer Type Bulk
Synch Type None Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes bInterval 0
Endpoint Descriptor: bLength 7 bDescriptorType
5 bEndpointAddress 0x81 EP 1 IN bmAttributes
2 Transfer Type Bulk Synch Type
None Usage Type Data wMaxPacketSize 0x0040
1x 64 bytes bInterval 0 Endpoint Descriptor:
bLength 7 bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN bmAttributes 3
Transfer Type Interrupt Synch Type None
Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Hope this is helpful information to the devs.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
concordance-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/concordance-devel