Reading MyKad in Linux
If this is your first time reading my guide in reading MyKad, I suggest you read my first post regarding MyKad. It will give you the basic idea what this is all about.
This article will only guide you what you should do so that you can read MyKad in Linux. However, your success rate still depends on the type of hardware you use, especially the reader since there are not so many reader that support Linux. These are my working environment in Linux:
- Slackware 12
- JDK 6 Update 3
- Netbeans 6.0
- Athena Smart Card Reader
For more info about the application used at the end of this guide, please refer to my post about Reading MyKad in Windows. I would like to thanks my colleague for guiding me on how to do this before. So, here it goes:
- Login as root first.
- Since my reader use USB, I need to get libusb library.
- Install libusb library
1 2 3 4 5 6 7 8 9
tar zxvf libusb-0.1.12.tar.gz cd libusb-0.1.12. ./configure make make install
- Get the latest version of PCSC Lite.
- Install PCSC Lite
1 2 3 4 5 6 7 8 9
tar zxvf pcsc-lite-1.4.4.tar.gz cd pcsc-lite-1.4.4 ./configure make make install
- For pcsc-lite-1.5.1, change the 3rd line to
./configure --enable-libusb --disable-libhal
Thanks to pakdo for the update :)
- Download the driver for the reader first. In this case, I’m using a reader from Athena.
- Install the driver
1 2 3 4 5 6 7 8 9
tar -xjvf asedriveiiie-usb-3.5.tar.bz2 cd asedriveiiie-usb-3.5 ./configure make make install
- Get Windows Binary of JPC/SC Java API, I know it’s for Windows but it also has precompiled linux library in it.
- Extract, copy and update
1 2 3 4 5 6 7
unzip jpcsc-0.8.0.zip cd jpcsc/bin/linux cp libjpcsc.so /usr/lib ldconfig
- Start the pcsc service
pcscd -f - Download the application here.
- Run. It should be working now.











Where can i find the athena smart card reader in Malaysia ?
cheburn
7 Jan 08 at 01:34 PM
you can actually buy it online, at the same link given above, I’m not sure if you can find it in Malaysia, if you did find the shop where you can actually buy this particular reader directly, please, leave the contact number here
amree
7 Jan 08 at 07:51 PM
for pcsc-lite-1.5.1 try
./configure –enable-libusb –disable-libhal
pakdo
15 Jan 09 at 04:30 PM
Post updated accordingly, thanks for the update from pakdo
amree
27 Jan 09 at 08:02 PM