Hi Andrei,

I am having similar trouble with a ScanLogic-based USB CompactFlash
adapter, Transcend TS0MFLRD. This device is intended to read/write
SmartMedia and CompactFlash I/II cards, and also IBM Microdrives.

It installs OK under Windows 98 and Win2K, and I can read/write
a Samsung 128MB CompactFlash card.

I have a recent install of RH 7.3 (2.4.18 kernel) dual-booting with
the Win2K environment and I could not access the flash card. This
machine has a USB mouse device, which comes up fine at boot. I
am not a linux expert.

After searching http://www.qbik.ch/usb/devices/index.php for
ScanLogic and reading the entries I decided to reprogram the
EEPROM on my Transcend device. Due to the Scanlogic/Cypress
shuffle the relevant DK files to do this are now located at
http://www.cypress.com under 
Support: Developer Kits: USB Full-Speed Peripherals : SL11R-DK; 
http://www.cypress.com/cfuploads/support/developer_kits/5D5132A4-F6FC-494A-9290855A333A6843_soft_1.zip
I installed the "2.6c" I2C image, which is listed in the
docs as Linux compatible. This did not change the behavior in
any obvious way, so probably the Transcend image was up to
date. I am not *recommending* this; I'm just telling you
what I did.

After reading your posting, I tried booting the machine, then
attaching the USB-Flash adapter. I then attempted to mount the
disk:
[root@swimmer root]# mount -t vfat /dev/sda /mnt/flash
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       or too many mounted file systems
[root@swimmer root]#

Here's what I have, any suggestions or insights welcome!

Cheers,
  Chuck Harrison

****** lsmod:
Module                  Size  Used by    Not tainted
sd_mod                 12928   0  (autoclean)
usb-storage            58156   0 
scsi_mod              108608   2  [sd_mod usb-storage]
i810_audio             23008   0  (autoclean)
ac97_codec             11904   0  (autoclean) [i810_audio]
soundcore               6692   2  (autoclean) [i810_audio]
binfmt_misc             7556   1 
autofs                 12164   0  (autoclean) (unused)
eepro100               20336   1 
ipchains               43560  12 
ide-cd                 30272   0  (autoclean)
cdrom                  32192   0  (autoclean) [ide-cd]
nls_iso8859-1           3488   1  (autoclean)
nls_cp437               5120   1  (autoclean)
vfat                   12092   1  (autoclean)
fat                    37400   0  (autoclean) [vfat]
mousedev                5312   1 
hid                    21344   0  (unused)
input                   5984   0  [mousedev hid]
usb-uhci               24484   0  (unused)
usbcore                73152   1  [usb-storage hid usb-uhci]
ext3                   67136   2 
jbd                    49400   2  [ext3]

****** /proc/bus/usb/devices:
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=ef80
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 93/900 us (10%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=ef40
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04ce ProdID=0002 Rev= 0.76
S:  Manufacturer=CYPRESS SM-CF 0.76
S:  Product=CYPRESS SM-CF 0.76
S:  SerialNumber=11204EC3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=300mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05fe ProdID=0011 Rev= 0.00
S:  Manufacturer=Cypress Sem.
S:  Product=PS2/USB Browser Combo Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl= 10ms

****** /proc/bus/usb/drivers:
         usbdevfs
         hub
 96-111: hiddev
         hid
         usb-storage

****** lsusb:
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                2 USB UHCI Root Hub
  iSerial                 1 ef80
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          8
        bInterval             255
  Language IDs: (length=4)
     0000 (null)((null))

Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                2 USB UHCI Root Hub
  iSerial                 1 ef40
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          8
        bInterval             255
  Language IDs: (length=4)
     0000 (null)((null))

Bus 001 Device 003: ID 04ce:0002 ScanLogic Corp. IDE Bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x04ce ScanLogic Corp.
  idProduct          0x0002 IDE Bridge
  bcdDevice            0.76
  iManufacturer           1 
  iProduct                1 
  iSerial                 2 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 002: ID 05fe:0011 Chic Technology Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x05fe Chic Technology Corp.
  idProduct          0x0011 
  bcdDevice            0.00
  iManufacturer           1 Cypress Sem
  iProduct                2 PS2/USB Browser Combo Mouse
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              5 EndPoint1 Inte
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      54
cannot get report descriptor
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          4
        bInterval              10
  Language IDs: (length=4)
     0409 English(US)

****** /proc/scsi/usb-storage-0/0:
   Host scsi0: usb-storage
       Vendor: CYPRESS SM-CF 0.76
      Product: CYPRESS SM-CF 0.76
Serial Number: 11204EC3
     Protocol: Transparent SCSI
    Transport: Bulk
         GUID: 04ce00020000000011204ec3
     Attached: Yes

****** /var/log/messages:
Aug 20 11:59:56 swimmer kernel: hub.c: USB new device connect on
bus1/1, assigned device number 3
Aug 20 11:59:56 swimmer kernel: usb.c: USB device 3 (vend/prod
0x4ce/0x2) is not claimed by any active driver.
Aug 20 11:59:59 swimmer /etc/hotplug/usb.agent: Setup usb-storage for
USB product 4ce/2/76
Aug 20 12:00:00 swimmer kernel: SCSI subsystem driver Revision: 1.00
Aug 20 12:00:00 swimmer kernel: Initializing USB Mass Storage
driver...
Aug 20 12:00:00 swimmer kernel: usb.c: registered new driver
usb-storage
Aug 20 12:00:00 swimmer kernel: scsi0 : SCSI emulation for USB Mass
Storage devices
Aug 20 12:00:00 swimmer kernel:   Vendor:          
Model:                   Rev:     
Aug 20 12:00:00 swimmer kernel:   Type:  
Direct-Access                      ANSI SCSI revision: 02
Aug 20 12:00:00 swimmer kernel: USB Mass Storage support registered.
Aug 20 12:00:53 swimmer kernel: Attached scsi removable disk sda at
scsi0, channel 0, id 0, lun 0
Aug 20 12:00:53 swimmer kernel: sda : READ CAPACITY failed.
Aug 20 12:00:53 swimmer kernel: sda : status = 1, message = 00, host =
0, driver = 08 
Aug 20 12:00:53 swimmer kernel: Current sd00:00: sense key Not Ready
Aug 20 12:00:53 swimmer kernel: sda : block size assumed to be 512
bytes, disk size 1GB.  
Aug 20 12:00:53 swimmer kernel:  sda: I/O error: dev 08:00, sector 0
Aug 20 12:00:53 swimmer kernel:  I/O error: dev 08:00, sector 0
Aug 20 12:00:53 swimmer kernel:  unable to read partition table
Aug 20 12:00:53 swimmer kernel: sda : READ CAPACITY failed.
Aug 20 12:00:53 swimmer kernel: sda : status = 1, message = 00, host =
0, driver = 08 
Aug 20 12:00:53 swimmer kernel: Current sd00:00: sense key Not Ready
Aug 20 12:00:53 swimmer kernel: sda : block size assumed to be 512
bytes, disk size 1GB.  
Aug 20 12:00:53 swimmer kernel: sda: Write Protect is off
Aug 20 12:00:53 swimmer kernel:  sda: I/O error: dev 08:00, sector 0
Aug 20 12:00:53 swimmer kernel:  I/O error: dev 08:00, sector 0
Aug 20 12:00:53 swimmer kernel:  unable to read partition table
Aug 20 12:00:53 swimmer kernel: Device busy for revalidation (usage=1)
Aug 20 12:00:53 swimmer kernel: Device 08:00 not ready.
Aug 20 12:00:53 swimmer kernel:  I/O error: dev 08:00, sector 0
Aug 20 12:00:53 swimmer kernel: FAT: unable to read boot sector


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to