SL:Identive NFC und Technik/Probleme: Unterschied zwischen den Seiten

Aus Doc-Wiki
(Unterschied zwischen Seiten)
Zur Navigation springen Zur Suche springen
imported>Abochem
K
 
imported>Burghardt
 
Zeile 1: Zeile 1:
  +
11.2018: verbal wird immer wieder von Problemen mit der Multimediatechnik berichtet. ''Dokumentiert'' wird das aber nur selten, so dass eine Fehlermeldung an den Hersteller nur schwer bis gar nicht möglich ist. Nur falls es uns gelingt, Meldungen von Problemen zu sammeln, wird irgendwann Ursachenforschung stattfinden.
[[Category:Sensorlab]]
 
The Sensorlab has an [http://www.identivenfc.com/en/nfc-software-development-kit-sdk/nfc-solutions-development-kit-sdk.htm Identive NFC SDK], which includes three NFC readers. Drivers can be found on the [http://www.identive-group.com/products-and-solutions/identification-products/mobility-solutions/mobile-readers/scl3711-contactless-usb-smart-card-reader Identive] website. This page contains some information about using the hardware.
 
   
To use it on Linux, it is required to install some additional software. Debian packages can be found in the sensorlab AFS directory: documents/Hardware/IdentiveNFC/
 
   
  +
== Ansprechpartner ==
To install them, as root:
 
  +
Störungen sind je nach Kontext unterschiedlich zu melden:
  +
* Sicherung ausgelöst, Licht, Türen, Fenster: [[Hausmeister]]
  +
* Multimediatechnik wie Hörsaal-PC, Beamer, Bedienpanel, Smartboard: Telefon 1171 = Störmeldezentrale. <small>Unsere Gebäudenummer ist 2412.</small>
  +
* hausintern: Gunnar Krull / Udo Burghardt
  +
* Schließsystem: Annette Kadziora
  +
* ...
   
dpkg -i libusb_0.1.12-1_i386.deb
 
dpkg -i pcsc-lite_1.8.11-1_i386.deb
 
   
  +
== Vorfälle ==
Once installed, the proprietary driver has to be installed:
 
  +
Die folgende Tabelle kann bitte von jedem Nutzer (egal ob Studierender oder Mitarbeiter!) ergänzt werden. Bitte beachten Sie, dass ''dies hier'' keinen Support-Request auslöst, sondern nur der Dokumentation dient.
   
  +
{| class="wikitable sortable"
tar -xvzf scx371x_2.11_linux_32bit.tar.gz
 
  +
|- class="hintergrundfarbe5"
cd scx37*
 
  +
! Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe
sh ./install.sh
 
  +
|-
  +
| 2018-11-07 || 2018-11-07|| 2.101 || Smartboard-Darstellungsprobeme --> nicht benutzbar || hausintern || System-Absturz? || Power-Cycle. Dann Firmware-Update. Unklar, ob Ursache somit behoben...
   
  +
|-
The usbdetach program found in the USBDetach folder will also be necessary. Either recompile it or copy it as is:
 
  +
| 2018-11-08 || - || 0.101 || Deckenbeamer nicht nutzbar || 1171 --> Multimedia || - || Multimedia: Stromversorgung der HDMI-Übertragungsstrecke disfunktional --> Elektrotechnik
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
cp USBDetach/usbdetach /usr/bin
 
  +
| ... || ... || x.101 || ... || ... || - || ...
chown root.root /usr/bin/usbdetach
 
chmod 755 /usr/bin/usbdetach
 
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
After everything is set up, attach the NFC reader. After attaching it, first we have to detach it from the kernel's default driver, because the proprietary driver doesn't do this for us, which is unfortunate and leads to odd error messages. To do this, first run "lsusb", look for "SCM Microsystems, Inc." and copy the device ID (format: ????:????). Then run "usbdetach -d YOURDEVICEID -i 0 -f", e.g.:
 
  +
| ... || ... || x.101 || ... || ... || - || ...
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
lsusb
 
  +
| ... || ... || x.101 || ... || ... || - || ...
usbdetach -d 04e6:5591 -i 0 -f
 
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
Alternatively, just unload the automatically loaded kernel driver module, which is much easier.
 
  +
| ... || ... || x.101 || ... || ... || - || ...
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
rmmod pn533
 
  +
| ... || ... || x.101 || ... || ... || - || ...
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
Now, pcscd can be started to make use of the NFC reader:
 
  +
| ... || ... || x.101 || ... || ... || - || ...
   
  +
|- <!-- Datum !! Behoben !! Raum !! Fehlfunktion !! Meldung an/via !! Grund, sofern bekannt !! class="unsortable" | Abhilfe -->
LD_LIBRARY_PATH=/usr/local/lib LIBCCID_ifdLogLevel=0x000F /usr/local/sbin/pcscd --foreground --debug
 
  +
| ... || ... || x.101 || ... || ... || - || ...
   
  +
|}
If you bring an NFC tag (one of the included tags or a student ID for example) close to the reader, you should get output similar to this:
 
   
27319699 eventhandler.c:407:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
 
00000019 eventhandler.c:422:EHStatusHandlerThread() Card inserted into SCL3711 Reader and NFC Device 00 00
 
00000017 Card ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
 
00400075 eventhandler.c:481:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
 
   
Using the included "ISO14443A - TOPAZ 512" tags will lead to a segfault. (It might be nice if we wrote our own driver that doesn't. Or used the driver included with the Linux kernel...)
 
   
  +
== Siehe auch ==
For MIFARE cards, data can be retrieved using nfc-mfclassic from the [http://nfc-tools.org/index.php?title=Libnfc:nfc-mfclassic nfc-tools] package:
 
  +
* [[Technik]]
   
  +
== Links ==
nfc-mfclassic r a nfc-card.a nfc-keys f
 
nfc-mfclassic r b nfc-card.b nfc-keys f
 
   
  +
This will write the contents to nfc-card.a and nfc-card.b while using the keys provided in nfc-keys. Keys for an existing MIFARE card can be easily extracted using the mfoc tool. Missing keys for MIFARE classic can be generated using mfoc.
 
  +
[[Kategorie:MultiMedia]]

Version vom 9. November 2018, 10:50 Uhr

11.2018: verbal wird immer wieder von Problemen mit der Multimediatechnik berichtet. Dokumentiert wird das aber nur selten, so dass eine Fehlermeldung an den Hersteller nur schwer bis gar nicht möglich ist. Nur falls es uns gelingt, Meldungen von Problemen zu sammeln, wird irgendwann Ursachenforschung stattfinden.


Ansprechpartner

Störungen sind je nach Kontext unterschiedlich zu melden:

  • Sicherung ausgelöst, Licht, Türen, Fenster: Hausmeister
  • Multimediatechnik wie Hörsaal-PC, Beamer, Bedienpanel, Smartboard: Telefon 1171 = Störmeldezentrale. Unsere Gebäudenummer ist 2412.
  • hausintern: Gunnar Krull / Udo Burghardt
  • Schließsystem: Annette Kadziora
  • ...


Vorfälle

Die folgende Tabelle kann bitte von jedem Nutzer (egal ob Studierender oder Mitarbeiter!) ergänzt werden. Bitte beachten Sie, dass dies hier keinen Support-Request auslöst, sondern nur der Dokumentation dient.

Datum Behoben Raum Fehlfunktion Meldung an/via Grund, sofern bekannt Abhilfe
2018-11-07 2018-11-07 2.101 Smartboard-Darstellungsprobeme --> nicht benutzbar hausintern System-Absturz? Power-Cycle. Dann Firmware-Update. Unklar, ob Ursache somit behoben...
2018-11-08 - 0.101 Deckenbeamer nicht nutzbar 1171 --> Multimedia - Multimedia: Stromversorgung der HDMI-Übertragungsstrecke disfunktional --> Elektrotechnik
... ... x.101 ... ... - ...
... ... x.101 ... ... - ...
... ... x.101 ... ... - ...
... ... x.101 ... ... - ...
... ... x.101 ... ... - ...
... ... x.101 ... ... - ...
... ... x.101 ... ... - ...


Siehe auch

Links