Getting my new OpenPCD to work.
Irol
ib1972 at gmail.com
Tue Jan 27 14:20:01 UTC 2009
Hi All,
I have recently received my OpenPCD v0.4 and have used the
instructions found on http://wiki.openpcd.org/wiki/Getting_started.
But now I run into some problems when trying to get OpenPCD to work,
it seems that sometimes I am able to switch the leds on and off and
but so far I´ve not been able to obtain the serial number using the
tool provided and when trying to probe further I get stuck.
I´m a reasonable newby with linux and that is why I´ve included a
complete overview of all the steps taken.
Hopefully I´ll get an answer soon until then take care and good luck.
Fu
root at ubuntu:~# lsusb -v -d 16c0:076b
Bus 002 Device 002: ID 16c0:076b VOTI OpenPCD 13.56MHz RFID Reader
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 8
idVendor 0x16c0 VOTI
idProduct 0x076b OpenPCD 13.56MHz RFID Reader
bcdDevice 0.30
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 57
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 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 0x82 EP 2 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 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 255
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 1
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 1
iInterface 0
Device Status: 0x0000
(Bus Powered)
root at ubuntu:~# cd host
root at ubuntu:~/host# ./opcd_test --help
opcd_test - OpenPCD Test and Debug Program
(C) 2006 by Harald Welte <laforge at gnumonks.org>
-l --led-set led {0,1}
-w --reg-write reg value
-r --reg-read reg
-W --fifo-write hex
-R --fifo-read hex
-s --set-bits reg mask
-c --clear-bits reg mask
-u --usb-perf xfer_size
root at ubuntu:~/host# ./opcd_test -l 2 0
opcd_test - OpenPCD Test and Debug Program
(C) 2006 by Harald Welte <laforge at gnumonks.org>
setting LED 2 to off
TX: (4): 02 01 02 00
root at ubuntu:~/host# ./opcd_test -l 2 1
opcd_test - OpenPCD Test and Debug Program
(C) 2006 by Harald Welte <laforge at gnumonks.org>
setting LED 2 to on
TX: (4): 02 01 02 01
root at ubuntu:~/host# ./opcd_test -n
opcd_test - OpenPCD Test and Debug Program
(C) 2006 by Harald Welte <laforge at gnumonks.org>
TX: (8): 03 01 00 01 00 00 00 00
bulk_read returns -1(No error)
ERROR: -1, No error
root at ubuntu:~/host# cd ..
root at ubuntu:~# cd librfid/utils
root at ubuntu:~/librfid/utils# ./librfid-tool -s
lt-librfid-tool - (C) 2005-2008 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY
initializing librfid
opening reader handle OpenPCD, CM5x21
No OpenPCD found
No Omnikey Cardman 5x21 found
root at ubuntu:~/librfid/utils#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20090127/61e3a595/attachment.htm
More information about the openpcd-devel
mailing list