AhmedBadran / rpi-rc522

Automatically exported from code.google.com/p/rpi-rc522
0 stars 0 forks source link

rc522_reader seems to "hang" after the first match of a id in /etc/RC522.conf #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  rc522_reader seems to "hang" after the first match of a id in 
/etc/RC522.conf
2.
3.

What is the expected output? What do you see instead?

I would expect it to display "Exit" and return, or continue in the loop

/etc/RC522.conf is as follows;

cat RC522.conf 
# SPI_SPEED - spi clock rate in kHz. Must be >=4 and <=125000
SPI_SPEED=5000

#User id and group id (no user root allowed)
UID=500
GID=1002

# Path for store memory dump of UltraLight tags. File will named as serial 
number.
NEW_TAG_PATH=/tmp/

#GPIO pin (bsm2835 gpio number!) for indiction of active tasks.
GPIO=18

[0457ce6acb3182] whoami >>/tmp/wh

What version of the product are you using? On what operating system?

~/rpi-rc522-read-only/rc522# uname -a
Linux incubot 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux

~/rpi-rc522-read-only/rc522# cat /etc/debian_version 
7.2

~/rpi-rc522-read-only/rc522# cat /etc/rpi-issue 
Raspberry Pi reference 2013-06-19 (armhf)
Generated using spindle, http://asbradbury.org/projects/spindle/, 8cb754e, 
stage4-lxde-edu.qed

~/bcm2835-1.36# ls
aclocal.m4  ChangeLog     config.h     config.log     config.sub  configure.in  
depcomp  examples  install-sh  Makefile     Makefile.in  NEWS    src
AUTHORS     config.guess  config.h.in  config.status  configure   COPYING       
doc      INSTALL   ltmain.sh   Makefile.am  missing      README  stamp-h1

Please provide any additional information below.

Original issue reported on code.google.com by t...@limepepper.co.uk on 16 Jul 2014 at 4:36

GoogleCodeExporter commented 9 years ago
So if you run it under "-d", it displays the output "Exit", and then hangs.

Original comment by t...@limepepper.co.uk on 16 Jul 2014 at 4:38