USB-RFID Reader Problem

  • Guten Morgen zusammen,

    vielen Dank für die Aufnahme im Forum.

    Kurz zu meinem Problem ich habe eine USB-RFID Reader (günstiges Chinamodell). Mein RPI 2+ Mod. B läuft mit Raspian Jessie. Der USB-Reader wird erkannt siehe :

    dmesg

    Code
    [   59.121372] usb 1-1.4: Product: SYC ID&IC USB Reader
    [   59.121390] usb 1-1.4: Manufacturer: Sycreader RFID Technology Co., Ltd
    [   59.121406] usb 1-1.4: SerialNumber: 08FF20140315
    [   59.135105] input: Sycreader RFID Technology Co., Ltd SYC ID&IC USB Reader as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:08FF:0009.0002/input/input1
    [   59.194554] hid-generic 0003:08FF:0009.0002: input,hidraw0: USB HID v1.10 Keyboard [Sycreader RFID Technology Co., Ltd SYC ID&IC USB Reader] on usb-3f980000.usb-1.4/input0

    lsusb sieht so aus, der Reader müsste Device 5 sein:

    Code
    Bus 001 Device 005: ID 08ff:0009 AuthenTec, Inc.
    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.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    Wenn ich einen Tag darüber halte reagiert er auch, nur er gibt nichts aus. Das heißt er müsse ja den RFID-Code schreiben.

    Ich habe Testweise einmal Ubuntu-Mate installiert, da läuft er reibungslos. Würde aber gerne Raspian behalten.
    Was kann man noch alles auslesen? Könnte es am Kernel liegen?

    Ich bin noch recht neu auf diesem Gebiet und hoffe Ihr könnt mir ein paar Tips geben.

    Vielen Dank für Eure Hilfe.

    Viele Grüße

    Johannes

  • Hi Johannes!

    Sorry for replying in English, as my German sucks :)
    If I understood your problem correctly, you want to read the RFID tags that you show to the Sycreader? I was just having the same problem, as I bought this reader off from Ebay for few dollars and expected it to work out of the box. On OSX it does, as it acts just like a keyboard, haven't tried Windows yet, but as the reader has Windows logo painted on it, I'd assume it works also there.

    Now to the Raspberry: After a bit of no-help-googling, I just started experimenting and what do you know, it actually spews out the IDs if I just read the correct device:

    Code
    root@minibian: ~/rfidread# cat /dev/hidraw0 
    ''' &&$%%(

    Cheers,
    Antti


    [Quote = 'Tuntrarider' pid = '202820' dateline = '1454915366']
    Good Morning all,

    Thanks for inclusion in the forum.

    Short to my problem, I have a USB RFID Reader (discount China model). My RPI 2+ Mod. B runs with Raspian Jessie. The USB reader is recognized see:

    dmesg

    Code
    [59.121372] usb 1-1.4: Product: SYC ID & IC USB Reader
    [59.121390] usb 1-1.4: Manufacturer: Sycreader RFID Technology Co., Ltd.
    [59.121406] usb 1-1.4: Serial Number: 08FF20140315
    [59.135105] input: Sycreader RFID Technology Co., Ltd. SYC ID & IC USB Reader as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:08FF:0009.0002/ input / input1
    [59.194554] hid generic 0003: 08FF: 0009.0002: input, hidraw0: USB HID Keyboard v1.10 [Sycreader RFID Technology Co., Ltd. SYC ID & IC USB Reader] on usb 3f980000.usb-1.4 / input0

    lsusb looks like the reader would be Device 5:
    [code]
    Bus 001 Device 005: ID 08ff: 0009 AuthenTec, Inc.
    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.
    Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub [/ code]


    If I hold a day thinking about it responds well, but he's nothing out. That means he must indeed write the RFID code.

    I have a test, once Ubuntu Mate installed, because it runs smoothly. But would like to keep Raspian.
    What can you read everything? Could it be the kernel?

    I am still quite new in this field and hope you can give me a few tips.

    Many thanks for your help.

    Best wishes

    Johannes
    [/ Quote]

    Einmal editiert, zuletzt von naalikettu (13. März 2016 um 21:05)

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!