阅读与Linux的USB读卡器? OMNIKEY CardMan 3121 USB [英] Read USB card reader with Linux? OMNIKEY CardMan 3121 USB

查看:546
本文介绍了阅读与Linux的USB读卡器? OMNIKEY CardMan 3121 USB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有此OMNIKEY CardMan 3121的USB,这是一个卡阅读器,如读比利时身份证。我现在有它连接到我的Ubuntu的USB接口。

I have this OMNIKEY CardMan 3121 USB, which is a card reader such as reading Belgian identity cards. I am now having it connected to my Ubuntu on USB.

我怎样可以读取使用bash或Linux下的Python或Java或C卡数据?使用的lsusb / dmesg的所有我能看到的是以下内容。

How can I read the card data using BASH or Python or Java or C under Linux? Using lsusb/dmesg all I can see is the following.

Bus 003 Device 032: ID 076b:3021 OmniKey AG CardMan 3121

[364695.783762] usb 3-2: new full-speed USB device number 32 using xhci_hcd
[364695.805281] usb 3-2: New USB device found, idVendor=076b, idProduct=3021
[364695.805288] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[364695.805292] usb 3-2: Product: Smart Card Reader USB
[364695.805296] usb 3-2: Manufacturer: OMNIKEY AG
[364695.805707] usb 3-2: ep 0x83 - rounding interval to 128 microframes, ep desc says 192 microframes

追问:

样codeS:的https://www.hidglobal.com/Download-EULA?headless=&regionfree=&nid=14983

推荐答案

您可以使用PCSC(个人电脑 - 智能卡)。这是用于访问不同的卡和读卡器以同类方式的框架/架构

You can use the PCSC (Personal computer - smart card) which is a framework/architecture for accessing different cards and readers in an homogeneous way.

存在于不同的语言经纪人。
这里是一个链接,一个PCSC蟒蛇教程:的http:// ludovicrousseau .blogspot.pt / 2010/04 / PCSC-样品在python.html

Brokers for different languages exist. Here is a link for a pcsc python tutorial: http://ludovicrousseau.blogspot.pt/2010/04/pcsc-sample-in-python.html

编辑:在Ubuntu上安装PCSC-精简版

edit: on ubuntu install pcsc-lite

这篇关于阅读与Linux的USB读卡器? OMNIKEY CardMan 3121 USB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆