Hi,

Matthew Dharm wrote:
> Please send me the contents of /proc/bus/usb/devices when the device is
> attached to the system.

jungle:/home/joerg # cat /proc/bus/usb/devices
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-alt Root Hub
S:  SerialNumber=bce0
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.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=059f ProdID=a602 Rev= 2.00
S:  Manufacturer=LaCie
S:  Product=USB Mass STORAGE
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 52mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=01 Prot=00 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   2 Ivl=100ms

Matthew, reading is no problem, but I got problems writing CDs. The output of 
cat /proc/scsi/scsi does not give the correct SCSI Revision. I do not know 
what is going on. I changed US_SC_SCSI to US_SC_RBC but it doesn't help. I 
found the Windows driver of LaCie is the same for both LaCie USB Hard Disk 
0x059f/0x601 and 0x059f/0x602 Mass STORAGE product. FYI with Windows ME and 
LaCie driver, the device works without problems on the same machine.

I have a Toschiba IDE DVD ROM drive with ide-scsi emulation and the LaCie USB 
CDRW. 

uname -a
Linux jungle 2.4.19-pre3-jp8 #2 Mon Mär 18 21:08:18 CET 2002 i686 unknown

After booting, I get a wrong ANSI SCSI revision.

jungle:/home/joerg # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: TOSHIBA  Model: DVD-ROM SD-C2502 Rev: 1D13
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: IDE-CD   Model: ReWritable-2x2x6 Rev: 3.01
  Type:   CD-ROM                           ANSI SCSI revision: ffffffff

I don't know if this is correct behavior, but the USB device is *not* 
recognized as an SCSI device when it is attached *after* booting. I have to 
power down the machine and do a cold restart before it got attached as SCSI 
emulated device. A warm restart (reboot) does not help.

Using cdrecord to create an audio cd gives an 'illegal request', followed by 
'media' and 'hardware errors' reported by the SCSI subsystem. The drive is 
powered and filled with a writable CD-R.

jungle:/home/joerg # cdrecord -v dev=1,0,0 speed=2 -audio -pad -dummy 
/tmp/01\ -\ Jose\ Padila\ -\ Que\ Bonito.wav
Cdrecord 1.11a05 (i686-suse-linux) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 0 = CD-DA
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
atapi: 1
Device type    : Removable CD-ROM
Version        : 2
Response Format: 1
Vendor_info    : 'IDE-CD  '
Identifikation : 'ReWritable-2x2x6'
Revision       : '3.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Supported modes: TAO PACKET RAW/R16
Drive buf size : 786432 = 768 KB
FIFO size      : 4194304 = 4096 KB
Track 01: audio  60 MB (05:57.59) no preemp pad
Total size:      60 MB (05:57.60) = 26820 sectors
Lout start:      60 MB (05:59/45) = 26820 sectors
Current Secsize: 2048
  ATIP start of lead in:  -11625 (97:27/00)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    unknown
Manuf. index: 81
Manufacturer: ILLEGAL OLD CODE: Old Ritek Co.???
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 333029
Starting to write CD/DVD at speed 2 in dummy mode for single session.
Last chance to quit, starting dummy write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01:   0 of  60 MB written.cdrecord: Input/output error. write_g1: scsi 
sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 05 00 00 00 00 19 00 00 35 FF 38 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x38 Qual 0x00 (invalid sense code 0x38) Fru 0x0
Sense flags: Blk 0 (valid)
cmd finished after 0.017s timeout 40s

write track data: error after 0 bytes
cdrecord: Input/output error. request_sense: scsi sendcmd: no error
CDB:  03 00 00 00 12 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 02 00 00 00 00 19 00 00 3A AE 04 08 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progress) 
Fru 0x0
Sense flags: Blk 0 (valid)
cmd finished after 0.016s timeout 40s
cdrecord: Input/output error. flush cache: scsi sendcmd: no error
CDB:  35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 00 00 00 00 19 00 00 40 31 0C 0A 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x0A (write error - padding blocks added) Fru 0x0
Sense flags: Blk 0 (valid)
cmd finished after 6.655s timeout 120s
Trouble flushing the cache
Writing  time:   14.819s
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 04 00 00 00 00 0A 00 00 00 00 80 80 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x80 Qual 0x80 (vendor unique sense code 0x80) [No matching 
qualifier] Fru 0x0
Sense flags: Blk 0 (valid)
cmd finished after 8.025s timeout 480s
cmd finished after 8.025s timeout 480s
cdrecord: faio_wait_on_buffer for writer timed out.
Currently running 'test unit ready' command.
Condition not caught: SCSI ALREADY RUNNING !!.
Raisecond: not implemented.
Stopped

At this point, the LaCie drive is locked and won't eject CD, it must be 
powered off.

Excerpt from lsmod. BTW usb-uhci does not work here, only uhci.

sg                     29376   1  (autoclean)
sr_mod                 13280   2  (autoclean)
usb-storage            20736   2
uhci                   25360   0  (unused)
usbcore                57696   1  [usb-storage uhci]

Please if you can give me advice how to get over this?

Hope the messages give any clue,

Jörg

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to