merbanan / rfid_app

Linux version for China 125kHz rfid reader/writer (RFID_APP_EN)
144 stars 27 forks source link

Unknown or no device found:�fPh ) #19

Closed Freddy789 closed 5 years ago

Freddy789 commented 5 years ago

When i run the app normally like ./rfid_app -l I recieve this Error: Error while opening /dev/ttyUSB0

When i use the command as such ./rfidapp -d /dev/bus/usb// -l as suggested here https://github.com/merbanan/rfid_app/issues/3#issuecomment-325515951 I get this error Unknown or no device found:�fPh ) I am using this Reader I would appreciate any help

merbanan commented 5 years ago

Can I get a copy of the software and a usbinfo -v for the device?

Freddy789 commented 5 years ago

`pi@raspberrypi:~/Downloads/MFRC522-python $ lsusb -v

Bus 001 Device 005: ID 6688:6850
Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x6688 idProduct 0x6850 bcdDevice 1.01 iManufacturer 1 CTX iProduct 2 203-ID-RW iSerial 3 (error) bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 46 Report Descriptors: UNAVAILABLE Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0030 1x 48 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0018 1x 24 bytes bInterval 1 Device Status: 0x0000 (Bus Powered) `

English.zip

Thats the English Version of what i got.. the Chinese Version is the exact same just in Chinese also thats all those 2 files no manual nothing cant even find a website of the Company

merbanan commented 5 years ago

Try this command not rfid_app

ctx-idrw-203

Freddy789 commented 5 years ago

When im running that command nothing happens Ive tried ./ctx-idrw-203 no response in console ./ctx-idrw-203 -l no response in console ./ctx-idrw-203 -d /dev/bus/usb/001/007 -l this gives ./ctx-idrw-203: invalid option -- 'd'

merbanan commented 5 years ago

Just try with -b

Freddy789 commented 5 years ago

Finally working ^^ thank you for this tool took me ages to get this reader to work

For anyone else with a simular problem type ./ctx-idrw-203 -d /dev/bus/usb// and you will get a beep from the reader ./ctx-idrw-203 -r /dev/bus/usb// will put the reader in reading mode and read a tag/card and print its id

Edit: It actually just works with just ./ctx-idrw-203 -r