From owner-freebsd-questions@FreeBSD.ORG Mon Mar 19 14:34:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3048E16A402 for ; Mon, 19 Mar 2007 14:34:43 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (chylonia.3miasto.net [83.12.228.78]) by mx1.freebsd.org (Postfix) with ESMTP id 6256913C4C4 for ; Mon, 19 Mar 2007 14:34:42 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.8/8.13.4) with ESMTP id l2JEYen2036536; Mon, 19 Mar 2007 15:34:40 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.8/8.13.4/Submit) with ESMTP id l2JEYe0L036533; Mon, 19 Mar 2007 15:34:40 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Mon, 19 Mar 2007 15:34:40 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: Mike In-Reply-To: <45FE6C54.4070809@gmail.com> Message-ID: <20070319153140.X34892@chylonia.3miasto.net> References: <20070318131138.GA870@eclypse.it> <45FE6C54.4070809@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: I need help with external USB DVD writer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 14:34:43 -0000 > >> If I use the comand whith a dvd+rw : dvd+rw- format /dev/cd0 I obtain >> * DVD?RW/-RAM format utility by , 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