{"id":292,"date":"2004-07-25T09:33:36","date_gmt":"2004-07-25T13:33:36","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=292"},"modified":"2004-07-25T09:33:36","modified_gmt":"2004-07-25T13:33:36","slug":"simple-cheapo-cf-card-adaptor-and-linux","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2004\/07\/25\/simple-cheapo-cf-card-adaptor-and-linux\/","title":{"rendered":"simple cheapo CF card adaptor and Linux"},"content":{"rendered":"<p>As I&#8217;m about to go (almost) entirely digital, I&#8217;m looking for ways of reading CF cards on my Linux-based ThinkPad. I was in <a href=\"http:\/\/henrys.ca\/\">Henry&#8217;s<\/a> clearance store yesterday, and they had PCMCIA CF card readers for $10. I&#8217;ve found that it works well, though it took me a while to get it going. Here&#8217;s what I did:<\/p>\n<p>You will need to install <a href=\"http:\/\/pcmcia-cs.sourceforge.net\/\">Card Services for Linux<\/a>, if you haven&#8217;t already. After that&#8217;s done, you can check which cards are installed with <code>cardctl ident<\/code>:<\/p>\n<pre>\nSocket 0:\n  product info: \"Wireless Network CardBus PC Card\", \"Global\", \"\", \"\"\n  manfid: 0x0097, 0x8402\nSocket 1:\n  product info: \"LEXAR ATA FLASH CARD     \", \"STORM  \", \"ST BM\"\n  manfid: 0x4e01, 0x0200\n  function: 4 (fixed disk)\n<\/pre>\n<p>Ignore the Socket 0 output&nbsp;&mdash; it&#8217;s my wireless network card. The adaptor in socket 1 does contain a Lexar CF card; you&#8217;ll get a different message if yours is a different manufacturer.<\/p>\n<p>If you don&#8217;t get this, it&#8217;s likely that (somehow) your system isn&#8217;t preloading the ide-cs module; check the \/etc\/pcmcia\/config file, and read the various pcmcia-cs manual pages.<\/p>\n<p>If you check the output of the kernel messages (with <code>dmesg<\/code>, or your tool of choice), you should see:<\/p>\n<pre>\nhde: LEXAR ATA FLASH, CFA DISK drive\n<\/pre>\n<p>You&#8217;ll want to make a mount point for this disk, so <code>mkdir -m777 \/mnt\/flash<\/code>. Then you can edit \/etc\/fstab, and add:<\/p>\n<pre>\n\/dev\/hde1 \/mnt\/flash auto noauto,user,rw 0 0\n<\/pre>\n<p>From now on, you can access your camera&#8217;s CF card from \/mnt\/flash. No messing around with USB required!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;m about to go (almost) entirely digital, I&#8217;m looking for ways of reading CF cards on my Linux-based ThinkPad. I was in Henry&#8217;s clearance store yesterday, and they had PCMCIA CF card readers for $10. I&#8217;ve found that it works well, though it took me a while to get it going. Here&#8217;s what I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,2],"tags":[1786,270,1787,656],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-computers-suck","category-goatee-stroking-musing-or-something","tag-cf","tag-linux","tag-pcmcia","tag-thinkpad"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-4I","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}