[openbeos] Re: USB Mass Storage driver (Was RE: Re: Driver Tutorial)

  • From: Siarzhuk Zharski <zharik@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 18 Sep 2006 12:28:57 +0200

Hi,

Out of interest, who wrote the USB.Patches devices - and is the source code to these available?

Source is not available, Be themselves wrote them. AFAIK, the "patches" are simply some usb related files taken from Dano. So the legality is highly questionable. In any case, we should not concern ourselves with that too much seeing that Michael Lotz is progressing so well with the Haiku USB stack. As was already said, the Haiku USB stack is compatible with BeOS USB drivers, including the USB Mass Storage driver in our repo. The problem is that the UMS driver is at the same time an add-on to the SCSI subsystem. This is most likely the place where it needs to be adjusted. Siarzhuk would know best... :-)
You are right. The vanilla BeOS SCSI CAM interface was "a bit" non-standard and I suspect that there will be some work with it. The "fake" devices reservation is also will be not required, I hope. By the way, is Haiku SCSI CAM use 6-byte commands by default as BeOS does? If not - this is also should require some fixing. The command sequence during initialization can also affect on some of hardware items. The CD/DVD SCSI command sets are also were problematic due very "interesting" behavior of "scsi_cd" driver. :-)

---
Regards,
 S.Zharski


Other related posts: