Author Topic: Help with USB multi Card reader under linux.  (Read 3707 times)

omin0us

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Help with USB multi Card reader under linux.
« 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
pdaXrom Developer team member - http://www.pdaxrom.org
c760/X11 based ROM, sl-5500/OZ 3.3.5
Ambicom WL1100C-1 WiFi card, Targus CF 56k Modem.
Ericsson T610 phone. (still need a BT card though)
FreeBSD 4.8/Slackware 9.1

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
Help with USB multi Card reader under linux.
« Reply #1 on: March 13, 2004, 08:25:20 pm »
moved to linux issues forum
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Help with USB multi Card reader under linux.
« Reply #2 on: March 13, 2004, 08:31:35 pm »
This is what Susan did:
http://linux-sxs.org/hardware/flashreaders.html

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

Greg

BigO

  • Newbie
  • *
  • Posts: 17
    • View Profile
Help with USB multi Card reader under linux.
« Reply #3 on: March 28, 2004, 01:05:13 am »
This works!
Zaurus 5600 (PXA250)
Standard Sharp ROM, Special Kernel 1.3
Pocketop Keyboard
250M SD Card
Socket CF WLAN Card and Modem Card
Columbia C3602-647 \"Digital Assistant\" Dorky Carry-bag

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Help with USB multi Card reader under linux.
« Reply #4 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card