Bug 20300

Summary: [Patch] support for Panasonic USB FDD
Product: Base System Reporter: sakichan <sakichan>
Component: kernAssignee: Nick Hibma <n_hibma>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description sakichan 2000-07-30 19:10:04 UTC
	
	Panasonic USB FDD "MATSHITA FDD CF-VFDU03" does not work.
	The FDD is detected, but when trying to read or write,
	errors occur.

	In dmesg:
umass0: MATSHITA CF-VFDU03       , rev 1.00/0.00, addr 2
da0 at umass-sim32 bus 0 target 0 lun 0
da0: <MATSHITA FDD CF-VFDU03 1026> Removable Direct Access SCSI-0 device 
da0: 20KB/s transfers
da0: 1MB (2880 512 byte sectors: 2H 18S/T 80C)

	but, when I executed "dd if=/dev/da0 of=/dev/null",
umass0: Unsupported UFI command 0x08, 6 byte command should have been converted
da0: reading primary partition table: error reading fsbn 0
umass0: Unsupported UFI command 0x35
(da0:umass-sim32:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0

Fix: I think that the auto detection of UFI based drives in CAM is the best,
	but I don't know the CAM architecture well.
	So I wrote a patch similar to the quirks for YE-DATA USB FDD Drives.
How-To-Repeat: 
	as described in "Description:"
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-31 10:40:04 UTC
Responsible Changed
From-To: freebsd-bugs->n_hibma

Over to the USB maintainer.
Comment 2 Nick Hibma freebsd_committer freebsd_triage 2000-07-31 13:40:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!