Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Matthew Dharm
Hrm... I guess I was mis-reading your messages... The translation should still be left there, of course... you never know when a userspace application will come along and do something stupid. Just having it there doesn't hurt anything -- worst case, it becomes an obsolete and unused code path. B

Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Peter Osterlund
Matthew Dharm <[EMAIL PROTECTED]> writes: > On Sat, Jan 12, 2002 at 11:25:57PM +0100, Peter Osterlund wrote: > > On Sat, 12 Jan 2002, Matthew Dharm wrote: > > > > I think my device *is* the Traveller. Would it be feasible to detect this > > at run-time? Send a MODE_SENSE(6) and if it fails, swit

Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Matthew Dharm
On Sat, Jan 12, 2002 at 11:25:57PM +0100, Peter Osterlund wrote: > On Sat, 12 Jan 2002, Matthew Dharm wrote: > > I think my device *is* the Traveller. Would it be feasible to detect this > at run-time? Send a MODE_SENSE(6) and if it fails, switch to the > MODE_SENSE-conversion protocol. That's r

Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Peter Osterlund
On Sat, 12 Jan 2002, Matthew Dharm wrote: > On Sat, Jan 12, 2002 at 10:26:53AM +0100, Peter Osterlund wrote: > > Matthew Dharm <[EMAIL PROTECTED]> writes: > > > > > Hrm... > > > > > > sr.c doesn't have anything to do with writing... that's all done in > > > userspace. Are you using cdrecord? >

Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Matthew Dharm
On Sat, Jan 12, 2002 at 10:26:53AM +0100, Peter Osterlund wrote: > Matthew Dharm <[EMAIL PROTECTED]> writes: > > > 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

Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Peter Osterlund
Matthew Dharm <[EMAIL PROTECTED]> writes: > 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 (T

Re: [linux-usb-devel] Freecom CD-RW transport protocol

2002-01-12 Thread Matthew Dharm
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'

[linux-usb-devel] Freecom CD-RW transport protocol

2002-01-11 Thread Peter Osterlund
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 dri