Thread: USB rfid device and PCSCD / RFIDIOt don't seem to be working together
hi folks,
i'm posting regarding crunchbang #! installation on 1 of computers not ubuntu, beware. though remember having similar issue ubuntu while (i got sorted, though can't remember how), thought i'd post here #! forum.
i'm trying rfidiot run rfid reader , can't life of me figure out wrong. if knows configuring rfid readers / pcscd / rfidiot guidance. seems shows in computer yet pcscd not see it.
output /var/logs/messages is:
and in /dev shows as:code:jun 19 13:36:20 crunchbang kernel: usb 5-2: new full speed usb device using uhci_hcd , address 4 jun 19 13:36:20 crunchbang kernel: usb 5-2: new usb device found, idvendor=0403, idproduct=dd20 jun 19 13:36:20 crunchbang kernel: usb 5-2: new usb device strings: mfr=1, product=2, serialnumber=3 jun 19 13:36:20 crunchbang kernel: usb 5-2: product: usb converter jun 19 13:36:20 crunchbang kernel: usb 5-2: manufacturer: acg austria jun 19 13:36:20 crunchbang kernel: usb 5-2: serialnumber: 40521887 jun 19 13:36:20 crunchbang kernel: ftdi_sio 5-2:1.0: ftdi usb serial device converter detected jun 19 13:36:20 crunchbang kernel: usb 5-2: detected ft232bm jun 19 13:36:20 crunchbang kernel: usb 5-2: number of endpoints 2 jun 19 13:36:20 crunchbang kernel: usb 5-2: endpoint 1 maxpacketsize 64 jun 19 13:36:20 crunchbang kernel: usb 5-2: endpoint 2 maxpacketsize 64 jun 19 13:36:20 crunchbang kernel: usb 5-2: setting maxpacketsize 64 jun 19 13:36:20 crunchbang kernel: usb 5-2: ftdi usb serial device converter attached ttyusb0
now if run pcsc_scan indefinitely:code:ttyusb0
and if try run rfidiot tool eg readtag.py get:code:compiled pc/sc lite version: 1.5.5 scanning present readers... waiting first reader...
the relevant part of rfidiotconfig.py file reads this:code:bob@crunchbang:~/documents/rfidiot-1.0a$ ./readtag.py there no such reader #1, pcsc sees 0 reader(s)
which think makes sense, if change readertype rfidiot.rfidiot.reader_acg rather pcsc. kind of makes sense (i have acg reader) error readtag.py:code:# ignored pcsc #line= "/dev/ttys0" #line= "/dev/ttys1" line= "/dev/ttyusb0" # windows #line= "com4" # reader type (can overridden -r) #readertype= rfidiot.rfidiot.reader_acg #readertype= rfidiot.rfidiot.reader_frosch #readertype= rfidiot.rfidiot.reader_demotag # reader_pcsc meta type. actual subtype auto-determined. readertype= rfidiot.rfidiot.reader_pcsc #readertype= rfidiot.rfidiot.reader_none #readertype= rfidiot.rfidiot.reader_libnfc
so, don't see problem is? can see ttyusb0 acg card reader, computer knows that, yet seems pcscd not, , trying without pcscd not work either. , think python deprndencies met.code:bob@crunchbang:~/documents/rfidiot-1.0a$ ./readtag.py not open serial port /dev/ttyusb0
sorry length of post, wanted specific. if still reading , has ideas extreemly grateful. i'm start msc project on tag cloning/emulation , security of mifare classic, critical figure out somehow @ point.
or advice.
f.g.
ps oh yes, shows under lsusb as:
code:bus 005 device 004: id 0403:dd20 future technology devices international, ltd
hi,
have rfid problems. ideas may help:
start terminal:
ps aux | grep pcscd
# see 2 of them, 1 search. other starts number, e.g. 1234
kill -9 1234
#now start pcscd again:
sudo pcscd -df
#if works, can put in udev rules.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] USB rfid device and PCSCD / RFIDIOt don't seem to be working together
Ubuntu
Comments
Post a Comment