OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: omin0us on March 13, 2004, 08:09:35 pm

Title: Help with USB multi Card reader under linux.
Post by: omin0us on March 13, 2004, 08:09:35 pm
I have a LexarRW017-P Multi Card reader.

I cannot seem to get it to work with linux. I am using the 2.6.4 kernel.
and i have these options compiled into the kernel (not as modules)

SCSI disk support
SCSI generic support.
Probe all LUNs on each SCSI device
USB device filesystem
EHCI HCD support
OHCI HCD support
UHCI HCD support
USB mass storage Support

the kernel compiles fine, but when booting i do notice an error.
Code: [Select]
FATAL: module ide_scsi not found

When i plug in my USB multi card reader i get this message on the console
Code: [Select]
cat: /sys//devices/pci0000:00/0000:00:07.2/usb1/1-1/bNumConfigurations: No such file or directory

/etc/hotplug/usb.agent: line 144: [: too many arguments


doing cat /var/log/messages right after plugging it in give me:
Code: [Select]
Mar 13 18:07:49 omin0us-laptop kernel: usb 1-1: new full speed USB device using address 5

Mar 13 18:07:49 omin0us-laptop usb.agent[978]: ... no modules for USB product 5dc/1017/100

Mar 13 18:07:49 omin0us-laptop kernel: scsi3 : SCSI emulation for USB Mass Storage devices

Mar 13 18:07:49 omin0us-laptop kernel:   Vendor: Lexar     Model: USB Storage-SMC   Rev: 0180

Mar 13 18:07:49 omin0us-laptop kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar 13 18:07:50 omin0us-laptop scsi.agent[1006]: bogus sysfs DEVPATH=/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host3/3:0:0:0

Mar 13 18:07:50 omin0us-laptop kernel:   Vendor: Lexar     Model: USB Storage-CFC   Rev: 0180

Mar 13 18:07:50 omin0us-laptop kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar 13 18:07:50 omin0us-laptop scsi.agent[1023]: bogus sysfs DEVPATH=/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host3/3:0:0:1

Mar 13 18:07:50 omin0us-laptop kernel:   Vendor: Lexar     Model: USB Storage-MMC   Rev: 0180

Mar 13 18:07:50 omin0us-laptop kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar 13 18:07:50 omin0us-laptop scsi.agent[1040]: bogus sysfs DEVPATH=/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host3/3:0:0:2

Mar 13 18:07:50 omin0us-laptop kernel:   Vendor: Lexar     Model: USB Storage-MSC   Rev: 0180

Mar 13 18:07:50 omin0us-laptop kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02

Mar 13 18:07:50 omin0us-laptop scsi.agent[1056]: bogus sysfs DEVPATH=/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host3/3:0:0:3

bash-2.05b#


from that i would think it would be working, but trying to format a CF card (/dev/sdb) gives me:
Code: [Select]
bash-2.05b# mkfs.msdos /dev/sdb1

mkfs.msdos 2.8 (28 Feb 2001)

/dev/sdb1: No such device or address

bash-2.05b#


i tried that on all the differn\'t scsi devices just to make sure (sda, sdb, sdc, ...) but got the same thing on all of them.
if i try to mount it it just says its not a valid block device. I hope someone can give me some ideas. thanks.

omin0us
Title: Help with USB multi Card reader under linux.
Post by: offroadgeek on March 13, 2004, 08:25:20 pm
moved to linux issues forum
Title: Help with USB multi Card reader under linux.
Post by: Greg2 on March 13, 2004, 08:31:35 pm
This is what Susan did:
http://linux-sxs.org/hardware/flashreaders.html (http://linux-sxs.org/hardware/flashreaders.html)

The trick is to echo something to /proc/scsi/scsi
to find the prob

Greg
Title: Help with USB multi Card reader under linux.
Post by: BigO on March 28, 2004, 01:05:13 am
This works!
Title: Help with USB multi Card reader under linux.
Post by: Stubear on March 28, 2004, 03:40:35 am
I have one CF card that refuses to show up on sdx1, instead for this card I must mount sdx  - looks like the manufactures didn\'t create a patition but just formatted the whole disk.

Stu