View previous topic :: View next topic |
Author |
Message |
tlister n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4296222084110870fdf2c1.jpg)
Joined: 13 Jul 2004 Posts: 47
|
Posted: Thu May 12, 2005 9:15 pm Post subject: [SOLVED] 8-in-1 card reader problems | Mega 180 |
|
|
Hello All
I'm having a strange problem trying to access/mount an SD card via an 8-in-1 reader in my Mega 180.
I've heard that support for this device in Linux is possible but from what I've seen not many people have pursued it.
Heres what I know so far:
Code: | Host scsi0: usb-storage
Vendor:
Product: 8-in-2
Serial Number: B4416D9AE1
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Bus 003 Device 002: ID 55aa:b012 OnSpec Electronic, Inc.
|
That is some information I've gathered through the output of less and lsusb.
I have also tried many of the usual tutorials for getting card readers to work... but to no avail.
Any information/ideas would be greatly appriciated.
Thanks in advance
Tim Lister _________________ w00t for BDSM and penguin mints!
Last edited by tlister on Sun May 15, 2005 8:55 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aderby n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Sep 2002 Posts: 64 Location: UK
|
Posted: Thu May 12, 2005 9:42 pm Post subject: How far did you get? |
|
|
I have a generic 1 in 8 card reader and it works. You don't really detail how far you've got. Do you get /dev/sdx devices created? I've found with mine that if you don't have a card in the slot on boot you only get the /dev/sda device created automatically. In order to be able to mount the partition on the SD card I have to do as root. Once I've done this I can mount the /dev/sda1 and it all works.
Andrew |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tlister n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4296222084110870fdf2c1.jpg)
Joined: 13 Jul 2004 Posts: 47
|
Posted: Thu May 12, 2005 9:46 pm Post subject: hmm |
|
|
Thanks Aderby. Looks like I did not have CONFIG_SCSI_MULTI_LUN compiled in...
As it says on www.linux-usb.org
Quote: | Q: Why do I only see one device from my multipurpose storage device?
A:Some distributions (notably Red Hat) turn off the kernel option CONFIG_SCSI_MULTI_LUN. This prevents usb-storage from automatically detecting all the devices in your removable storage device. You can either recompile your kernel with this option enabled or (if your distribution supports this) add the following line to /etc/modules.conf;
options scsi_mod max_scsi_luns=15
If you do not want to do this for all SCSI devices then you can tell the kernel to scan for a specific device using;
echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 1"
The first zero is the host id (so it is zero if this is your first "SCSI" adapter, check "cat /proc/scsi/scsi" to see which is your USB Storage device), the second the channel (which for usb-storage should always be zero I believe), the third is the target (which again is always 0 for usb-storage) and the last is the LUN. LUN 0 is the only one probed if this kernel option is off, so you'd need to repeat this command as root for every media type your device accepts increasing the LUN number. |
Once that was fixed I saw my device as /dev/sdb1
![Smile :)](images/smiles/icon_smile.gif) _________________ w00t for BDSM and penguin mints! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aderby n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Sep 2002 Posts: 64 Location: UK
|
Posted: Fri May 13, 2005 9:23 am Post subject: Nice site. |
|
|
Never knew that site existed. I've book marked it for future reference. Glad you got it sorted - it would be helpful for those coming after if you mark the subject line of your original post with a [Solved].
Andrew. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|