Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 8-in-1 card reader problems | Mega 180
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tlister
n00b
n00b


Joined: 13 Jul 2004
Posts: 47

PostPosted: Thu May 12, 2005 9:15 pm    Post subject: [SOLVED] 8-in-1 card reader problems | Mega 180 Reply with quote

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
View user's profile Send private message
aderby
n00b
n00b


Joined: 10 Sep 2002
Posts: 64
Location: UK

PostPosted: Thu May 12, 2005 9:42 pm    Post subject: How far did you get? Reply with quote

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
Code:
touch /dev/sda
as root. Once I've done this I can mount the /dev/sda1 and it all works.
Andrew
Back to top
View user's profile Send private message
tlister
n00b
n00b


Joined: 13 Jul 2004
Posts: 47

PostPosted: Thu May 12, 2005 9:46 pm    Post subject: hmm Reply with quote

Thanks Aderby. Looks like I did not have CONFIG_SCSI_MULTI_LUN compiled in... :oops:

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

:)
_________________
w00t for BDSM and penguin mints!
Back to top
View user's profile Send private message
aderby
n00b
n00b


Joined: 10 Sep 2002
Posts: 64
Location: UK

PostPosted: Fri May 13, 2005 9:23 am    Post subject: Nice site. Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum