Skip site navigation (1)Skip section navigation (2)
Date:      12 Nov 2002 13:35:19 +0000
From:      Martin Johnson <freebsd-hardware@martinshouse.com>
To:        freebsd-hardware@freebsd.org
Subject:   USB Floppy: TEAC FD-05PUB
Message-ID:  <1037108124.1263.38.camel@speedy>

next in thread | raw e-mail | index | archive | help
Hi,

Is it possible for FreeBSD 4.7-RELEASE to see this, and mount an
MSDOS-format floppy?  

Here's what I've tried so far...

A Google Groups search turned up:
http://groups.google.com/groups?q=fd-05pub+freebsd&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=200202090551.g195p3J00599%40tp02.er.ams.eng.osaka-u.ac.jp.lucky.freebsd.bugs&rnum=1

Which gave a patch:
--- /usr/src/sys/cam/scsi/scsi_da.c.org	Wed Feb  6 14:29:10 2002
+++ /usr/src/sys/cam/scsi/scsi_da.c	Wed Feb  6 15:07:21 2002
@@ -235,6 +235,11 @@
 		/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
 	},
 	{
+		/* TEAC USB floppy */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "TEAC", "FD-05PUB*","*"},
+		/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+	},
+	{
 		/* Another USB floppy */
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "MATSHITA", "FDD CF-VFDU*","*"},
 		/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE

I rebuilt the kernel with this patch in place (I just added the TEAC
entry by hand before "Another USB floppy").  

At boot-up there are some related messages (this is with a 1.44 MB DOS
floppy inserted)...

Nov 12 12:52:53 firewall /kernel: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xcce0-0xccff irq 11 at device 7.2 on pci0
Nov 12 12:52:53 firewall /kernel: usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
Nov 12 12:52:53 firewall /kernel: usb0: USB revision 1.0
Nov 12 12:52:53 firewall /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Nov 12 12:52:53 firewall /kernel: uhub0: 2 ports with 2 removable, self powered
Nov 12 12:52:53 firewall /kernel: umass0: TEAC     TEAC FD-05PUB   , rev 1.00/0.00, addr 2
...
Nov 12 12:52:53 firewall /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Nov 12 12:52:53 firewall /kernel: da0: <TEAC FD-05PUB 1026> Removable Direct Access SCSI-0 device
Nov 12 12:52:53 firewall /kernel: da0: 20KB/s transfers
Nov 12 12:52:53 firewall /kernel: da0: 1MB (2880 512 byte sectors: 2H 18S/T 80C)

But I still error messages from "mount -t msdos /dev/da0 mnt/floppy"...

Nov 12 12:53:27 firewall /kernel: umass0: Unsupported UFI command 0x08, 6 byte command should have been converted
Nov 12 12:53:27 firewall /kernel: da0: reading primary partition table: error reading fsbn 0
Nov 12 12:53:27 firewall /kernel: umass0: Unsupported UFI command 0x35
Nov 12 12:53:27 firewall /kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0

Can anyone help me with this?

Many thanks!

Cheers,

- Martin.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1037108124.1263.38.camel>