#18 Add USB support for Sunray thin clients

closed-rejected
nobody
None
5
2007-06-05
2006-08-23
Michael Gernoth
No

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

Regards,
Michael

Discussion

  • sunray-support patch for libopenobex

     
    • status: open --> closed-rejected
     
  • Logged In: YES
    user_id=136432
    Originator: NO

    The openobex usb maintainer disagrees.
    "The right thing to do would be to find out why libusb on sun rays does
    not provide the extra buffer as compared to libusb shipped with normal
    modern linux distros. Which version do they have? The latest libusb
    definitely does something like [that], why do it again when walking
    through the list of devices later?"