Date: Wed, 2 Oct 2002 13:13:43 +0300 (EEST) From: Olexander Kunytsa <kunia@lucky.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/43580: QUIRK: PhotoClip USB Camera Message-ID: <200210021013.g92ADhB46334@burka.carrier.kiev.ua>
next in thread | raw e-mail | index | archive | help
>Number: 43580
>Category: kern
>Synopsis: QUIRK: PhotoClip USB Camera
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 02 03:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Olexander Kunytsa
>Release: FreeBSD 4.7-RC i386
>Organization:
XTC
>Environment:
FreeBSD bison.carrier.kiev.ua 4.7-RC FreeBSD 4.7-RC #2: Mon Sep 30 16:17:20 EEST 2002 root@bison.carrier.kiev.ua:/usr/obj/usr/src/sys/bison i386
11:58 [root@bison] ~# camcontrol inquiry da1
pass1: <ZORAN COACH 1.00> Removable Direct Access SCSI-0 device
pass1: Serial Number
pass1: 150KB/s transfers
Daisy Technology - Digital Still Camera 'PhotoClip' on Zoran Chip,
model Phc6032 (prob. later models, I'll try to get them)
UMASS device, over ATAPI protocol,
umass0: ZORAN COACH DSC, rev 1.00/1.00, addr 2
da1 at umass-sim0 bus 0 target 0 lun 0
da1: <ZORAN COACH 1.00> Removable Direct Access SCSI-0 device
da1: 150KB/s transfers
da1: 31MB (64800 512 byte sectors: 0H 0S/T 0C)
>Description:
while trying to read from device ( e.g. 'hd /dev/da1'):
umass0: Unsupported ATAPI command 0x08, 6 byte command should have been converte
d
da1: reading primary partition table: error reading fsbn 0
umass0: Unsupported ATAPI command 0x35
(da1:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status ==
0x0
After aplying the patch it can be mounted.
umass0: ZORAN COACH DSC, rev 1.00/1.00, addr 2
da1 at umass-sim0 bus 0 target 0 lun 0
da1: <ZORAN COACH 1.00> Removable Direct Access SCSI-0 device
da1: 150KB/s transfers
da1: 31MB (64800 512 byte sectors: 0H 0S/T 0C)
13:09 [kunia@bison:p0]:~> df /mnt/
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da1s1 32272 8134 24138 25% /mnt
>How-To-Repeat:
>Fix:
--- src/sys/cam/scsi/scsi_da.c.orig Wed Oct 2 12:29:01 2002
+++ src/sys/cam/scsi/scsi_da.c Wed Oct 2 12:31:00 2002
@@ -373,6 +373,13 @@
*/
{T_DIRECT, SIP_MEDIA_REMOVABLE, "Digital", "World DMC","*"},
/*quirks*/ DA_Q_NO_6_BYTE
+ },
+ {
+ /*
+ * Daisy Technology PhotoClip on Zoran Chip
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "ZORAN", "COACH", "*"},
+ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
}
};
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210021013.g92ADhB46334>
