On Sun, 2012-10-28 at 20:24 +0100, Peter Stuge wrote:
> Xiaofan Chen wrote:
> > You need to fork libusbx and create your own SCSI Pass Through
> > backend by yourself if you really want to use libusbx.
>
> On the other hand libusbx already does this for HID class, so I don't
> see why mass storage would be less worthy.
In that case, will you please add "SCSI Pass Through" capability to
libusbx?
>
>
> therau2000 wrote:
> > Before I tried to use libusbx, I investigated (and many times
> > unsuccessfully tried) just about every USB library I could find.
>
> You were unsuccessful because you're trying to solve what is
> sometimes called an X-Y problem. You want X but you're trying
> to accomplish it by doing Y.
Actually my first interest was for some basic USB capabilities like
device discovery.
>
> If you want to send raw SCSI commands to a storage device then you
> need to look at what is available to accomplish this in a portable
> way. All USB libraries have failed for you because your problem
> actually is not about USB.
>
> This is all assuming that it is indeed raw SCSI commands that need to
> be sent to the device. I don't know that for certain, but it seems
> highly likely.
Sending raw SCSI commands is the conclusion you experts concluded as the
most likely possibility. I had no idea.
>
> I would not spend any more time on the USB domain,
I am NOT giving up on libusbx! As a matter of facts, I do need libusbx
for certain functions... I believe it is a great project and it is easy
to use the API, even from Java. I would rather have only ONE library to
deal with, and that is libusbx.
> and instead look
> at the storage subsystem and SCSI domain.
Where would you suggest I look?
Regards,
therau2000
------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people. Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel