[SOLVED] laptop's onboard SD card reader does not work with Linux. Intel Mobo...
Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
laptop's onboard SD card reader does not work with Linux. Intel Mobo...
Hi, I have a Panasonic cf-73 Toughbook (one of those rugged laptops with a handle). I checked with panasonic, they hate linux, I gather -no drivers, no help, only disdain.
The laptop has an Intel motherboard, chipset and a Centrino 1.7 Ghz processor.
Anyway, I really need the SD card reader to work. It won't read SD cards at all - I am not trying SDHC, by the way. I know that it is too old to read the SDHC cards.
How can I get this to work? I have ubuntu installed, but I can run pretty much any liveCD that you recommend.
Provided the Ubuntu you are running has the following commands installed/available, please provide the output of these commands in a console (probably using sudo if necessary):
shell# lspci -vv
shell# lshw #(you probably won't have this one)
shell# lsusb
shell# lsscsi
I see a number of similar questions to yours via a Google search. I'd speculate that the reader will work, but I have no evidence of this yet; I'm being optimistic though
I'd like to determine (by the commands above) what subsystem the card reader is connected, and I'm hoping that as with many/most others, it's usb-based. If this is the case, you'll need to have in your kernel the 'USB Storage' driver enabled, and possibly one of the sub-drivers also.
As I don't use Ubuntu, I'm not sure what if any of the USB Storage drivers are enabled/available by default, but if you could also give the output of the following command, maybe we can answer this question too:
Code:
shell# ls /lib/modules/`uname -r`/kernel/drivers/usb/storage
Bus 001 Device 004: ID 0d62:a100 Darfon Electronics Corp. Benq Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 0bb4:0c02 High Tech Computer Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
First, I think you've omitted one of the data I requested earlier; that'd be the lsscsi command. I don't see the output above.
If you run that, and see some /dev/sda type of things, then you already have the module(s) you need.
With the output of lsscsi, please also show the output of `lsmod` so that we can see if any usb-storage drivers are already loaded. Because if they are then the next step would be to stick a card into the reader and see if you can mount it.
After providing the outputs of those 2 things, if there is no /dev/sda or /dev/sdb type of things, read on:
Depending on which Ubuntu you have installed, and therefore which kernel version you are running (if it's new enough) then based on what I've been reading on the net, there's hope that the card reader can work.
However, if it is to work, you'll need to verify that Ubuntu has enabled (as modules) the necessary driver(s) for the card reader. This might involve rebuilding your kernel if they are not enabled.
You'll want:
usb-storage (which you have)
lib-usual (which you have)
as well as the following stuff enabled as modules (this stuff I put here is from the kernel config file, but is comparable to what you would see when you are in the kernel configuration tool 'xconfig' which you would use with 'make' when building your own kernel.):
Code:
#
# Here's the important stuff -- the USB storage drivers for non-usual stuff such as odd card readers and other storage devices:
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_LIBUSUAL=y
# MMC/SD Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_BOUNCE=y
#
# MMC/SD Host Controller Drivers
#
CONFIG_MMC_SDHCI=y
CONFIG_MMC_WBSD=m
CONFIG_MMC_TIFM_SD=m
When I first installed a card reader in my machine (desktop machine) I enabled *everything* above in the usb-storage area, and made sure that BLK-DEVICE-SCSI was enabled, because a card in the card-reader should show up as a SCSI block device.
Once I figured out for sure exactly what I needed for my reader to work, I rebuilt the kernel next time with *only* what I really needed. In my case, it was easy -- the reader was driven by just the usb-storage driver alone.
In your case, I haven't been able to positively identify the manufacturer of the chip used in that card reader of yours. Apparently some Toughbook models use a Ricoh chipset, and others, I have no idea. But, I did find many cases of Linux (Ubuntu, Sidux, DSL, and others) running on various models of Toughbooks, and the card reader working. Based on these reports, I'm hoping that your card reader will have a similarly workable chip in it, and so one of these drivers will work.
Yours **might** be the usb device Bus 004 Device 003: ID 0bb4:0c02 High Tech Computer Corp. but again, I haven't been able to confirm this.
Make sure your kernel is as relatively new as possible, like > 2.6.23 or so. the command uname -r will tell you what kernel version you have.
If/when you've got the kernel rebuilt or otherwise upgraded, and/or have verified that you have indeed got these storage modules somewhere in: /lib/modules/`uname -r`/kernel/drivers/ it'd be time to test by sticking a card in..
Let's say your card reader has 2 slots for example. The first slot, with a card in it, would likely be mountable as /dev/sda1 and the second slot would be mountable as /dev/sdb1, and so on. (My reader has the 4 slots in a funny order; yours might too if it has more than 1 slot, but no matter, the idea remains the same). A single slot reader will likely show up as /dev/sda (whereby you would mount /dev/sda1)
Testing will involve:
1) shell$ lsmod #note the results
# optionally, you could modprobe ALL the modules, in turn, and follow these steps..
2) sticking a card into a reader slot.
3) repeat step 1. Note any difference (extra module in the list?)
4) try to mount the device: mount /dev/sda1 -t <filesystem-type=usually vfat> /mount/point -o ro/rw # ro/rw=read-only or read-write.
5) repeat as necessary for each usb-storage module, or if they're all installed, try mounting the card.
If a/the card mounts successfully, the mount command will not return anything to the console. If there's any kind of error, you'll see it on the console.
I know this post is kinda long/rambling, and maybe a bit confusing, but if there's stuff you don't understand, please ask further.
Also, if rebuilding the kernel sounds daunting, and/or you've never tried it, then do your best to investigate whether Ubuntu already has these modules available. I know Ubuntu tries to have MOST stuff the average user would want, but it may not have *everything* by default. I don't run Ubuntu myself, so I'm not sure exactly what it has enabled or as modules out of the box.
Thanks for your excellent help. I don't think that I am going to pursue it any further though because it has not worked with any Linux distro that I have tried - several. I don't want to have to muck around again if I choose another distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.