<div>Hello Everyone,</div>
<div> </div>
<div>I'm new to the mailing list and I am having a problem setting up my OpenPCD using librfid. My first problem is compiling the openPCD-test application. Here is what I get when I run the make:<br><br>cc -Wall -I../firmware/include -o opcd_presence.o -c opcd_presence.c
<br>opcd_presence.c:38:23: error: curl/curl.h: No such file or directory<br>opcd_presence.c: In function 'main':<br>opcd_presence.c:47: error: 'CURL' undeclared (first use in this function)<br>opcd_presence.c:47: error: (Each undeclared identifier is reported only once
<br>opcd_presence.c:47: error: for each function it appears in.)<br>opcd_presence.c:47: error: 'curl' undeclared (first use in this function)<br>opcd_presence.c:48: error: 'CURLcode' undeclared (first use in this function)
<br>opcd_presence.c:48: error: expected ';' before 'res'<br>opcd_presence.c:50: warning: implicit declaration of function 'curl_easy_init'<br>opcd_presence.c:57: warning: implicit declaration of function 'curl_easy_setopt'
<br>opcd_presence.c:57: error: 'CURLOPT_URL' undeclared (first use in this function)<br>opcd_presence.c:58: error: 'CURLOPT_POST' undeclared (first use in this function)<br>opcd_presence.c:87: error: 'CURLOPT_POSTFIELDS' undeclared (first use in this function)
<br>opcd_presence.c:88: error: 'res' undeclared (first use in this function)<br>opcd_presence.c:88: warning: implicit declaration of function 'curl_easy_perform'<br>opcd_presence.c:104: warning: implicit declaration of function 'curl_easy_cleanup'
<br>make: *** [opcd_presence.o] Error 1<br><br>Ok, my second problem is using the librfid-tool. Here is the output I get when I run the -s command:<br><br>lt-librfid-tool - (C) 2006 by Harald Welte<br>This program is Free Software and has ABSOLUTELY NO WARRANTY
<br><br>initializing librfid<br>opening reader handle<br>No Omnikey Cardman 5121 found<br>No OpenPCD found either<br><br>When I do the lsusb I see this:<br><br>Bus 004 Device 001: ID 0000:0000 <br>Bus 002 Device 001: ID 0000:0000
<br>Bus 003 Device 001: ID 0000:0000 <br>Bus 001 Device 002: ID 16c0:076b <br>Bus 001 Device 001: ID 0000:0000 <br><br>And then when I do the -v -d on the device I see this:<br><br>Bus 001 Device 002: ID 16c0:076b <br>
Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 1.00<br> bDeviceClass 255 Vendor Specific Class<br> bDeviceSubClass 255 Vendor Specific Subclass<br>
bDeviceProtocol 255 Vendor Specific Protocol<br> bMaxPacketSize0 8<br> idVendor 0x16c0 <br> idProduct 0x076b <br> bcdDevice 0.30<br> iManufacturer 0 <br> iProduct 0
<br> iSerial 0 <br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 57<br> bNumInterfaces 3
<br> bConfigurationValue 1<br> iConfiguration 0 <br> bmAttributes 0x80<br> (Bus Powered)<br>^[[A MaxPower 500mA<br> Interface Descriptor:<br> bLength 9
<br> bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 0
<br> bInterfaceProtocol 255 <br> iInterface 0 <br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x01 EP 1 OUT
<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0040 1x 64 bytes<br> bInterval 0
<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x82 EP 2 IN<br> bmAttributes 2<br> Transfer Type Bulk
<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0040 1x 64 bytes<br> bInterval 0<br> Endpoint Descriptor:<br> bLength 7
<br> bDescriptorType 5<br> bEndpointAddress 0x83 EP 3 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data
<br> wMaxPacketSize 0x0040 1x 64 bytes<br> bInterval 255<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 1
<br> bAlternateSetting 0<br> bNumEndpoints 0<br> bInterfaceClass 254 Application Specific Interface<br> bInterfaceSubClass 1 Device Firmware Update<br> bInterfaceProtocol 1
<br> iInterface 0 <br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 2<br> bAlternateSetting 0<br> bNumEndpoints 0
<br> bInterfaceClass 254 Application Specific Interface<br> bInterfaceSubClass 1 Device Firmware Update<br> bInterfaceProtocol 1 <br> iInterface 0 <br>cannot read device status, Operation not permitted (1)
<br><br>I noticed that none of this matches what is on the site. Any help would be greatly appreciated. I am running this on and openSUSE 10.2 install. Thanks<br><br>Kn1ghtl0rd<br><br><br></div>