That fix breaks all sorts of other devices.

This is an icky problem, because the issue is not the dongle, but what's
on the other side of the dongle.

You can't have usb-storage do any mode translation, because it screws up
other devices (Traveller CD-RW, OnStream Tape, etc.)

Hrm...

sr.c doesn't have anything to do with writing... that's all done in
userspace.  Are you using cdrecord?  What does cdrecord -scanbus and -inq
say?

Matt

On Sat, Jan 12, 2002 at 03:02:49AM +0100, Peter Osterlund wrote:
> I have been investigating why CDRW packet writing didn't work with my
> "Freecom power CD-RW slimline" drive. It turned out that the
> cable/drive doesn't support the MODE SENSE(6) command. Therefore the
> scsi sr.c driver thinks the unit is a CD-ROM and will refuse to send
> any write commands to the drive.
> 
> If I change the transport protocol from QIC to 8020, the drive does
> work in packet writing mode. (See patch below.) Is this the correct
> way to solve the problem, or will it break some other version of
> freecom cable and/or freecom device?
> 
> For reference, this is what "cat /proc/bus/usb/devices" reports:
> 
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=f300
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=07ab ProdID=fc01 Rev= 9.30
> S:  Manufacturer=Freecom
> S:  Product=Freecom USB-IDE Controller
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> 
> --- storage/unusual_devs.h.old        Sat Jan 12 02:57:30 2002
> +++ storage/unusual_devs.h    Sat Jan 12 02:05:15 2002
> @@ -353,7 +353,7 @@
>  UNUSUAL_DEV(  0x07ab, 0xfc01, 0x0000, 0x9999,
>                  "Freecom",
>                  "USB-IDE",
> -                US_SC_QIC, US_PR_FREECOM, freecom_init, 0),
> +                US_SC_8020, US_PR_FREECOM, freecom_init, 0),
>  #endif
>  
>  UNUSUAL_DEV(  0x07af, 0x0004, 0x0100, 0x0133, 
> 
> -- 
> Peter Osterlund - [EMAIL PROTECTED]
> http://w1.894.telia.com/~u89404340
> 
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

I'm a pink gumdrop! How can anything be worse?!!
                                        -- Erwin
User Friendly, 10/4/1998

Attachment: msg03890/pgp00000.pgp
Description: PGP signature

Reply via email to