I'm trying to get the phison PS1006C multi flash card reader to work
on an embedded system.  I've downloaded the patch for my 2.4.18 kernel
from http://www.fuw.edu.pl/~pliszka/linux-USB/Phison.tgz and it
applied fine.  But I am unable to access any device even though they
are inserted.  I'm looking for suggestions to troubleshoot this.

During boot, the kernel appears to successfully probe the chip:

  SerialNumber: Aa1234567890
  scsi0 : SCSI emulation for USB Mass Storage devices
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
    Vendor: KingByte  Model: Multi-card R/W    Rev: 0100
    Type:   Direct-Access                      ANSI SCSI revision: 02
  Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
  Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
  Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
  Attached scsi removable disk sdd at scsi0, channel 0, id 0, lun 3
  Attached scsi removable disk sde at scsi0, channel 0, id 0, lun 4
  Attached scsi removable disk sdf at scsi0, channel 0, id 0, lun 5
  Attached scsi removable disk sdg at scsi0, channel 0, id 0, lun 6
  Attached scsi removable disk sdh at scsi0, channel 0, id 0, lun 7

I'm not sure why it attaches all these disks, this is when there are
no cards in the slot.  A little later, I see the following:

  Freeing unused kernel memory: 4k freed
  sda : READ CAPACITY failed.
  sda : status = 1, message = 00, host = 0, driver = 08 
  Current sd00:00: sns = 70  7
  ASC=27 ASCQ= 0
  Raw sense data:0x70 0x00 0x07 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x27 0x00 
0x00 0x00 0x00 0x00 
  sda : block size assumed to be 512 bytes, disk size 1GB.  
  Partition check:
   /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand() called
   unknown partition table

That same message gets printed for each of the sda through sdh disks.
Here is what the usb bus thinks:

  # cat /proc/bus/usb/devices
  T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
  B:  Alloc= 12/900 us ( 1%), #Int=  1, #Iso=  0
  D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
  P:  Vendor=0000 ProdID=0000 Rev= 0.00
  S:  Product=USB OHCI Root Hub
  S:  SerialNumber=b0010000
  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=   2 Ivl=255ms
  T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
  D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
  P:  Vendor=0d7d ProdID=0240 Rev= 1.00
  S:  Manufacturer=????????????????????????
  S:  Product=?????????????Aa123456789
  S:  SerialNumber=Aa1234567890
  C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
  I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
  E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=255ms
  E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=255ms
  E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=  1ms

Any suggestions?

Dave



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to