LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-29-2016, 04:52 PM   #1
V12venator
LQ Newbie
 
Registered: Nov 2016
Distribution: Zorin 9, 10 and Mint Maya
Posts: 6

Rep: Reputation: Disabled
How to use PCMCIA Smart Card reader on Panasonic CF-29


Hello all, first time posting here and I'm wondering how I would go about using an OmniKey CardMan 4000 PCMCIA on a Panasonic Toughbook CF-29 running Linux Mint 13(?) Maya. I've downloaded and set up the software using the information at militarycac.com and feliciano.tech to no avail. Can someone point me in the right direction of recognizing the PCMCIA card on the system and telling the system where to look for the credentials on the smart card?


lsmod outputs reveal:
pcmcia 39826 1 cm4000_cs
pcmcia_rsrc 18267 1 yenta_socket
pcmcia_core 21511 3 pcmcia,yenta_socket,pcmcia_rsrc

Many thanks in advance,
V12Venator

Last edited by V12venator; 11-29-2016 at 05:32 PM. Reason: Adding lsmod output
 
Old 11-29-2016, 06:36 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Run

Code:
sudo updatedb
let it take it's time to finish. Then if you know the name of what came off the pmcia card

Code:
locate <name of whatever
example from my laptop

Code:
$ locate clicompanion
/etc/clicompanion.d
/etc/clicompanion.d/clicompanion2.config
/etc/clicompanion.d/clicompanion2.config.debian
/etc/clicompanion.d/clicompanion2.config.ubuntu
/usr/bin/clicompanion
/usr/lib/python2.7/dist-packages/clicompanion-1.1.egg-info
/usr/lib/python2.7/dist-packages/clicompanionlib
/usr/lib/python2.7/dist-packages/clicompanionlib/__init__.py
/usr/lib/python2.7/dist-packages/clicompanionlib/__init__.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/config.py
/usr/lib/python2.7/dist-packages/clicompanionlib/config.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/helpers.py
/usr/lib/python2.7/dist-packages/clicompanionlib/helpers.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/menus_buttons.py
/usr/lib/python2.7/dist-packages/clicompanionlib/menus_buttons.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/plugins.py
/usr/lib/python2.7/dist-packages/clicompanionlib/plugins.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/preferences.py
/usr/lib/python2.7/dist-packages/clicompanionlib/preferences.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/tabs.py
/usr/lib/python2.7/dist-packages/clicompanionlib/tabs.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/utils.py
/usr/lib/python2.7/dist-packages/clicompanionlib/utils.pyc
/usr/lib/python2.7/dist-packages/clicompanionlib/view.py
/usr/lib/python2.7/dist-packages/clicompanionlib/view.pyc
/usr/share/clicompanion
/usr/share/applications/clicompanion.desktop
/usr/share/clicompanion/locale
/usr/share/clicompanion/locale/clicompanion.mo
/usr/share/doc/clicompanion
/usr/share/doc/clicompanion/NEWS.Debian.gz
/usr/share/doc/clicompanion/changelog.Debian.gz
/usr/share/doc/clicompanion/copyright
/usr/share/man/man1/clicompanion.1.gz
/usr/share/pixmaps/clicompanion.16.png
/var/lib/dpkg/info/clicompanion.conffiles
/var/lib/dpkg/info/clicompanion.list
/var/lib/dpkg/info/clicompanion.md5sums
/var/lib/dpkg/info/clicompanion.postinst
/var/lib/dpkg/info/clicompanion.prerm
/var/tmp/mozilla_scuzbucket0/clicompanion_1.3-1_all.deb

You can look in /media folder if it is mounted also.

Code:
lspci -knn
should help identifying the cardbus.

Last edited by rokytnji; 11-29-2016 at 06:37 PM.
 
Old 11-29-2016, 07:00 PM   #3
V12venator
LQ Newbie
 
Registered: Nov 2016
Distribution: Zorin 9, 10 and Mint Maya
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ran updatedb and locate cm4000_cs

Comes up with kernel/drivers/.../cm4000_cs.ko for four versions of the 3.2.0 kernel, /usr/include/linux/cm4000_cs.h, and six /src/linux.../include/linux/cm4000_cs.h

lspci -knn shows cardbus bridge 0.0 and 0.1 being Ricoh Co Ltd RL5c476 II.

I don't believe my system is seeing the PCMCIA slots as being available hardware to use.
 
Old 11-29-2016, 07:34 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
If Maya has the inxi info script.

Post output in code tags (advanced reply > hash mark on tool bar)

Code:
inxi -Fxxz
so members can see what you are running on that cf-29 as far as kernel and specs.

Sounds like you are running a old 3.2 kernel. I am on 4.8.10 myself.
Edit: Maya is new so probably a 4 version kernel of some sort should show in inxi which I now know mint linux has and uses.

Last edited by rokytnji; 11-29-2016 at 07:42 PM.
 
Old 11-29-2016, 07:37 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Also.

Code:
dmesg | grep ricoh
might show something. Maybe?

https://linuxconfig.org/getting-know...your-linux-box
 
Old 12-02-2016, 07:51 PM   #6
V12venator
LQ Newbie
 
Registered: Nov 2016
Distribution: Zorin 9, 10 and Mint Maya
Posts: 6

Original Poster
Rep: Reputation: Disabled
From CF-29

To Rokytnji:

inxi output
Code:
System:    Host: ESCI-JDH-L-CF29-CE14 Kernel: 3.2.0-113-generic i686 (32 bit, gcc: 4.6.3) 
           Desktop: Gnome Distro: Linux Mint 13 Maya
Machine:   System: Matsushita (portable) product: CF-29HTP44BM version: 001
           Mobo: Matsushita model: CF29-3 version: 001 Bios: Phoenix K.K. version: V3.00L13 date: 05/22/2005
CPU:       Single core Intel Pentium M (-UP-) cache: 2048 KB flags: (sse sse2) bmips: 2793.13 clocked at 1400.00 MHz 
Graphics:  Card: Intel 82852/855GM Integrated Graphics Device bus-ID: 00:02.0 
           X.Org: 1.11.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1024x768@60.0hz 
           GLX Renderer: Mesa DRI Intel 852GM/855GM x86/MMX/SSE2 GLX Version: 1.3 Mesa 8.0.4 Direct Rendering: Yes
Audio:     Card: Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver: snd_intel8x0 ports: 1c00 18c0 bus-ID: 00:1f.5
           Sound: Advanced Linux Sound Architecture ver: 1.0.24
Network:   Card-1: Intel PRO/Wireless 2915ABG [Calexico2] Network Connection driver: ipw2200 ver: 1.2.2kmprq bus-ID: 02:01.0
           IF: eth1 state: up mac: <filter>
           Card-2: Realtek RTL-8139/8139C/8139C+ driver: 8139too ver: 0.9.28 port: 3000 bus-ID: 02:02.0
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 120.0GB (6.9% used) 1: /dev/sda SAMSUNG_HM121HC 120.0GB 
Partition: ID: / size: 110G used: 7.7G (8%) fs: ext4 ID: swap-1 size: 0.26GB used: 0.19GB (74%) fs: swap 
           ID: swap-2 size: 0.52GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 51.8C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 132 Uptime: 12 min Memory: 227.9/487.0MB Runlevel: 2 Gcc sys: 4.6.3 Client: Shell inxi: 1.7.33
Nothing came back for the dmesg command.
 
Old 12-03-2016, 12:28 AM   #7
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by V12venator View Post
Ran updatedb and locate cm4000_cs

Comes up with kernel/drivers/.../cm4000_cs.ko for four versions of the 3.2.0 kernel, /usr/include/linux/cm4000_cs.h, and six /src/linux.../include/linux/cm4000_cs.h

lspci -knn shows cardbus bridge 0.0 and 0.1 being Ricoh Co Ltd RL5c476 II.

I don't believe my system is seeing the PCMCIA slots as being available hardware to use.
do a "lsmod" to check weather the kernel module is loaded or not the cms4000_cs.ko is the kernel module
next you need to find how to load the module so it will look for yoir card
had to do this for a bunch of ethernet cards it can be a bitch to get one working
you may find all the info you need in your modules configuration file
slackware has it in /etc/rc.d/rc.modules {kernel version number}
you could also try googling your card name and model number with "linux" at the end of the search string
hopes this helps

Last edited by rob.rice; 12-03-2016 at 12:38 AM.
 
1 members found this post helpful.
Old 12-03-2016, 08:59 AM   #8
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
To add to rob rice said. And yes. lsmod may show something. I got a sneaky feeling the 3.2 kernel you showed you are running is older than when that smart card was made.

It is not my dog hunting. So I cannot say for sure without lot's of research.

For dmesg. try

Code:
dmesg|tail
You will get a return on that one. Look to the end lines of a readout for error messages on that smartcard.
 
Old 12-03-2016, 09:06 AM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
I own a Panasonic 2001 CF-48 toughbook. It is way way older than a CF-29.

Just curious why you are running a older kernel on it is all. I can run a 4 series kernel on my single core pentium M 1.8 GHZ cpu. Running AntiX.
 
Old 12-03-2016, 05:08 PM   #10
V12venator
LQ Newbie
 
Registered: Nov 2016
Distribution: Zorin 9, 10 and Mint Maya
Posts: 6

Original Poster
Rep: Reputation: Disabled
The Processor isn't PAE capable, so I had to downgrade to Maya while already being 32 bit anyway.
 
Old 12-03-2016, 05:50 PM   #11
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
The Processor isn't PAE capable,
What> Have you more than 4 gig of ram in that CF-29. If not. It should not matter. Don't install the pae. Install the i686 or i386 version.
My panasonic cf-48 only runs 1.2 gig of ram. Maxed out.

https://community.linuxmint.com/tutorial/view/1718

Last edited by rokytnji; 12-03-2016 at 05:53 PM.
 
Old 12-03-2016, 07:54 PM   #12
V12venator
LQ Newbie
 
Registered: Nov 2016
Distribution: Zorin 9, 10 and Mint Maya
Posts: 6

Original Poster
Rep: Reputation: Disabled
The kernel came with the distro. I haven't bothered to try and upgrade in case it messes with the system.
 
Old 12-03-2016, 09:20 PM   #13
V12venator
LQ Newbie
 
Registered: Nov 2016
Distribution: Zorin 9, 10 and Mint Maya
Posts: 6

Original Poster
Rep: Reputation: Disabled
Just tried to upgrade to 4.0 kernel. Said this kernel does not support non-PAE CPU.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Panasonic Toughbook (laptop) has SD card reader no distro seems to work with. brjoon1021 Linux - Hardware 2 07-20-2009 09:55 AM
usb device detection, manual insertion card(smart card) reader problem, zapkhiel Linux - Hardware 4 07-17-2009 08:50 AM
smart card reader questions rastavideo Ubuntu 5 08-01-2006 10:39 AM
Smart card reader mehro Linux - Software 0 12-06-2005 12:56 AM
Smart card reader (PCI) with open pgp card cracidy Linux - Hardware 0 10-24-2005 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration