Jump to content

USB 6-in-1 Card Reader


solarian
 Share

Recommended Posts

Hi there!

 

I have a 6in1 USB Card Reader and it doesn't automount when I plug it in (with an inserted Compact Flash card).

It also doesn't show up in /dev as sda (or sda1)

My problem is that I can not even make an /etc/fstab entry, because I don't know what device it is.

 

On harddrake it shows up in Unknown/Others section like this ->

 

Identification

Vendor: ‎Unknown

Description: ‎USB Card Reader

Media class: ‎

Connection

Bus: ‎USB

Bus PCI #: ‎1

PCI device #: ‎7

Vendor ID: ‎3468

Device ID: ‎20480

Misc

Module: ‎unknown

 

and this is from log (tail -f /var/log/messages)

Jan  1 11:43:04 localhost su(pam_unix)[22404]: session opened for user root by (uid=501)

Jan  1 11:43:16 localhost kernel: usb 1-1: new full speed USB device using address 7

It shows up in USB Viewer as 'USB Card Reader' and it looks there like this -> screenshot

 

my /dev dir ls in attachment

 

HELP! I want to be able to use it without running vmware ;)

dev.txt

Edited by solarian
Link to comment
Share on other sites

Upon examining /proc/bus/usb/devices

I found that

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0

D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1

P:  Vendor=0d8c ProdID=5000 Rev= 1.00

S:  Product=USB Card Reader

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA

I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

 

How to make it apply a "usb-storage' driver to it?

Edited by solarian
Link to comment
Share on other sites

It seems that all the necessary modules are loaded (scsi and usb),

but my Card Reader still is not recognised as USB storage, and it doesn't show up as a scsi device

[root@localhost]# cat /proc/scsi/scsi

Attached devices:

 

and upon $ cdrecord -scanbus

it doesn't show what bus my Card Reader is on

... it's not on a bus, but it should....

Edited by solarian
Link to comment
Share on other sites

thanx!

 

I have 3 hd's

this is the 2nd one

 

Disk /dev/hdb: 203.9 GB, 203928109056 bytes

255 heads, 63 sectors/track, 24792 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

  Device Boot      Start        End      Blocks  Id  System

/dev/hdb1  *          1        3760    30202168+  83  Linux

/dev/hdb2            3761      24792  168939540    f  W95 Ext'd (LBA)

/dev/hdb5            3761      13321    76798701  83  Linux

/dev/hdb6          13322      13582    2096451  82  Linux swap

/dev/hdb7          13583      21572    64179643+  83  Linux

/dev/hdb8          21573      24792    25864618+  83  Linux

 

Can hdb2 be my CF card?

 

edit:

this is from mcc partitions

mcc11.jpg

as you see, I don't have a W95 partition, I don't even have a hdb2 partition

Edited by solarian
Link to comment
Share on other sites

The problem will be the usb-storage module not yet recognising your card. Having the same problem with a card here, on a non-Mandrake system, when a Mandrake system recognises it fine. In tracking this down it so far looks like it may be because Mandrake adds support for an extra card (USS725) to the kernel.

 

In your case not even Mandrake has patched support in yet. Get the *numeric* Vendor and Product IDs from lsusb -v and prod Mandrake to see if they can find support for it.

 

-Ath

Link to comment
Share on other sites

for reference: lsusb -v on my Card Reader

 

Bus 001 Device 004: ID 0d8c:5000 C-Media Electronics, Inc.

cannot get string descriptor 1, error = Broken pipe(32)

Device Descriptor:

  bLength                18

  bDescriptorType        1

  bcdUSB              1.10

  bDeviceClass            0 (Defined at Interface level)

  bDeviceSubClass        0

  bDeviceProtocol        0

  bMaxPacketSize0        64

  idVendor          0x0d8c C-Media Electronics, Inc.

  idProduct          0x5000

  bcdDevice            1.00

  iManufacturer          0

  iProduct                1

  iSerial                0

  bNumConfigurations      1

  Configuration Descriptor:

    bLength                9

    bDescriptorType        2

    wTotalLength          32

    bNumInterfaces          1

    bConfigurationValue    1

    iConfiguration          0

    bmAttributes        0x80

    MaxPower              500mA

    Interface Descriptor:

      bLength                9

      bDescriptorType        4

      bInterfaceNumber        0

      bAlternateSetting      0

      bNumEndpoints          2

      bInterfaceClass      255 Vendor Specific Class

      bInterfaceSubClass    255 Vendor Specific Subclass

      bInterfaceProtocol    255 Vendor Specific Protocol

      iInterface              0

      Endpoint Descriptor:

        bLength                7

        bDescriptorType        5

        bEndpointAddress    0x81  EP 1 IN

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type              none

        wMaxPacketSize        64

        bInterval              0

      Endpoint Descriptor:

        bLength                7

        bDescriptorType        5

        bEndpointAddress    0x02  EP 2 OUT

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type              none

        wMaxPacketSize        64

        bInterval              0

  Language IDs: (length=4)

    0409 English(US)

Link to comment
Share on other sites

The problem will be the usb-storage module not yet recognising your card.  Having the same problem with a card here, on a non-Mandrake system, when a Mandrake system recognises it fine.  In tracking this down it so far looks like it may be because Mandrake adds support for an extra card (USS725) to the kernel.

 

  In your case not even Mandrake has patched support in yet.  Get the *numeric* Vendor and Product IDs from lsusb -v and prod Mandrake to see if they can find support for it.

 

-Ath

 

Meh, nevermind about that. Despite the files being in Mandrake 2.6.8.1-12mdk sources it turns out the USS725 support is turned off anyway, and with good reason as it totally fails to compile.

 

-Ath

Link to comment
Share on other sites

Is the usb-storage (removable-storage? forgot the exact name) module loaded?

 

Can you start mcc or harddrake? I have a digital cam that has similar behaviour, it should be usb storage compliant, but is hardly so.

 

It takes a few minutes, then Mdk / the kernel will see it - after I start either harddrake or mcc.

 

I actually bought a usb2 harddrive with usb on the go functionality, which makes the drive the master, so I can copy any connected usb storage to the harddrive (from my cam for instance - no need to buy more memory cards, one 6GB old laptop drive will do fine for months if I were to travel that long - I need 1GB per 3 weeks on holidays)...

 

Then I found this usb otg which is standards compliant actually doesn't work with my cam, so I bought a usb2 8 in 1 cardreader which works fine on Linux and with the drive.

 

My guess: either your card reader is similar, not 100% standards compliant - it's not a new one anyway, it's usb 1.1, or you have to try things like boot options: noapic nolapic

 

In any case, with 8 in 1 usb2 (high speed, so the memory chips become the bottleneck, not full speed which is only 12MB/s) card readers at 14US$ (16CHF, 11Euros) or less, it may be worth the investment over the trouble messing with an old reader. Then again, I don't know how you are for cash, so you may want to put in more effort and spend less...

Link to comment
Share on other sites

Yes, all the modules are loaded, including usb-storage. And as you see from my first post, Harddrake finds my card reader, but doesn't assign a /dev 'module' (block) to it. Mandrake knows that there is a Card Reader attached, but it stops right there.

And I'm afraid to buy a new Card Reader, because it might not work as well and I'm sorta low on cash now. For the moment it seems that I've stuck with VMwaring w2k and accessing my CF card from there, because I think I've done everything possible at my skill level (which is not low, but I can not make my own kernel).

Edited by solarian
Link to comment
Share on other sites

VMwaring to win2k - that sucks.

 

BTW I got an apacer 8 in 1 that has linux support mentioned on the box. Which means if it doesn't you can just take it back to the shop and tell them it doesn't work...

Got a very cheap (at the price I mentioned) hama - no linux support mentioned on the box, but works fine too. I even emailed them about mentioning Linux compatibility on the box and on their website - they won't support Linux, but I argued that in the shop, if one card reader has linux compatibility mentioned and the next doesn't, the customer might take the one with more compatible systems listes (which is likely true even if they don't have the slightest clue what Linux is, and the price is the same).

 

Anyway, have you tried the noapic nolapic options?

Link to comment
Share on other sites

I now have 'my' card working here.

 

:headbang:

 

The solution seemed to be to use udev and hotplug (instead of plain /dev and usbmgr or devfsd and usbmgr).

 

I was trying to get /etc/modules.conf and friends from the Mandrake install matched on my Debian install and noticed the Mandrake was using udev, so jumped through the necessary hoops to switch to that from devfsd (on Debian you need tmpfs support too, dunno about Mandrake).

 

It may also be relevant to check you have this line in /etc/modprobe.conf:

 

install usb-interface /sbin/modprobe uhci-hcd; /bin/true

 

May also need this in /etc/modules.conf:

 

probeall scsi_hostadapter imm ppa usb-storage

 

Of course then I found this reader is a bit on the flimsy side, it's a gamble as to if it'll work and see the media on any given USB plugin and CF insertion :o .

 

Maybe some of this will help you :cheesy:

 

-Ath

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...