Hi!
I'm trying to get the Hagiwara FlashGate SmartMedia card reader to work
with Linux. It's supposed to be a BBB transparent-SCSI device, as far as
I know.
However, it doesn't pass even the first TEST_UNIT_READY command OK. Any
ideas where I should start digging?
Relevant data about the thing are attached.
--
Vojtech Pavlik
SuSE Labs
Host scsi0: usb-storage
Vendor: Hagiwara Sys-Com
Product: SmartMedia R/W
Serial Number: AA0000001F93
Protocol: Transparent SCSI
Transport: Bulk
GUID: 069300020000aa0000001f93
usb.c: registered new driver usb-storage
usb.c: USB new device connect, assigned device number 5
usb-storage.c: Searching unusual device list for (0x693, 0x2, 0x100)...
usb-storage.c: -- did not find a matching device
usb-storage.c: USB Mass Storage device detected
usb-storage.c: Endpoints: In: 0xc7f501e0 Out: 0xc7f501f1 Int: 0x00000000 (Period 0)
usb-storage.c: Result from usb_set_interface is 0
usb-storage.c: New GUID 069300020000aa0000001f93
usb-storage.c: Transport: Bulk
usb-storage.c: Protocol: Transparent SCSI
usb-storage.c: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
scsi : 1 host.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Command TEST_UNIT_READY (6 bytes)
usb-storage.c: 00 00 00 00 00 00 00 00 8c 00
usb-storage.c: Bulk command S 0x43425355 T 0x1 LUN 0 L 0 F 0 CL 6
usb-storage.c: Bulk command transfer result=0
usb-storage.c: Attempting to get CSW...
usb-storage.c: Bulk status result = 0
usb-storage.c: Bulk status S 0x53425355 T 0x1 R 0 V 0x1
usb-storage.c: -- transport indicates command failure
usb-storage.c: Issuing auto-REQUEST_SENSE
usb-storage.c: Bulk command S 0x43425355 T 0x1 LUN 0 L 18 F 128 CL 6
usb-storage.c: Bulk command transfer result=0
usb-storage.c: Bulk xfer 0xc57a2500(18)
usb-storage.c: bulk_msg returned 0 xferred 18/18
usb-storage.c: Bulk data transfer result 0x0
usb-storage.c: Attempting to get CSW...
usb-storage.c: Bulk status result = 0
usb-storage.c: Bulk status S 0x53425355 T 0x1 R 0 V 0x0
usb-storage.c: -- Result from auto-sense is 0
usb-storage.c: -- code: 0x70, key: 0x6, ASC: 0x29, ASCQ: 0x0
usb-storage.c: scsi cmd done, result=0x1
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Command INQUIRY (6 bytes)
usb-storage.c: 12 00 00 00 ff 00 00 00 8c 00
usb-storage.c: Bulk command S 0x43425355 T 0x2 LUN 0 L 256 F 128 CL 6
usb-storage.c: Bulk command transfer result=0
usb-storage.c: Bulk xfer 0xc59b5c88(256)
usb-storage.c: bulk_msg returned 0 xferred 96/256
usb-storage.c: Bulk data transfer result 0x1
usb-storage.c: Attempting to get CSW...
usb-uhci.c: interrupt, status 3, frame# 2046
usb-storage.c: clearing endpoint halt for pipe 0xc0008580
usb-storage.c: us_abort() called
usb-storage: bus_reset() requested but not implemented
usb-storage.c: Bus reset requested
usb-storage: bus_reset() requested but not implemented
usb-storage.c: Bus reset requested
usb_control/bulk_msg: timeout
usb-storage.c: Attempting to get CSW (2nd try)...
usb-storage.c: clearing halt for pipe 0xc0008580
usb-uhci.c: interrupt, status 2, frame# 957
usb-uhci-debug.h: TD @ c7f630c0/07F630C0, MaxLen=07 DT0 EP=0 Dev=5 PID=(SETUP)
buf=0176a600
usb-uhci-debug.h: Len=07 e0 Stalled CRC/Timeo
usb-uhci-debug.h: Link points to TD @ 07f63340, Breadth first
usb-storage.c: -- transport indicates transport failure
usb-storage.c: Fixing INQUIRY data, setting SCSI rev to 2
usb-storage.c: scsi cmd done, result=0x70000
usb-storage.c: *** thread sleeping.
usb-storage: host_reset() requested but not implemented
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (1/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (2/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (3/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (4/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (5/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (6/0)
usb-storage.c: *** thread sleeping.
usb-storage.c: us_queuecommand() called
usb-storage.c: *** thread awakened.
usb-storage.c: Bad device number (7/0)
usb-storage.c: *** thread sleeping.
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
USB Mass Storage support registered.
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=d800
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= 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=d400
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=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=1446 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0693 ProdID=0002 Rev= 1.00
S: Manufacturer=Hagiwara Sys-Com
S: Product=SmartMedia R/W
S: SerialNumber=AA0000001F93
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c000 Rev= 4.01
S: Manufacturer=Logitech
S: Product=N43
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 26mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0430 ProdID=0005 Rev= 1.01
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
Linux version 2.3.99-pre7 (root@twilight) (gcc version 2.7.2.3) #7 Sun May 7 01:04:56
CEST 2000
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]