Hello,
I noticed the following:
1. Connecting the external case to USB1 works (Reading DVD's/CD's und writing CD's). I
didn't try writing DVD's because USB1 is too slow for this purpose.
2. Connecting to USB 2 does not work properly. I can mount the CD/DVD but I can't even
copy something from the CD/DVD (error messages will follow).
3. Connecting the external case with a harddisk to USB2.0 works fine.
I have tried several usb host adapters. All of them had the same problems. Moreover, I
have tried the kernels 2.4.22, 2.4.22-ac4, 2.4.23-rc3, 2.6.0test9 and 2.6.0test10.
Here's the output for the harddisk:
Host scsi0: usb-storage
Vendor: Genesyslogic
Product: USB Mass Storage Device
Serial Number: None
Protocol: Transparent SCSI
Transport: Bulk
GUID: 05e307020000000000000000
Attached: Yes
and here's the one for the dvd drive:
Host scsi1: usb-storage
Vendor: Genesyslogic
Product: USB Mass Storage Device
Serial Number: None
Protocol: 8020i
Transport: Bulk
GUID: 05e307010000000000000000
Attached: Yes
As you can see, the protocol changes. Although, I don't know if this means anything.
Moreover, the ProdId changes from 0x0702 to 0x0701.
Here's the output of dmesg:
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xcc2da580 Out: 0xcc2da594 Int: 0x00000000 (Period 0)
usb-storage: New GUID 05e307010000000000000000
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: 8020i
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 00 00 46 02 00 00
usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 96/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: clearing endpoint halt for pipe 0xc0008280
usb-storage: usb_stor_clear_halt: result=0
usb-storage: Attempting to get CSW (2nd try)...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x1 R 159 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Vendor: HL-DT-ST Model: DVDRAM GSA-4040B Rev: A301
Type: CD-ROM ANSI SCSI revision: 02
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2/0)
...
usb-storage: Bad target number (7/0)
usb-storage: *** thread sleeping.
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command MODE_SENSE (6 bytes)
usb-storage: 1a 00 2a 00 80 00 00 00 1f 12 e0 d2
usb-storage: Bulk command S 0x43425355 T 0x2 Trg 0 LUN 0 L 128 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 128 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 72/128
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: clearing endpoint halt for pipe 0xc0008280
usb-storage: usb_stor_clear_halt: result=0
usb-storage: Attempting to get CSW (2nd try)...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x2 R 56 Stat 0x0
usb-storage: -- converting 10 byte sense data to 6 byte
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
sr0: scsi3-mmc drive: 32x/32x writer dvd-ram cd/rw xa/form2 cdda tray
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Copying data from CD/DVD (USB2) gives the following error:
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 00 5e 00 00 30 00
usb-storage: Bulk Command S 0x43425355 T 0x86 L 98304 F 128 Trg 0 LUN 0 CL 12
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 98304 bytes, 24 entries
usb-storage: Status code 0; transferred 98304/98304Nov 24 18:34:02 nb09 kernel:
usb-storage: - transfer complete
usb-storage: Bulk data transfer result 0x0
kernel: usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 0/13
usb-storage: -- short transfer
usb-storage: Bulk status result = 1
usb-storage: -- transport indicates error, resetting
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb-storage: Soft reset: clearing bulk-in endpoint halt
usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=81 len=0
usb-storage: usb_stor_clear_halt: result = 0
usb-storage: Soft reset: clearing bulk-out endpoint halt
usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=02 len=0
usb-storage: usb_stor_clear_halt: result = 0
usb-storage: Soft reset done
Afterwards, it tries several times to get the data which results in the same error.
Thanks a lot
matthias
______________________________________________________________________________
WEB.DE FreeMail wird 5 Jahre jung! Feiern Sie mit uns und
nutzen Sie die neuen Funktionen http://f.web.de/features/?mc=021130
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users