Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get KKmoon Reader to work #1046

Closed
BStramke opened this issue Jul 31, 2020 · 4 comments
Closed

Cannot get KKmoon Reader to work #1046

BStramke opened this issue Jul 31, 2020 · 4 comments
Labels

Comments

@BStramke
Copy link

BStramke commented Jul 31, 2020

I have the issue where i cannot see the CardID in the WebUI, but it will be sent to the Console Input directly (just like typing with a keyboard, but not hitting return key). I also changed the Reader.py.kkmoonRFIDreader to Reader.py. The Reader is Configured to read "29 E: work as QUERTY keyboard layout (default setting). " (there is a configuration card which says it has 28 output formats and supports QW/AZ ERTY keyboard layout)

pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ python3 RegisterDevice.py
Choose the reader from list
0 C-Media Electronics Inc. USB PnP Sound Device
1 HID 413d:2107
Device Number: 1

deviceName.txt
HID 413d:2107

pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ ls -la /dev/input/by-id/
total 0
drwxr-xr-x 2 root root 80 Jul 31 13:40 .
drwxr-xr-x 4 root root 140 Jul 31 13:40 ..
lrwxrwxrwx 1 root root 9 Jul 31 13:40 usb-413d_2107-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 Jul 31 13:40 usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-event-if03 -> ../event1

pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ lsusb
Bus 001 Device 006: ID 8086:0808 Intel Corp.
Bus 001 Device 007: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 004: ID 413d:2107
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

@BStramke BStramke added the bug label Jul 31, 2020
@BStramke
Copy link
Author

Output while configuring the card reader:

config card 1
config card 2
config card 3
download manual www.jatsecuritz.com-easzmfßim.html
format description
1 ß 28 data format
e qwertz kezboard
f ayertz kezboard
h quertz kezboard
config reader ...
when demand format is appeared plug off reader
1 8hß10dße
2 2hß3dß4hß5dße
3 8hße
4 6hße
5 6hß8dße
6 6hß10dße
7 4hß5dß4hß5dße
8 8hß10d
9 2hß3dß4hß5d
10 8h
11 6h
12 6hß8d
13 6hß10d
14 4hß5dß4hß5d
15 8hß10dßrße
16 2hß3dß4hß5dßrße
17 8hßrße
18 6hßrße
19 6hß8dßrße
20 6hß10dßrße
21 4hß5dß4hß5dßrße
22 8hß10dßr
23 2hß3dß4hß5dßr
24 8hßr
25 6hßr
26 6hß8dßr
27 6hß10dßr
28 4hß5dß4hß5dßr
29 e

@BStramke
Copy link
Author

I set it to Format 1, and voila, it worked. This means out of the box not all KKmoon Readers will work and you have to follow the instructions on your configuration card that comes with the Reader. For a Small recap, you have to (First read all the points and make sure you understand them):

  1. Open some Text-Editor (Notepad, MCEdit, Nano, ... Can be run in different OS Versions like Windows or on the Raspberry)
  2. Swipe your Configuration Card 3 Times in a row. It will display "config card 1", "config card 2" and "config card 3"
  3. You will see the Format Text running through. If you want to set it to Format 1 (as I did), you have to unplug your reader when you see the Line "1 8hß10dße"
  4. Plugin your Reader (beep), then Plug it out again (less than 2 Seconds!)
  5. Plugin your Reader (beep), then Plug it out again (less than 2 Seconds!)
  6. Plugin your Reader (beep), then Plug it out again (less than 2 Seconds!)
  7. Plugin your Reader. It should now be Configured as Format 1. (yes, you have to unplug it 3 times)

@MiczFlor
Copy link
Owner

Hi @BStramke
thanks for the input. You solved it and closed it fast :) great. I still took the information and added it to the wiki. Is that ok?:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/RFID_Reader_KKMOON_Info

@BStramke
Copy link
Author

Yep, its fine ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants