kern/63793: The addition of a FreeBSD support USB-DVD drive.

Ryuji MATSUMOTO matumoto at pluto.ai.kyutech.ac.jp
Fri Mar 5 03:20:17 PST 2004


>Number:         63793
>Category:       kern
>Synopsis:       The addition of a FreeBSD support USB-DVD drive.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 05 03:20:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ryuji MATSUMOTO
>Release:        FreeBSD-4.9-STABLE(Thu Mar  4 17:15:27 JST 2004(JST))/ Userland: FreeBSD-4.9-p2
>Organization:
>Environment:
FreeBSD atlas 4.9-STABLE FreeBSD 4.9-STABLE #1: Thu Mar  4 21:37:23 JST 2004     matumoto at atlas:/usr/src/sys/compile/ATLAS  i386
>Description:
The following USB-DVD-R drives cannot write in DVD-R by growisofs. 

-Logitec LDR-H443SU2
(In japanese. http://www.logitec.co.jp/products/dvd/ldrh443su2.html)
-IO-DATA DVR-UEH8
(In japanese http://www.iodata.jp/prod/storage/dvd/2004/dvr-ueh8/index.htm)

# growisofs -speed=1 -dvd-compat -Z /dev/cd0a=cd2.iso
:-[ unable to GET EVENT: FFFFFFFF ]
:-( unable to GET CONFIGURATION, non-MMC unit?: Input/output error

If the appended file is corrected, writing will be made to DVD-R by 
growisofs.

The environment of my computer is as follows.
 
-Asus P4PE/Pentium 2.53GHz/MEM 512M
-Dell PowerEdge 600SC/Celeron2.0GHz/MEM 512M

-Logitec LDR-H443SU2
dmesg:
umass0: Logitec Corp. LDR USB Device, rev 2.00/1.00, addr 2, 8070i (ATAPI) over Bulk-Only
umass0:1:0:-1: Attached to scbus1 as device 0
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-4040B A105> Removable CD-ROM SCSI-0 device
cd0: 650KB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present

usbdevs -v:
addr 1: low speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: low speed, self powered, config 1, LDR USB Device(0x0033), Logitec Corp.(0x0789), rev 1.00
 port 2 powered

-IODATA DVR-UEH8
dmesg:
umass0: I-O DATA DEVICE,INC. Optical Storage Device, rev 2.00/11.07, addr 2, 8070i (ATAPI) over Bulk-Only
umass0:0:0:-1: Attached to scbus0 as device 0
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-4082B A201> Removable CD-ROM SCSI-0 device
cd0: 650KB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present

usbdevs -v:
addr 1: low speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, self powered, config 1, Optical Storage Device(0x0206), I-O DATA DEVICE,INC.(0x04bb), rev 11.07

>How-To-Repeat:
growisofs is used.
>Fix:
*** umass.c.ORG Thu Mar  4 16:37:57 2004
--- umass.c     Thu Mar  4 21:36:18 2004
***************
*** 24,30 ****
   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   *
!  *    $FreeBSD: src/sys/dev/usb/umass.c,v 1.11.2.29 2004/02/26 23:45:58 sanpei Exp $
   *    $NetBSD: umass.c,v 1.28 2000/04/02 23:46:53 augustss Exp $
   */

--- 24,30 ----
   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   *
!  *    $FreeBSD: src/sys/dev/usb/umass.c,v 1.11.2.29 2004/02/26 23:45:58 sanpei +usbdvd Exp $
   *    $NetBSD: umass.c,v 1.28 2000/04/02 23:46:53 augustss Exp $
   */

***************
*** 699,707 ****
--- 699,715 ----
            UGETW(dd->idProduct) == USB_PRODUCT_IODATA_IU_CD2) {
                sc->proto =  UMASS_PROTO_SCSI | UMASS_PROTO_BBB;
        }
+       if (UGETW(dd->idVendor) == USB_VENDOR_IODATA &&
+           UGETW(dd->idProduct) == USB_PRODUCT_IODATA_DVR_UEH8) {
+               sc->proto =  UMASS_PROTO_SCSI | UMASS_PROTO_BBB;
+       }
        /* Logitec DVD multi plus unit */
        if (UGETW(dd->idVendor) == USB_VENDOR_LOGITEC &&
            UGETW(dd->idProduct) == USB_PRODUCT_LOGITEC_LDR_H443U2) {
+               sc->proto = UMASS_PROTO_SCSI;
+       }
+       if (UGETW(dd->idVendor) == USB_VENDOR_LOGITEC &&
+           UGETW(dd->idProduct) == USB_PRODUCT_LOGITEC_LDR_H443SU2) {
                sc->proto = UMASS_PROTO_SCSI;
        }
        if (UGETW(dd->idVendor) == USB_VENDOR_MELCO &&
*** usbdevs.ORG Thu Mar  4 16:37:59 2004
--- usbdevs     Thu Mar  4 21:36:09 2004
***************
*** 1,4 ****
! $FreeBSD: src/sys/dev/usb/usbdevs,v 1.11.2.54 2004/02/21 16:35:20 wilko Exp $

  /*
   * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
--- 1,4 ----
! $FreeBSD: src/sys/dev/usb/usbdevs,v 1.11.2.54 2004/02/21 16:35:20 wilko Exp +usbdvd$

  /*
   * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
***************
*** 785,790 ****
--- 785,792 ----
  product IODATA USBETTXS               0x0913  USB ETTX
  product       IODATA USBRSAQ          0x0a03  USB serial adapter USB-RSAQ1
  product       IODATA IU_CD2           0x0204  DVD Multi-plus unit iU-CD2
+ product       IODATA DVR_UEH8         0x0206  DVD Multi-plus unit DVR-UEH8
+

  /* Iomega products */
  product IOMEGA ZIP100         0x0001  Zip 100
***************
*** 887,892 ****
--- 889,895 ----

  /* Logitec Corp. products */
  product       LOGITEC LDR_H443U2      0x00b3  DVD Multi-plus unit LDR-H443U2
+ product       LOGITEC LDR_H443SU2     0x0033  DVD Multi-plus unit LDR-H443SU2

  /* Lucent products */
  product LUCENT EVALKIT                0x1001  USS-720 evaluation kit

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list