Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 18:48:53 +0100
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        "Julian H. Stacey" <jhs@berklix.com>, freebsd-usb@freebsd.org
Subject:   Re: Reiner SCT RFID unknown device id?
Message-ID:  <201402221749.s1MHmrZK021602@fire.js.berklix.net>
In-Reply-To: Your message "Sat, 22 Feb 2014 14:26:18 %2B0100." <20140222142618.00006f9b@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> On Tue, 18 Feb 2014 22:16:17 +0100
> "Julian H. Stacey" <jhs@berklix.com> wrote:
> 
> > Hans Petter Selasky wrote:
> > > On 02/17/14 16:54, Mathias Picker wrote:
> > > > I just found a used Reiner SCT RFID
> > > > (http://www.reiner-sct.com/produkte/chipkartenleser/cyberJack_RFID_standard.html)
> > > > and bought it, hoping I could get it to work in FreeBSD.
> 
> A port at
> http://www.leidinger.net/test/pcsc-cyberjack.tar.bz2
> 
> I did this port not for the RFID reader, it's for another one. It may
> or may not work for you.

Thanks Alexander !, I downloaded & installed on 9.2-RELEASE,

I reduced files/* long rooted names to eg
 --- ifd/Makefile.in.orig        2013-01-19 23:47:28.016736517 +0100
 +++ ifd/Makefile.in     2013-01-19 23:48:19.870759570 +0100
copies in
 http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/security/pcsc-cyberjack/

I ran make package-recursive to make sure any dependencies are in place,
& installed security/pcsc-tools

pcsc_scan
 PC/SC device scanner
 V 1.4.21 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
 Compiled with PC/SC lite version: 1.8.8
 SCardEstablishContext: Service not available.

man pcscd
 
/etc/rc.conf:
 pcscd_enable="YES"      # for /usrlocal/etc/rc.d/pcscd

 /usr/local/etc/rc.d/pcscd start

pcsc_scan
 PC/SC device scanner
 V 1.4.21 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
 Compiled with PC/SC lite version: 1.8.8
 Using reader plug'n play mechanism
 Scanning present readers...
 Waiting for the first reader...

ls -l  /usr/local/etc/reader.conf.d/reader.conf	# nothing
cd /usr/local ; find . -name find . -name \*reader.conf\*
 ./man/man5/reader.conf.5.gz
man 5 reader.conf
 "USB readers SHALL NOT  be  configured  using  this  file"
cd /usr/local/lib/pcsc/drivers/libifd-cyberjack.bundle/Contents 
find . -type f
 ./Info.plist
 ./PkgInfo
 ./FreeBSD/libifd-cyberjack.so.6
 ./FreeBSD/libifd-cyberjack.la

 vi Info.plist
   VendorID .. 0x0c4b same as mine
   ProductID does not include my 0x9102
   do a quick hack in 3 blocks to add it.

/usr/local/etc/rc.d/pcscd restart
 pcsc_scan
  Waiting for the first reader...^D

Got to stop for now.  Am I on course please ?

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Interleave replies below like a play script.  Indent old text with "> ".
 Send plain text, not quoted-printable, HTML, base64, or multipart/alternative.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402221749.s1MHmrZK021602>