From owner-freebsd-usb@FreeBSD.ORG Fri Jun 22 09:39:06 2007 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C07AD16A46B; Fri, 22 Jun 2007 09:39:06 +0000 (UTC) (envelope-from fico@del.ufrj.br) Received: from mailhost.del.ufrj.br (zeus.del.ufrj.br [146.164.70.2]) by mx1.freebsd.org (Postfix) with ESMTP id 878D813C45B; Fri, 22 Jun 2007 09:39:05 +0000 (UTC) (envelope-from fico@del.ufrj.br) Received: from [127.0.0.1] (loghost02.del.ufrj.br [146.164.70.27]) by mailhost.del.ufrj.br (Postfix) with ESMTP id B5DC4EBC84; Fri, 22 Jun 2007 06:20:58 -0300 (BRT) Message-ID: <467B9516.8060101@del.ufrj.br> Date: Fri, 22 Jun 2007 11:23:34 +0200 From: Federico Galvez-Durand Besnard User-Agent: Thunderbird 1.5.0.10 (X11/20070308) MIME-Version: 1.0 To: Gavin Atkinson References: <200706141750.l5EHoEma011804@freefall.freebsd.org> In-Reply-To: <200706141750.l5EHoEma011804@freefall.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@FreeBSD.org, Federico Galvez-Durand Subject: Re: usb/74453: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 09:39:06 -0000 Gavin Atkinson wrote: > Synopsis: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work > > State-Changed-From-To: open->feedback > State-Changed-By: gavin > State-Changed-When: Thu Jun 14 17:49:00 UTC 2007 > State-Changed-Why: > > To submitter: Is this still a problem on more recent versions of > FreeBSD? Have you tried the suggestion in the PR of using the > WRONG_CSWSIG quirk? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=74453 > > > Yes, it is still the same problem: ++++ Begin Follow-up ++++ camelot# uname -a FreeBSD camelot.local 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu Jun 21 19:23:02 CEST 2007 root@camelot.local:/usr/obj/usr/src/sys/CAMELOT i386 camelot# dmesg | grep umass0 umass0: ScanLogic USBIDE ScanLogic USBIDE, rev 1.10/2.61, addr 2 umass0: Invalid CSW: tag 849 should be 1 umass0: Invalid CSW: tag 849 should be 2 umass0: Invalid CSW: tag 849 should be 3 umass0: Invalid CSW: tag 849 should be 4 umass0: Invalid CSW: tag 849 should be 5 umass0: Invalid CSW: tag 849 should be 6 (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device umass0: Invalid CSW: tag 849 should be 7 umass0: Invalid CSW: tag 849 should be 8 umass0: Invalid CSW: tag 849 should be 9 umass0: Invalid CSW: tag 849 should be 10 umass0: Invalid CSW: tag 849 should be 11 (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 root@camelot# camcontrol devlist -v scbus0 on ata0 bus 0: < > at scbus0 target -1 lun -1 () scbus1 on ata1 bus 0: at scbus1 target 0 lun 0 (pass0,cd0) < > at scbus1 target -1 lun -1 () scbus2 on umass-sim0 bus 0: < > at scbus2 target 0 lun 0 (pass1) scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) root@camelot# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, ScanLogic USBIDE(0x0002), ScanLogic USBIDE(0x04ce), rev 2.61 port 2 powered root@camelot# diff -u umass.c.orig /usr/src/sys/dev/usb/umass.c --- umass.c.orig Thu Jun 21 19:02:27 2007 +++ /usr/src/sys/dev/usb/umass.c Thu Jun 21 19:02:58 2007 @@ -460,7 +460,7 @@ }, { USB_VENDOR_SCANLOGIC, USB_PRODUCT_SCANLOGIC_SL11R, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_BBB, - NO_INQUIRY + NO_INQUIRY | WRONG_CSWSIG }, { USB_VENDOR_SHUTTLE, USB_PRODUCT_SHUTTLE_EUSB, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, ++++ End Follow-up ++++ Some comments: This was my original post: http://lists.freebsd.org/mailman/htdig/freebsd-usb/2004-December/000318.html I went through my files and found some work I did and reported to this list: http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-February/000660.html As far as I remember, I managed to mount this CDROM and use it in RO mode. I could not make the kernel recognise it as a RW device. At that time, I got many cheap working flash drives > 512MB and a new machine, so this machine (PIII@800MHz/384MB mem) was assigned to a mission in which backup on CD was no longer necessary. This hacking was no longer a priority. And now I guess I did not report my work in the right way because I can't see these messages: http://lists.freebsd.org/mailman/htdig/freebsd-usb/2004-December/000318.html http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-February/000660.html linked to my orginial PR: Number: 74453 Category: usb Synopsis: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work Severity: non-critical Priority: low Responsible: freebsd-usb@FreeBSD.org State: feedback Class: sw-bug Arrival-Date: Sat Nov 27 17:30:24 GMT 2004 Closed-Date: Last-Modified: Thu Jun 14 17:50:21 GMT 2007 Originator: Federico Besnard Release: 5.3 Stable I need to pay more attention on how to handle a PR. Thanks.