Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB 6 in 1 Card Reader problems
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
thomasmue
n00b
n00b


Joined: 02 Oct 2003
Posts: 73
Location: MTK,OF,WAK

PostPosted: Sat Dec 27, 2003 1:00 pm    Post subject: USB 6 in 1 Card Reader problems Reply with quote

Hi all,

recently switched to 2.6.0. Trying to get my Card Reade to work, which never had worked under gentoo 2.4.x. Whiel with 2.4 the device was never recognized, I have now some entries in /var/log/mesages:
Code:

hub 1-0:1.0: new USB device on port 1, assigned address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
hub 1-1:1.0: new USB device on port 1, assigned address 3
drivers/usb/core/config.c: invalid configuration descriptor
usb 1-1.1: can't read configurations, error -22
hub 1-1:1.0: new USB device on port 1, assigned address 4
drivers/usb/core/config.c: invalid configuration descriptor
usb 1-1.1: can't read configurations, error -22
hub 1-1:1.0: new USB device on port 2, assigned address 5
drivers/usb/core/config.c: invalid configuration descriptor
usb 1-1.2: can't read configurations, error -22
hub 1-1:1.0: new USB device on port 2, assigned address 6
drivers/usb/core/config.c: invalid configuration descriptor
usb 1-1.2: can't read configurations, error -22


The device is a Sitecom CN300 Card Reader, The USB Product descriptors are:
C0b/a109/1708
C0b/a10c/200


Any Ideas ?


Thanks a lot for your help and sorry for my bad english

Thomas
Back to top
View user's profile Send private message
MacFlecknoe
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 189
Location: Ann Arbor, MI

PostPosted: Sat Dec 27, 2003 5:33 pm    Post subject: Reply with quote

You need 3 things compiled into your kernel.

Code:
USB Mass Storage support


for obvious reasons...

Code:
SCSI disk support


because usb disks need to be emulated as scsi devices (note this functionality is built into the usb-storage driver and thus is unrelated to scsi emulation of ide devices). And lastly:

Code:
Probe all LUNs on each SCSI device


Because you need the kernel to query all n of your readers (otherwise it will stop after the first one it sees).

Toss a couple lines in your /etc/fstab as such:

# flash and smart card reader
Code:
/dev/sda1               /mnt/compactFlash       auto    user,sync,noauto        0 0
/dev/sdb1               /mnt/smartMedia         auto    user,sync,noauto        0 0
/dev/sdc1               /mnt/sdMedia            auto    user,sync,noauto        0 0


and youre ready to mount your cards. You will also want to note this: build usb-storage as a module rather than building it driectly into the kernel. Each time you change out cards (or add cards to the device) you will need to
Code:
rmmod usb-storage
and
Code:
modprobe usb-storage
it again in order to mount your new filesystems.
Back to top
View user's profile Send private message
thomasmue
n00b
n00b


Joined: 02 Oct 2003
Posts: 73
Location: MTK,OF,WAK

PostPosted: Sun Dec 28, 2003 11:28 am    Post subject: Reply with quote

@MacFlecknoe: got all these Modules you mentioned, even probe all LUN's .

Seems, that the error is in hotplug support

Thomas
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