The USB spec is only a data carrier, it doesn't define any protocol
for actually doing anything.  All that is left up to each device
manufacturer.  So you need to find your device's specification or
reverse engineer it if you want to make it do anything.

Also, as far as listing the "contents of a device", I am highly
doubtful that any device would bother providing that since it doesn't
seem very useful.  But again, it's entirely up to your device
manufacturer.

On 7/13/07, Crashy Ice <[EMAIL PROTECTED]> wrote:
> Thanks Dan, i was a little confused.
>
> I have another question. I want to list the contents of a usb device (usb
> memory). I have searched through the mailing list, but i have found nothing
> that can helps me.
> I can locate all my connected usb devices, and i can open a UsbPipe on one
> UsbEndpoint.
>
> I suppose that to list the contents of a device i have to do it through the
> UsbPipe. It's that true? And to do so I have to look at the Usb
> specification and communicate with the device byte to byte?
>
> Thanks in advance,
> Crashy.
>
>
>
>
> On 7/12/07, Dan Streetman <[EMAIL PROTECTED]> wrote:
> > Not sure what you mean, usb devices do not get "mounted".  The usbfs
> > file system does get mounted, which currently is hardcoded in
> > javax.usb to /proc/bus/usb (it needs to be changed to be configurable
> > and/or check multiple places as the mount location has changed in
> > later kernels).
> >
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to