How to properly install omnikey readers on Ubuntu

I use omnikey readers with OScam and I had many problems with readers detection especially after cold boot or after reboot of my ubuntu 12.04 32bit server. Therefore I decided that it is finally time to do some research and try to fix annoying detection problem in OScam. You need to do the following:

1. Use WinSCP and connect to your receiver using SCP connection. Search for /etc/opensc/opensc.conf file and replace it with this one here:

Then you need to double click on it and file should open in WinSCP internal file editor or in external one, it depends on WinSCP settings. Search for “provider_library = /lib/” line and replace it with “provider_library = /lib/i386-linux-gnu/” if you have 32bit Ubuntu or replace it with “provider_library = /lib/x86_64-linux-gnu-linux-gnu/” if you have 64bit Ubuntu. After succesful editing save the file and go to the next step.

2. Search for /etc/init.d/pcscd and double click on it. Then you need to search for these lines:

# if you need to pass arguments to pcscd you should edit the file
# /etc/default/pcscd and add a line
# DAEMON_ARGS=”–your-option”

Please change these lines to:

# if you need to pass arguments to pcscd edit to:
# /etc/default/pcscd and add a line

This will prevent never ending logging to /var/log/messages file!

This should be it. After these steps your omnikeys should work without any problems. Do not forget to execute these commands before doing anything: “apt-get update&apt-get upgrade”. If you dont know how to install omnikey drivers, just execute these commands and readers should start working: “apt-get install opensc pcscd libccid pcsc-tools”


Omnikey SmartCard Reader Review

I have two Omnikey reader at home: Omnikey 3121 and 1021. Both are USB cardreader and can be used with Windows or Linux OS. Omnikeys are very popular because they are cheap and reliable. I am using them with Fedora 14 and pay-tv smartcards. I have only one major complaint. It doesnt support smartcards with Irdeto encryption. But you can use Smargo instead.


Card systems read by Omnikey/Cardman/SCM SCR readers

Omnikey OScam

This card systems work 100% info, tested by me:
– Nagravision 2 and 3
– Viaccess 3.0 and 4.0
– NDS2 and NDS3
– Conax (MTV Unlimited for example)

Card systems that doesnt work -100% info, tested by me:
– Irdeto 2

This is short list that is 100% correct. If anyone else thinks that list isnt complete, please leave a comment.

Powered by