Date: Mon, 19 Mar 2007 15:34:40 +0100 (CET) From: Wojciech Puchar <wojtek@tensor.gdynia.pl> To: Mike <michel.boto@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: I need help with external USB DVD writer. Message-ID: <20070319153140.X34892@chylonia.3miasto.net> In-Reply-To: <45FE6C54.4070809@gmail.com> References: <20070318131138.GA870@eclypse.it> <45FE6C54.4070809@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >> If I use the comand whith a dvd+rw : dvd+rw- format /dev/cd0 I obtain >> * DVD?RW/-RAM format utility by <appro@fy. chalmers.se>, version 6.0. :-( >> (unable to GET CONFIGURATION: Input/output error and on the consul: umass0: >> Unsupported ATAPI command 0x46. >> > Your drive probably isn't MMC-capable. Try updating the firmware. For a umass.c patch (6.2-RELEASE): --- umass.c.old Mon Mar 19 15:32:09 2007 +++ umass.c Mon Mar 19 15:33:04 2007 @@ -3072,46 +3072,12 @@ (*rcmd)[4] = SSS_START; return 1; } - /* fallthrough */ - case REZERO_UNIT: - case REQUEST_SENSE: - case START_STOP_UNIT: - case SEND_DIAGNOSTIC: - case PREVENT_ALLOW: - case READ_CAPACITY: - case READ_10: - case WRITE_10: - case POSITION_TO_ELEMENT: /* SEEK_10 */ - case SYNCHRONIZE_CACHE: - case MODE_SELECT_10: - case MODE_SENSE_10: - case READ_BUFFER: - case 0x42: /* READ_SUBCHANNEL */ - case 0x43: /* READ_TOC */ - case 0x44: /* READ_HEADER */ - case 0x47: /* PLAY_MSF (Play Minute/Second/Frame) */ - case 0x48: /* PLAY_TRACK */ - case 0x49: /* PLAY_TRACK_REL */ - case 0x4b: /* PAUSE */ - case 0x51: /* READ_DISK_INFO */ - case 0x52: /* READ_TRACK_INFO */ - case 0x54: /* SEND_OPC */ - case 0x59: /* READ_MASTER_CUE */ - case 0x5b: /* CLOSE_TR_SESSION */ - case 0x5c: /* READ_BUFFER_CAP */ - case 0x5d: /* SEND_CUE_SHEET */ - case 0xa1: /* BLANK */ - case 0xa5: /* PLAY_12 */ - case 0xa6: /* EXCHANGE_MEDIUM */ - case 0xad: /* READ_DVD_STRUCTURE */ - case 0xbb: /* SET_CD_SPEED */ - case 0xe5: /* READ_TRACK_INFO_PHILIPS */ + default: memcpy(*rcmd, cmd, cmdlen); return 1; case READ_12: case WRITE_12: - default: printf("%s: Unsupported ATAPI command 0x%02x" " - trying anyway\n", USBDEVNAME(sc->sc_dev), cmd[0]); everything works. i think umass driver is simply too restrictive
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070319153140.X34892>