SUN provide a libusb for linux which is able to access
devices attached to Sunray thin clients. Running
openobex with this library finds no devices when
running obex_test -u, as the extra buffer of the device
points to null.
Explicitly opening the device before using the buffer
fixes this problem.
Attached is a patch which works for me on a sunray
platform (It at least lists the device I have connected):
faui48b [~]> /opt/SUNWut/bin/utusbrun obex_test -u
Using USB transport, querying available interfaces
Interface 0: Nokia Nokia E60 SYNCML-SYNC
Interface 1: Nokia Nokia E60 PC Suite Services
Interface 2: Nokia Nokia E60 SYNCML-DM
Use 'obex_test -u interface_number' to run interactive
OBEX test client