How to Compile the driver of Smart Card Reader....

Help and support for Ultimate Edition 2.5


How to Compile the driver of Smart Card Reader....

Postby Thorzton » Sat May 22, 2010 6:40 pm

Omnikey Cardman 2020 to work with the new kernel.
I read the installation files, but i don't really understand whats wrong.
http://www.hidglobal.com/driverDownloads.php?techCat=19&prod_id=199# here I got the driver,
bur in the end of installing, he sayd, its not found the right kernel, what should i do? :?:
System:
Motherboard:Asrock 970 Extreme4 Mainboard
CPU: AMD Phenom (4x3,0Ghz)
RAM: 12GB DDR3
Video: nVidia 610 gts 1024MB
Disk Drives: 2 x 500 Gb changed to hitachi
Monitor: Yuraku 19 zoll 16/9
Soundcard: onboard
User avatar
Thorzton
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 34
Joined: Tue Nov 03, 2009 9:32 am
Operating System: Ultimate Edition 3.5 64 BIT



Re: How to Compile the driver of Smart Card Reader....

Postby 2hot6ft2 » Sat May 22, 2010 10:11 pm

From reading the README file it should go like this.
Save the cm2020_installer_v2_4_1_src.tar.gz file in your home folder
Places > Home folder
Right click on it and select extract here. Then open a terminal
Applications > Accessories > Terminal
and run one line at a time (same goes for other commands below to save space instead of multiple single code boxes)
Code: Select all
cd cm2020_installer_v2_4_1_src/pcsc-lite-1.2.0
./configure
make
sudo make install
cd cm2020_installer_v2_4_1_src
sudo sh install

If the installer script exits with the message that your kernel version is not supported,
you have to build the kernel module by yourself.
Code: Select all
cd cm2020_installer_v2_4_1_src/src/cm2020
make

which will generate a file cardman.o/.ko. Rename this file to cardman.<your-kernel-name>.o/.ko, where <your-kernel-name> is what the command `uname -r' prints on your system. Then copy the file to the modules directory and rerun ./install.
Code: Select all
uname -r

retuns something like this
2.6.31-22-generic
Go to
Places > Home folder > cm2020_installer_v2_4_1_src > src > cm2020
And right click on the cardman.o/.ko file and rename the file
cardman.2.6.31-22-generic.o/.ko
Then right click on the file and select copy and go to
Places > Home folder > cm2020_installer_v2_4_1_src > modules
and paste it.

This should only be necessary if you are missing kernel headers on your system or something else has gone wrong while the installer tries to compile the kernel module for you.
Code: Select all
cd cm2020_installer_v2_4_1_src
sudo sh install

------------------------------
Setting the Library Path
------------------------------
Code: Select all
gksu gedit /etc/ld.so.conf

and add to the bottom of the file
/usr/local/lib

Save and Close
Code: Select all
ldconfig

Code: Select all
sudo apt-get install portmap

Reboot then run
Code: Select all
sudo /usr/local/sbin/pcscd


If it works you can add it to
System > Preferences > Startup Applications
Click Add and fill in like this
Name: PCSC-daemon
Command: /usr/local/sbin/pcscd
Comment: Whatever you want
<BREW>
Image
HP G60-125NR - AMD Turion X2 64 - nVidia GeForce 8200M G - 128 GB SSD Dual boot - Ultimate Edition, Win 10 Pro
HP G60-121WM - AMD Sempron SI-40 - nVidia GeForce 8200M G - 128 GB SSD - Dual boot - Ultimate Edition, Win 10 Pro
Custom build, Rosewill Challenger ATX Gaming Case, AMD Phenom II x4 955 C3 rev., MSI 870A-G54, 2x ATI HD4850 512MB /256bit GDDR3 & dual precision, GSkill 8GB 1600 RAM - Multi boot - Ultimate Edition, Win 10 Pro, Beta Testing
User avatar
2hot6ft2
Moderator
 
Posts: 533
Joined: Sun May 25, 2008 12:30 pm
Location: Alabama, USA
Operating System: Ultimate Edition 3.2 64 BIT


Return to Ultimate Edition 2.5

Who is online

Users browsing this forum: No registered users and 2 guests

cron