usb/104290: QUIRK: TOSHIBA DVD-RAM drive (libretto DVD Dock)

Mitzyuki IMAIZUMI mitz at mitz.jp
Wed Oct 11 06:30:18 UTC 2006


>Number:         104290
>Category:       usb
>Synopsis:       QUIRK: TOSHIBA DVD-RAM drive (libretto DVD Dock)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 11 06:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mitzyuki IMAIZUMI
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
Personal User
>Environment:
System: FreeBSD abort.home.mitz.jp 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #8: Wed Oct 11 14:51:03 JST 2006 root at abort.home.mitz.jp:/usr/obj/usr/src/sys/ABORT i386

>Description:
TOSHIBA libretto DVD Dock(PA3433U-1DV2) is able to use CD-ROM drive,
but it cannot work as DVD-drive.

# camcontrol inquiry cd0
pass0: <MATSHITA DVD-RAM UJ-822S 1.00> Removable CD-ROM SCSI-0 device
pass0: 40.000MB/s transfers

# tail /var/log/messages
Oct 11 15:03:08 abort kernel: umass0: TOSHIBA libretto DVD Dock, rev 2.00/0.00,addr 2
Oct 11 15:03:24 abort kernel: cd0 at umass-sim0 bus 0 target 0 lun 0
Oct 11 15:03:24 abort kernel: cd0: <MATSHITA DVD-RAM UJ-822S 1.00> Removable CD-ROM SCSI-0 device
Oct 11 15:03:24 abort kernel: cd0: 40.000MB/s transfers
Oct 11 15:03:24 abort kernel: cd0: cd present [2166691 x 2048 byte records]

trying read from device(e.g. `/dev/cd0') by xine:
Oct 11 15:05:06 abort kernel: umass0: Unsupported ATAPI command 0xa4

after aplying the patch it can be read.

# tail /var/log/messages
umass0: TOSHIBA libretto DVD Dock, rev 2.00/0.00, addr 2
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-822S 1.00> Removable CD-ROM SCSI-0 device
cd0: 40.000MB/s transfers
cd0: cd present [2166691 x 2048 byte records]

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, power 100 mA, config 1, Fingerprint Sensor(0x2580), vendor 0x08ff(0x08ff), rev 6.21
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 addr 2: high speed, self powered, config 1, libretto DVD Dock(0x1200), TOSHIBA(0x0930), rev 0.00
 port 4 powered
 port 5 powered
 port 6 powered

>How-To-Repeat:

>Fix:

*** sys/dev/usb/usbdevs.ORIG    Fri Jun  2 10:40:46 2006
--- sys/dev/usb/usbdevs Thu Jun  1 23:04:59 2006
***************
*** 1542,1547 ****
--- 1542,1548 ----
  
  /* Toshiba Corporation products */
  product TOSHIBA POCKETPC_E740	0x0706	PocketPC e740
+ product TOSHIBA LIBRETTO_DVD_DOCK	0x1200	libretto DVD Dock
  
  /* Trek Technology products */
  product TREK THUMBDRIVE		0x1111	ThumbDrive
*** sys/dev/usb/umass.c.ORIG    Thu Jun  1 23:05:21 2006
--- sys/dev/usb/umass.c Thu Jun  1 23:21:21 2006
***************
*** 506,511 ****
--- 506,515 ----
  	  UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I,
  	  FORCE_SHORT_INQUIRY
  	},
+ 	{ USB_VENDOR_TOSHIBA,  USB_PRODUCT_TOSHIBA_LIBRETTO_DVD_DOCK, RID_WILDCARD,
+ 	  UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+ 	  NO_QUIRKS
+ 	},
  	{ VID_EOT, PID_EOT, RID_EOT, 0, 0 }
  };
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list