'synology usb NFC card reader device id

I am trying to use php dio-extension to read the NFC card id into my php script. My NFC card reader is attached to Synology DS720+ NAS font USB port. I am not able to get anything from the USB NFC card reader and have following quesitons :

  1. is the port correct ?
  2. is the method of reading from NFC card reader correct ?
$f = dio_open("/usb-0000:00:15.0-1/input0", O_RDONLY);// is port correct ?
sleep(3);
$data = dio_read($f, 10); // is the method of reading from NFC card reader correct ?
sleep(3);
var_dump(array_keys(dio_stat($f)));
if ($data) {    
  echo 'DATA IS:',$data;
 }else{
  echo 'No date';
 };
dio_close($f);

The result of $cat .proc/bus/input/devices is as following :

:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input0
U: Uniq=
H: Handlers=kbd
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0003 Vendor=13ec Product=1c66 Version=0110
N: Name="Ascii To Usb Keyboard"
P: Phys=usb-0000:00:15.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:15.0/usb1/1-1/1-1:1.0/0003:13EC:1C66.0001/input/input1
U: Uniq=
H: Handlers=sysrq kbd
B: PROP=0
B: EV=120013
B: KEY=e080ffdf01cfffff fffffffffffffffe
B: MSC=10
B: LED=1f

Thank you very much for any hins !!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source