From owner-freebsd-current@freebsd.org Thu Nov 17 19:52:44 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 246BDC47DE5 for ; Thu, 17 Nov 2016 19:52:44 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C7E9989 for ; Thu, 17 Nov 2016 19:52:42 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from walrus.pepperland ([81.217.70.96]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MGB7j-1c1kAX3vpH-00FAq4; Thu, 17 Nov 2016 20:47:23 +0100 Subject: Re: SmartCard Reader on CURRENT To: "O. Hartmann" , FreeBSD Questions References: <20161117104438.72083b0f@thor.walstatt.dynvpn.de> From: Stefan Ehmann Message-ID: <889dd4ea-65c9-2ae0-5542-25f8edd6075c@gmx.net> Date: Thu, 17 Nov 2016 20:47:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161117104438.72083b0f@thor.walstatt.dynvpn.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:uVnsTVJak7QGDQoWcE5PypM2nymKmR4SogBY0xe1ynNPpLyBVbz yRxRVvmZPREem/4Y4mPquSoJgHZ5DCRaOQ3Ih+E0OipHKX6bphFyaaZZo84fCbf2MpXUTP5 rLIJEYOvedC2MmzF+l3EzhennevdtF2898ag3+OS3nb5GH8nUQLH5SbpuwpnpAa+W3yZGhN Ok1T6JCwJJWlsV9druICw== X-UI-Out-Filterresults: notjunk:1;V01:K0:hxoTCvARt7g=:7ZD9BjYbNhi8yUrvd6NCyk /CbuR9wcPWG07K5TGlMjqLAwkOqIDOpVrcz2+b08LEJBiGpZuPejpi1d87GwZ/23zeedaOy48 KwkRRRJDs7wlQSYNVIMIBKqzpgtzp9PUThwI66ukjapxMRcaS/kWUH+dgnIEu0yu+Mszf/3XL RQE6cHbILWERpheYISsZrY+kp9oZYV7bbcZbWZB9UsCp7aJYwuFyg3Uz1ERsVXzNKiVaieXSd 4Lkon6oONg275xpkvyF32nJoqAiqkhuhOM1+8VBaV0jOtgKKTrWec69RivYqhCIE7fs+Qtkgn Jaza8XNDpd/XmnS27y+lGb5QOBuYCSYSedTXcTfcHttlf4H9DsThjE3D2hrQKjktRLyElHNpW GGX68NLUQ+nZSqpnmitJoQqanwZdfQpsAIQoR7eH4DrIf5d0kZ0E/K00ba5g+w9drfo40CptG 1SYDCpQvPopVr9GthmTraOI7Ad9+Z+yjDTiLU+CXFy95VUTOACuKY/OBPDlMP9PSOtLV7s4AT AMb0+wvfpAiwrc5IZz73d0dyCvRUpmlZY64ETi3sau87Ntf0MZLlBzpRcwONTEqGU/qgS0atc f3fNQS8zAVk+H5hc91GbV046HDORYWXPmcGveW9g4YooeUdSwnV+OCYrA8I0SHknT+kQp9h+5 VK+Bnazo5vI3Sf4C2poSXHmsetoIuvfsE82FatFjmszQbDG3FfQ0s5o0u3Xz0ylGgO+tJamJI Fhs9SJ1AyMC5Rlo1GBzYIgmuCQPh4uydJRKcOQiKej0m1z5VXHCzDuPhWk0LBmSu2M5NNUVb9 dYXaySN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 19:52:44 -0000 On 17.11.2016 10:44, O. Hartmann wrote: > Hello, > > I'm looking for a suitable SmartCard read with USB connection for 12-CURRENT (and > probably 11-STABLE). We have lots of Omnikey 3121 devices at hand, but I wasn't able to > make this type of SC reader working. it is recognised by the kernel as UGEN device on the > USB bus. > > I tried to investigate what driver I need to use, but failed. The references I found > referring to SC card daemones all point to a serial device like /dev/cuaUXX - but as far > as I know, such a device is present if the UART<->USB has been recognised by the > appropriate driver. > > So, the question is: do I miss something here (I'm not quite familiar with USB/serial > devices)? > > If the device Omnikey HID 3121 is properly supported and I'm to dull to figure this out - > please enlighten me! If there are aafordable alternatives (external or internal for > add-on in a workstation) I would be glad to get your hint. On 11.0 the OMNIKEY 3121 works fine: # pkg install pcsc-lite ccid # echo 'pcscd_enable="YES"' >> /etc/rc.conf # service pcscd start For a simple test you can install security/pcsc-tools and run pcsc_scan or (g)scriptor. If you have problems, I suggest starting pcscd manually with # pcscd -f -d