From owner-freebsd-usb@FreeBSD.ORG Sat Aug 26 19:50:24 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1AB616A4DE for ; Sat, 26 Aug 2006 19:50:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51BB843D53 for ; Sat, 26 Aug 2006 19:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7QJoO3i059998 for ; Sat, 26 Aug 2006 19:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7QJoOr0059989; Sat, 26 Aug 2006 19:50:24 GMT (envelope-from gnats) Resent-Date: Sat, 26 Aug 2006 19:50:24 GMT Resent-Message-Id: <200608261950.k7QJoOr0059989@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sven Esbjerg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ABD616A4DE for ; Sat, 26 Aug 2006 19:49:40 +0000 (UTC) (envelope-from root@xbsd.net) Received: from gustav.anc.dk (ip205.rev112.brygge.net [194.255.112.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 770D643D55 for ; Sat, 26 Aug 2006 19:49:39 +0000 (GMT) (envelope-from root@xbsd.net) Received: from seth.xbsd.net (0x57306ce2.boanxx17.adsl-dhcp.tele.dk [87.48.108.226]) by gustav.anc.dk (Postfix) with ESMTP id 85FE91683F for ; Sat, 26 Aug 2006 21:49:37 +0200 (CEST) Received: by seth.xbsd.net (Postfix, from userid 0) id C87162841A; Sat, 26 Aug 2006 21:49:35 +0200 (CEST) Message-Id: <20060826194935.C87162841A@seth.xbsd.net> Date: Sat, 26 Aug 2006 21:49:35 +0200 (CEST) From: Sven Esbjerg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/102547: usb patch for iRiver H10 mp3 player X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sven Esbjerg List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2006 19:50:25 -0000 >Number: 102547 >Category: usb >Synopsis: usb patch for iRiver H10 mp3 player >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 26 19:50:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sven Esbjerg >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD seth 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Aug 26 15:34:47 CEST 2006 root@seth.thecamp.dk:/usr/src/sys/i386/compile/GENERIC i386 >Description: When connecting an iRiver H10 mp3 player to the freebsd computer the following is printed to the console: umass0: on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 997MB (2041856 512 byte sectors: 64H 32S/T 997C) umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 >How-To-Repeat: >Fix: This can fixed by patching src/sys/cam/scsi/scsi_da.c with: --- scsi_da.c.orig Sat Aug 26 21:17:34 2006 +++ scsi_da.c Sat Aug 26 15:07:48 2006 @@ -325,6 +325,13 @@ }, { /* + * iRiver H10 MP3 player + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "iriver", "H10*", "*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { + /* * Frontier Labs NEX IA+ Digital Audio Player, rev 1.10/0.01 * PR: kern/70158 */ >Release-Note: >Audit-Trail: >Unformatted: