Below, I ran the test you suggested.
Thanks, Tom
Alan Stern wrote:
If cdrecord-ProDVD is changed to recognize that info = SG_INFO_CHECK does not indicate an error when masked_status = 0, and if it can cope with 34 bytes of data for READ DISC INFORMATION when the device says there should be 36, things ought to work. It would be interesting to see the output from dinfo with [32+2]; if the last byte is 0 then there are no OPC entries and the missing two bytes shouldn't matter.Here it is:
Alan Stern
With dinfo[32+2]
===============
[EMAIL PROTECTED] dvd+rw-tools-5.16.4.8.5]# ./test3 /dev/scd0
00 22 00 01 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23 05 40 00 00 00 00 00 00 00 00 00 00
===============
And the kernel log at the time:
=========================
Feb 6 01:12:55 reganlinux kernel: usb-storage: queuecommand() called
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread awakened.
Feb 6 01:12:55 reganlinux kernel: usb-storage: Command TEST_UNIT_READY (6 bytes)
Feb 6 01:12:55 reganlinux kernel: usb-storage: 00 00 00 00 00 00 32 d4 40 94 e0 d1
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command S 0x43425355 T 0x60 Trg 0 LUN 0 L 0 F 0 CL 12
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command transfer result=0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Attempting to get CSW...
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status result = 0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status Sig 0x53425355 T 0x60 R 0 Stat 0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: scsi cmd done, result=0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread sleeping.
Feb 6 01:12:55 reganlinux kernel: usb-storage: queuecommand() called
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread awakened.
Feb 6 01:12:55 reganlinux kernel: usb-storage: Command TEST_UNIT_READY (6 bytes)
Feb 6 01:12:55 reganlinux kernel: usb-storage: 00 00 00 00 00 00 30 d5 14 c8 30 d5
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command S 0x43425355 T 0x61 Trg 0 LUN 0 L 0 F 0 CL 12
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command transfer result=0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Attempting to get CSW...
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status result = 0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status Sig 0x53425355 T 0x61 R 0 Stat 0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: scsi cmd done, result=0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread sleeping.
Feb 6 01:12:55 reganlinux kernel: usb-storage: queuecommand() called
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread awakened.
Feb 6 01:12:55 reganlinux kernel: usb-storage: Command READ DISC INFORMATION (10 bytes)
Feb 6 01:12:55 reganlinux kernel: usb-storage: 51 00 00 00 00 00 00 00 22 00 00 00
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command S 0x43425355 T 0x62 Trg 0 LUN 0 L 34 F 128 CL 12
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command transfer result=0
Feb 6 01:12:55 reganlinux kernel: usb-storage: usb_stor_transfer_partial(): xfer 34 bytes
Feb 6 01:12:55 reganlinux kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 34/34
Feb 6 01:12:55 reganlinux kernel: usb-storage: usb_stor_transfer_partial(): transfer complete
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk data transfer result 0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Attempting to get CSW...
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status result = 0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status Sig 0x53425355 T 0x62 R 0 Stat 0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: scsi cmd done, result=0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread sleeping.
Feb 6 01:12:55 reganlinux kernel: usb-storage: queuecommand() called
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread awakened.
Feb 6 01:12:55 reganlinux kernel: usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
Feb 6 01:12:55 reganlinux kernel: usb-storage: 1e 00 00 00 00 00 14 c0 00 00 00 00
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command S 0x43425355 T 0x63 Trg 0 LUN 0 L 0 F 0 CL 12
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk command transfer result=0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Attempting to get CSW...
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status result = 0
Feb 6 01:12:55 reganlinux kernel: usb-storage: Bulk status Sig 0x53425355 T 0x63 R 0 Stat 0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: scsi cmd done, result=0x0
Feb 6 01:12:55 reganlinux kernel: usb-storage: *** thread sleeping.
====================
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel