Re: usb/74453: [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work

2008-10-28 Thread Federico Galvez-Durand Besnard

[EMAIL PROTECTED] wrote:

Synopsis: [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) 
does not work

State-Changed-From-To: analyzed-feedback
State-Changed-By: linimon
State-Changed-When: Fri Oct 17 15:31:07 UTC 2008
State-Changed-Why: 
If this PR is still relevant, can you please send us the output of

usbdevs -v?  Thanks.

http://www.freebsd.org/cgi/query-pr.cgi?pr=74453


  


This device is a USB CD-RW, not recognised as such by any FreeBSD 
versions since the first time I tried on 4.7.

I first reported in 5.3, though.
With some work, I managed to use it as Read Only umass device. :)
http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-February/000660.html
Pretty useless as the mission was to backup data.
At that point I had some USB flash memories available and no time for 
playing with this device any more.

As a matter of fact, it's been in a drawer for more than 2 years.
The main problem seems to be related to the CSWTag returned by this 
device, most probably a broken firmware issue.


Please, feel free to drop this PR if the contents are not relevant to 
anybody else but me. I am not for trying to fix every broken firmware in 
the hood by patching kernel.




#uname -a
FreeBSD trinity.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29 
17:08:36 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRINITY  i386



#usbdevs -v
addr 1: full speed, self powered, config 1, OHCI root hub(0x), 
nVidia(0x), rev 1.00

port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 addr 2: low speed, power 100 mA, config 1, USB Optical 
Mouse(0x4d15), vendor 0x0461(0x0461), rev 2.00
port 6 addr 3: low speed, power 70 mA, config 1, Dell USB 
Keyboard(0x2003), Dell(0x413c), rev 3.01
port 7 addr 4: full speed, self powered, config 1, ScanLogic 
USBIDE(0x0002), ScanLogic USBIDE(0x04ce), rev 2.61

port 8 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
nVidia(0x), rev 1.00
port 1 addr 2: high speed, power 500 mA, config 1, CA-200(0x0200), 
TEAC(0x0644), rev 4.00

port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered


#camcontrol devlist -v
scbus0 on umass-sim0 bus 0:
TEAC USB   HS-CF Card 4.00   at scbus0 target 0 lun 0 (da0,pass0)
TEAC USB   HS-xD/SM 4.00 at scbus0 target 0 lun 1 (da1,pass1)
TEAC USB   HS-MS Card 4.00   at scbus0 target 0 lun 2 (da2,pass2)
TEAC USB   HS-SD Card 4.00   at scbus0 target 0 lun 3 (da3,pass3)
scbus1 on ata0 bus 0:
 at scbus1 target -1 lun -1 ()
scbus2 on ata1 bus 0:
 at scbus2 target -1 lun -1 ()
scbus3 on ata2 bus 0:
 at scbus3 target -1 lun -1 ()
scbus4 on ata3 bus 0:
PHILIPS DVD-ROM DROM6316 OD2Fat scbus4 target 0 lun 0 (cd0,pass4)
 at scbus4 target -1 lun -1 ()
scbus5 on ata4 bus 0:
TSSTcorp DVD+-RW TS-H653A D300   at scbus5 target 0 lun 0 (cd1,pass5)
 at scbus5 target -1 lun -1 ()
scbus6 on ata5 bus 0:
 at scbus6 target -1 lun -1 ()
scbus7 on umass-sim1 bus 1:
 at scbus7 target 0 lun 0 (pass6)
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/74453: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work

2007-06-22 Thread Federico Galvez-Durand Besnard

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 
[EMAIL PROTECTED]:/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

[EMAIL PROTECTED] camcontrol devlist -v
scbus0 on ata0 bus 0:
 at scbus0 target -1 lun -1 ()
scbus1 on ata1 bus 0:
TOSHIBA DVD-ROM SD-C2402 1317at 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)


[EMAIL PROTECTED] usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x), 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

[EMAIL PROTECTED] diff -u umass.c.orig /usr/src/sys/dev/usb/umass.c
--- umass.c.origThu Jun 21 19:02:27 2007
+++ /usr/src/sys/dev/usb/umass.cThu 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 ([EMAIL PROTECTED]/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.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]