From owner-freebsd-usb@FreeBSD.ORG Sun Feb 23 16:58:16 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8194DD68 for ; Sun, 23 Feb 2014 16:58:16 +0000 (UTC) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1B710D8 for ; Sun, 23 Feb 2014 16:58:15 +0000 (UTC) Received: from outgoing.leidinger.net (pD9FBB92C.dip0.t-ipconnect.de [217.251.185.44]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 7128F844009; Sun, 23 Feb 2014 17:57:49 +0100 (CET) Received: from unknown (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id 196E43DEE; Sun, 23 Feb 2014 17:57:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1393174666; bh=zxPrVWYFV9AK42hbPP+F3C9+XitnCOPnSheVFkXxej8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=LLo+Hp0P8gcuNPAvDwFKqNTm2jGOEPtf9N6Blnqd99WtJ2EsdhsLn7TiDDwofp9CE jpPYHkYmjSujInMMINYpoFzm027K03pxkE8SqOCjnuBuli1Uihj9c5X/BA8tdaznQ6 58yZtQsdBNuK3JthN4lYvjbkfk/U9Jdh5IXlaxdGkczsg2XlcERFoU7SObI1U95MDs qvwez2Zr1E7g5QpfZCNiRmXM8W2lcTOaNI4hCqzVxHXSpuKKEqhdoDlDDjft5FBn11 RNQciK+fLTx2QwvSHGVzr7rtP0YgtfRVvFALA2G6N/1tXToOJv7GL4mEN+h+Yq9j/U zZSayFpotgdWQ== Date: Sun, 23 Feb 2014 17:57:42 +0100 From: Alexander Leidinger To: "Julian H. Stacey" Subject: Re: Reiner SCT RFID unknown device id? Message-ID: <20140223175742.00001d19@unknown> In-Reply-To: <201402221749.s1MHmrZK021602@fire.js.berklix.net> References: <20140222142618.00006f9b@unknown> <201402221749.s1MHmrZK021602@fire.js.berklix.net> X-Mailer: Claws Mail 3.9.2-55-g74b05b (GTK+ 2.16.6; i586-pc-mingw32msvc) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 7128F844009.A0B9B X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.72, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.22, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_45 0.60, RP_MATCHES_RCVD -0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1393779469.92389@PyJZkAaBI/zrqSdpeD+yzw X-EBL-Spam-Status: No Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 16:58:16 -0000 On Sat, 22 Feb 2014 18:48:53 +0100 "Julian H. Stacey" wrote: > Alexander Leidinger wrote: > > A port at > > http://www.leidinger.net/test/pcsc-cyberjack.tar.bz2 > >=20 > > I did this port not for the RFID reader, it's for another one. It > > may or may not work for you. >=20 > Thanks Alexander !, I downloaded & installed on 9.2-RELEASE, [...] > I ran make package-recursive to make sure any dependencies are in > place, & installed security/pcsc-tools [...] > vi Info.plist > VendorID .. 0x0c4b same as mine > ProductID does not include my 0x9102 > do a quick hack in 3 blocks to add it. It may not be supported... did you check how it is supported in linux? > /usr/local/etc/rc.d/pcscd restart > pcsc_scan > Waiting for the first reader...^D >=20 > Got to stop for now. Am I on course please ? =46rom something I wanted to finish and publish a year ago but didn't yet (the following is just a small excerpt): ---snip--- Then I installed security/opensc (smart card framework), devel/libccid (card reader driver for the Aladdin eToken PRO 72k and for my Cherry card reader), pcsc-cyberjack (a card reader driver for my "Reiner SCT cyberJack secoder" card reader which I ported to FreeBSD but which is not in the Ports Collection, as it does not support enough features you expect from a card reader), security/engine_pkcs12 (a plugin-in for OpenSSL so that it can talk directly with the smart card) and security/gnupg with the custom config option SCDAEMON (Smartcard daemon). As a dependency the pcsc-lite port (smart card reader framework) is installed, and the pkg-message tells to add some lines to /etc/devd.conf when USB card readers shall be used (so watch out and follow the instructions). As I am using the smart card in a jail, I had to modify those lines so that they execute the command inside the jail (I prefixed the command with "/usr/sbin/jexec "). For opensc the sample config file /usr/local/etc/openct.conf-sample has to be copied to /usr/local/etc/openct.conf. ---snip--- The next thing in my "what I did" docs is the command which looks for the openpgp card in the reader, so I don't have more. So check your devd.conf for a suitable line for the pcsc-lite port. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137