From Artem.Kachitchkin@sun.com Fri Jan 11 10:47:52 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m0BIlpLl002529
	for <psarc-ext@sac.sfbay.Sun.COM>; Fri, 11 Jan 2008 10:47:52 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m0BIljP8000072;
	Sat, 12 Jan 2008 02:47:50 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JUH0050JTJQ6N00@brm-avmta-1.central.sun.com>; Fri,
 11 Jan 2008 11:47:50 -0700 (MST)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JUH000JSTJP6W40@brm-avmta-1.central.sun.com>; Fri,
 11 Jan 2008 11:47:49 -0700 (MST)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m0BIlnBs011389;
 Fri, 11 Jan 2008 10:47:49 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JUH00701TFR4200@fe-sfbay-10.sun.com>
 (original mail from Artem.Kachitchkin@Sun.COM); Fri,
 11 Jan 2008 10:47:49 -0800 (PST)
Received: from [129.150.22.93] by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JUH00EORTJMJJE0@fe-sfbay-10.sun.com>; Fri,
 11 Jan 2008 10:47:47 -0800 (PST)
Date: Fri, 11 Jan 2008 10:44:15 -0800
From: Artem Kachitchkine <Artem.Kachitchkin@sun.com>
Subject: PSARC/2008/018 Integrate OpenUSB into Solaris
Sender: Artem.Kachitchkin@sun.com
To: psarc-ext@sun.com
Cc: libusb@sun.com, Lei Chen <Raymond.Chen@sun.com>
Message-id: <4787B8FF.4020108@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
User-Agent: Mozilla/5.0 Gecko/20040113
Status: RO
Content-Length: 3834

I am sponsoring this fast track for Raymond Chen.
Requested binding is minor, timeout 1/18/2008.

-Artem

Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
     1.1. Project/Component Working Name:
	 Integrate OpenUSB into Solaris
     1.2. Name of Document Author/Supplier:
	 Author:  Raymond Chen
     1.3  Date of This Document:
	11 January, 2008
4. Technical Description

4.1 Summary

This project integrates OpenUSB into Solaris and makes interfaces
from "PSARC/2003/721 libusb: user level usb library" Obsolete.
Requested binding: minor.
	
4.2 Details
	
Solaris currently ships with an implementation of libusb 0.1.8 API,
supporting both native Solaris USB and Sun Ray USB frameworks.
Unfortunately, libusb development stagnated around version 0.1.12,
bound by lack of involvement from the original author and disagreements
about future directions. To revitalize development, the community
created a fork of libusb, called OpenUSB, and Sun has been actively
contributing to the effort. OpenUSB is licensed under LGPL and BSD
licenses.

OpenUSB provides a set of enhanced APIs for accessing USB devices,
providing better abstraction of the diverse USB frameworks available on
various platforms and ease development of portable applications.
OpenUSB has the following enhancements over libusb 0.1.x:

- Redesigned enumeration. New APIs for searching and managing of busses
and devices, and notify application of hotplug and power management
events.

- OpenUSB supports multi-threaded applications (unlike libusb).

- Addition of asynchronous interfaces. More flexibility over libusb
0.1.x, all of which interfaces are strictly synchronous.

- Support all 4 transfer types: control, bulk, interrupt and
isochronous. libusb 0.1.x did not support isochronous or control on any
endpoint other than default.

- Error code unification. All functions return the same set of error
codes across all platforms.

OpenUSB includes a libusb emulation layer, implemented via native
OpenUSB interfaces, and is ABI-compatible with libusb. Legacy
applications will continue to work without recompilation.

OpenUSB consists of two parts: a frontend, common to all platforms, and
a number of platform-specific backends. This project delivers the
backend for native Solaris USB framework. The backend for Sun Ray USB
will be added in the near future.

This case proposes to mark Obsolete all libusb interfaces from
PSARC/2003/721. This case does not remove libusb from Solaris: it will
continue to coexist with OpenUSB for some time, at least until the new
Sun Ray backend is delivered.

OpenUSB applications will include <openusb.h> and link with -lopenusb.
Planned deliverables:

/usr/lib/libopenusb.so.0.0.0
/usr/lib/libopenusb.so -> libopenusb.so.0.0.0
/usr/lib/libopenusb.so.0 -> libopenusb.so.0.0.0
/usr/lib/openusb_backend/sunos.so
/usr/include/openusb.h
/usr/share/man/man3lib/libopenusb.3lib
/usr/share/doc/openusb/openusb_guide.html

openusb.h and openusb_guide.html are in this case's directory.


4.3 Interfaces

All interfaces in OpenUSB, including structures, macros and functions
are Volatile. Additionally, two environment variables are exported.

-------------------------+----------+-----------------------------
openusb.h (see case dir) | Volatile | OpenUSB C API
OPENUSB_BACKEND_PATH	 | Volatile | Alternative backend location
OPENUSB_DEBUG		 | Volatile | Enable debug mode
-------------------------+----------+-----------------------------


4.4. References

http://libusb.sourceforge.net/
http://openusb.sourceforge.net/
PSARC/2003/721 libusb: user level usb library

6. Resources and Schedule
     6.4. Steering Committee requested information
    	6.4.1. Consolidation C-team Name:
		SFW
     6.5. ARC review type: FastTrack
     6.6. ARC Exposure: open


From David.Markowitz@sun.com Fri Jan 11 10:54:33 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m0BIsWgC002896
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 11 Jan 2008 10:54:32 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m0BIsUf9003287;
	Fri, 11 Jan 2008 18:54:31 GMT
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JUH00K0RTUTRI00@nwk-avmta-2.sfbay.sun.com>; Fri,
 11 Jan 2008 10:54:29 -0800 (PST)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JUH00FVVTUR1X90@nwk-avmta-2.sfbay.sun.com>; Fri,
 11 Jan 2008 10:54:27 -0800 (PST)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m0BIsR5j012235; Fri,
 11 Jan 2008 18:54:27 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JUH00201TMVQI00@mail-amer.sun.com>
 (original mail from David.Markowitz@Sun.COM); Fri,
 11 Jan 2008 11:54:27 -0700 (MST)
Received: from [129.150.12.99] by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JUH004JRTUF0SC0@mail-amer.sun.com>; Fri,
 11 Jan 2008 11:54:16 -0700 (MST)
Date: Fri, 11 Jan 2008 10:54:02 -0800
From: "David L. Markowitz" <David.Markowitz@sun.com>
Subject: Re: PSARC/2008/018 Integrate OpenUSB into Solaris
In-reply-to: <4787B8FF.4020108@sun.com>
Sender: David.Markowitz@sun.com
To: Artem Kachitchkine <Artem.Kachitchkin@sun.com>
Cc: psarc-ext@sun.com, libusb@sun.com, Lei Chen <Raymond.Chen@sun.com>
Reply-to: David.Markowitz@sun.com
Message-id: <4787BB4A.9070804@Sun.com>
Organization: Sun Microsystems
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
X-PMX-Version: 5.2.0.264296
References: <4787B8FF.4020108@sun.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20060120
Status: RO
Content-Length: 4259

What plans are there, if any, to support this on Sun Ray, like libusb
currently does?

Artem Kachitchkine wrote:
> I am sponsoring this fast track for Raymond Chen.
> Requested binding is minor, timeout 1/18/2008.
> 
> -Artem
> 
> Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>      1.1. Project/Component Working Name:
>      Integrate OpenUSB into Solaris
>      1.2. Name of Document Author/Supplier:
>      Author:  Raymond Chen
>      1.3  Date of This Document:
>     11 January, 2008
> 4. Technical Description
> 
> 4.1 Summary
> 
> This project integrates OpenUSB into Solaris and makes interfaces
> from "PSARC/2003/721 libusb: user level usb library" Obsolete.
> Requested binding: minor.
>     
> 4.2 Details
>     
> Solaris currently ships with an implementation of libusb 0.1.8 API,
> supporting both native Solaris USB and Sun Ray USB frameworks.
> Unfortunately, libusb development stagnated around version 0.1.12,
> bound by lack of involvement from the original author and disagreements
> about future directions. To revitalize development, the community
> created a fork of libusb, called OpenUSB, and Sun has been actively
> contributing to the effort. OpenUSB is licensed under LGPL and BSD
> licenses.
> 
> OpenUSB provides a set of enhanced APIs for accessing USB devices,
> providing better abstraction of the diverse USB frameworks available on
> various platforms and ease development of portable applications.
> OpenUSB has the following enhancements over libusb 0.1.x:
> 
> - Redesigned enumeration. New APIs for searching and managing of busses
> and devices, and notify application of hotplug and power management
> events.
> 
> - OpenUSB supports multi-threaded applications (unlike libusb).
> 
> - Addition of asynchronous interfaces. More flexibility over libusb
> 0.1.x, all of which interfaces are strictly synchronous.
> 
> - Support all 4 transfer types: control, bulk, interrupt and
> isochronous. libusb 0.1.x did not support isochronous or control on any
> endpoint other than default.
> 
> - Error code unification. All functions return the same set of error
> codes across all platforms.
> 
> OpenUSB includes a libusb emulation layer, implemented via native
> OpenUSB interfaces, and is ABI-compatible with libusb. Legacy
> applications will continue to work without recompilation.
> 
> OpenUSB consists of two parts: a frontend, common to all platforms, and
> a number of platform-specific backends. This project delivers the
> backend for native Solaris USB framework. The backend for Sun Ray USB
> will be added in the near future.
> 
> This case proposes to mark Obsolete all libusb interfaces from
> PSARC/2003/721. This case does not remove libusb from Solaris: it will
> continue to coexist with OpenUSB for some time, at least until the new
> Sun Ray backend is delivered.
> 
> OpenUSB applications will include <openusb.h> and link with -lopenusb.
> Planned deliverables:
> 
> /usr/lib/libopenusb.so.0.0.0
> /usr/lib/libopenusb.so -> libopenusb.so.0.0.0
> /usr/lib/libopenusb.so.0 -> libopenusb.so.0.0.0
> /usr/lib/openusb_backend/sunos.so
> /usr/include/openusb.h
> /usr/share/man/man3lib/libopenusb.3lib
> /usr/share/doc/openusb/openusb_guide.html
> 
> openusb.h and openusb_guide.html are in this case's directory.
> 
> 
> 4.3 Interfaces
> 
> All interfaces in OpenUSB, including structures, macros and functions
> are Volatile. Additionally, two environment variables are exported.
> 
> -------------------------+----------+-----------------------------
> openusb.h (see case dir) | Volatile | OpenUSB C API
> OPENUSB_BACKEND_PATH     | Volatile | Alternative backend location
> OPENUSB_DEBUG         | Volatile | Enable debug mode
> -------------------------+----------+-----------------------------
> 
> 
> 4.4. References
> 
> http://libusb.sourceforge.net/
> http://openusb.sourceforge.net/
> PSARC/2003/721 libusb: user level usb library
> 
> 6. Resources and Schedule
>      6.4. Steering Committee requested information
>         6.4.1. Consolidation C-team Name:
>         SFW
>      6.5. ARC review type: FastTrack
>      6.6. ARC Exposure: open
> 


-- 
     David.Markowitz@sun.com			Sun Ray Product Engineering

From Raymond.Chen@sun.com Sun Jan 13 18:16:54 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m0E2GrQK007629
	for <psarc-ext@sac.sfbay.sun.com>; Sun, 13 Jan 2008 18:16:53 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m0E2GlKO023229;
	Mon, 14 Jan 2008 02:16:51 GMT
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JUM007013O0OI00@nwk-avmta-2.sfbay.sun.com>; Sun,
 13 Jan 2008 18:16:48 -0800 (PST)
Received: from sineb-mail-2.sun.com ([192.18.19.7])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JUM00J7O3NYJ580@nwk-avmta-2.sfbay.sun.com>; Sun,
 13 Jan 2008 18:16:47 -0800 (PST)
Received: from fe-apac-06.sun.com
 (fe-apac-06.sun.com [192.18.19.177] (may be forged))
	by sineb-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m0E2Gkb6004499; Mon,
 14 Jan 2008 02:16:46 +0000 (GMT)
Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0JUM00D013IGG900@mail-apac.sun.com>
 (original mail from Raymond.Chen@Sun.COM); Mon,
 14 Jan 2008 10:16:46 +0800 (SGT)
Received: from [129.158.218.80] by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0JUM00CIS3NMUF19@mail-apac.sun.com>; Mon,
 14 Jan 2008 10:16:45 +0800 (SGT)
Date: Mon, 14 Jan 2008 10:08:52 +0800
From: Lei Chen <Raymond.Chen@sun.com>
Subject: Re: PSARC/2008/018 Integrate OpenUSB into Solaris
In-reply-to: <4787BB4A.9070804@Sun.com>
Sender: Raymond.Chen@sun.com
To: David.Markowitz@sun.com, Padu.Iyer@sun.com
Cc: Artem Kachitchkine <Artem.Kachitchkin@sun.com>, psarc-ext@sun.com,
        libusb@sun.com
Message-id: <478AC434.20203@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <4787B8FF.4020108@sun.com> <4787BB4A.9070804@Sun.com>
User-Agent: Thunderbird 2.0.0.6 (X11/20070924)
Status: RO
Content-Length: 4430

David L. Markowitz wrote:
> What plans are there, if any, to support this on Sun Ray, like libusb
> currently does?
SunRay may have resource limit at present. I think SunRay folks can 
probably help answer this question.

Thanks,
Lei Chen

>
> Artem Kachitchkine wrote:
>> I am sponsoring this fast track for Raymond Chen.
>> Requested binding is minor, timeout 1/18/2008.
>>
>> -Artem
>>
>> Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
>> This information is Copyright 2008 Sun Microsystems
>> 1. Introduction
>>      1.1. Project/Component Working Name:
>>      Integrate OpenUSB into Solaris
>>      1.2. Name of Document Author/Supplier:
>>      Author:  Raymond Chen
>>      1.3  Date of This Document:
>>     11 January, 2008
>> 4. Technical Description
>>
>> 4.1 Summary
>>
>> This project integrates OpenUSB into Solaris and makes interfaces
>> from "PSARC/2003/721 libusb: user level usb library" Obsolete.
>> Requested binding: minor.
>>     4.2 Details
>>     Solaris currently ships with an implementation of libusb 0.1.8 API,
>> supporting both native Solaris USB and Sun Ray USB frameworks.
>> Unfortunately, libusb development stagnated around version 0.1.12,
>> bound by lack of involvement from the original author and disagreements
>> about future directions. To revitalize development, the community
>> created a fork of libusb, called OpenUSB, and Sun has been actively
>> contributing to the effort. OpenUSB is licensed under LGPL and BSD
>> licenses.
>>
>> OpenUSB provides a set of enhanced APIs for accessing USB devices,
>> providing better abstraction of the diverse USB frameworks available on
>> various platforms and ease development of portable applications.
>> OpenUSB has the following enhancements over libusb 0.1.x:
>>
>> - Redesigned enumeration. New APIs for searching and managing of busses
>> and devices, and notify application of hotplug and power management
>> events.
>>
>> - OpenUSB supports multi-threaded applications (unlike libusb).
>>
>> - Addition of asynchronous interfaces. More flexibility over libusb
>> 0.1.x, all of which interfaces are strictly synchronous.
>>
>> - Support all 4 transfer types: control, bulk, interrupt and
>> isochronous. libusb 0.1.x did not support isochronous or control on any
>> endpoint other than default.
>>
>> - Error code unification. All functions return the same set of error
>> codes across all platforms.
>>
>> OpenUSB includes a libusb emulation layer, implemented via native
>> OpenUSB interfaces, and is ABI-compatible with libusb. Legacy
>> applications will continue to work without recompilation.
>>
>> OpenUSB consists of two parts: a frontend, common to all platforms, and
>> a number of platform-specific backends. This project delivers the
>> backend for native Solaris USB framework. The backend for Sun Ray USB
>> will be added in the near future.
>>
>> This case proposes to mark Obsolete all libusb interfaces from
>> PSARC/2003/721. This case does not remove libusb from Solaris: it will
>> continue to coexist with OpenUSB for some time, at least until the new
>> Sun Ray backend is delivered.
>>
>> OpenUSB applications will include <openusb.h> and link with -lopenusb.
>> Planned deliverables:
>>
>> /usr/lib/libopenusb.so.0.0.0
>> /usr/lib/libopenusb.so -> libopenusb.so.0.0.0
>> /usr/lib/libopenusb.so.0 -> libopenusb.so.0.0.0
>> /usr/lib/openusb_backend/sunos.so
>> /usr/include/openusb.h
>> /usr/share/man/man3lib/libopenusb.3lib
>> /usr/share/doc/openusb/openusb_guide.html
>>
>> openusb.h and openusb_guide.html are in this case's directory.
>>
>>
>> 4.3 Interfaces
>>
>> All interfaces in OpenUSB, including structures, macros and functions
>> are Volatile. Additionally, two environment variables are exported.
>>
>> -------------------------+----------+-----------------------------
>> openusb.h (see case dir) | Volatile | OpenUSB C API
>> OPENUSB_BACKEND_PATH     | Volatile | Alternative backend location
>> OPENUSB_DEBUG         | Volatile | Enable debug mode
>> -------------------------+----------+-----------------------------
>>
>>
>> 4.4. References
>>
>> http://libusb.sourceforge.net/
>> http://openusb.sourceforge.net/
>> PSARC/2003/721 libusb: user level usb library
>>
>> 6. Resources and Schedule
>>      6.4. Steering Committee requested information
>>         6.4.1. Consolidation C-team Name:
>>         SFW
>>      6.5. ARC review type: FastTrack
>>      6.6. ARC Exposure: open
>>
>
>


From Raymond.Chen@sun.com Sun Jan 13 21:41:24 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m0E5fNHB010232
	for <psarc-ext@sac.sfbay.Sun.COM>; Sun, 13 Jan 2008 21:41:24 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m0E5fFfX012421;
	Mon, 14 Jan 2008 13:41:22 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JUM00H05D4WNX00@nwk-avmta-2.sfbay.sun.com>; Sun,
 13 Jan 2008 21:41:20 -0800 (PST)
Received: from sineb-mail-1.sun.com ([192.18.19.6])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JUM00GBHD4VEA70@nwk-avmta-2.sfbay.sun.com>; Sun,
 13 Jan 2008 21:41:20 -0800 (PST)
Received: from fe-apac-05.sun.com
 (fe-apac-05.sun.com [192.18.19.176] (may be forged))
	by sineb-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m0E5fIkn001350; Mon,
 14 Jan 2008 05:41:18 +0000 (GMT)
Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0JUM00B01CXFF300@mail-apac.sun.com>
 (original mail from Raymond.Chen@Sun.COM); Mon,
 14 Jan 2008 13:41:18 +0800 (SGT)
Received: from [129.158.218.51] by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0JUM007MJD4LXFT1@mail-apac.sun.com>; Mon,
 14 Jan 2008 13:41:18 +0800 (SGT)
Date: Mon, 14 Jan 2008 13:47:17 +0800
From: Lei Chen <Raymond.Chen@sun.com>
Subject: Re: PSARC/2008/018 Integrate OpenUSB into Solaris
In-reply-to: <478AC434.20203@sun.com>
Sender: Raymond.Chen@sun.com
To: David.Markowitz@sun.com
Cc: Lei Chen <Raymond.Chen@sun.com>, Padu.Iyer@sun.com,
        Artem Kachitchkine <Artem.Kachitchkin@sun.com>, psarc-ext@sun.com,
        libusb@sun.com
Message-id: <478AF765.1090500@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <4787B8FF.4020108@sun.com> <4787BB4A.9070804@Sun.com>
 <478AC434.20203@sun.com>
User-Agent: Thunderbird 2.0.0.6 (X11/20070824)
Status: RO
Content-Length: 4835

Lei Chen wrote:
> David L. Markowitz wrote:
>> What plans are there, if any, to support this on Sun Ray, like libusb
>> currently does?
> SunRay may have resource limit at present. I think SunRay folks can 
> probably help answer this question.
Sorry, I may have misunderstood your question. I checked my email and 
found the discussion with SunRay folks about OpenUSB support. They plan 
to support OpenUSB on SunRay with such reply, "Sun Ray management is 
committed to OpenUSB efforts".

Thanks,
Lei Chen

>
> Thanks,
> Lei Chen
>
>>
>> Artem Kachitchkine wrote:
>>> I am sponsoring this fast track for Raymond Chen.
>>> Requested binding is minor, timeout 1/18/2008.
>>>
>>> -Artem
>>>
>>> Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
>>> This information is Copyright 2008 Sun Microsystems
>>> 1. Introduction
>>>      1.1. Project/Component Working Name:
>>>      Integrate OpenUSB into Solaris
>>>      1.2. Name of Document Author/Supplier:
>>>      Author:  Raymond Chen
>>>      1.3  Date of This Document:
>>>     11 January, 2008
>>> 4. Technical Description
>>>
>>> 4.1 Summary
>>>
>>> This project integrates OpenUSB into Solaris and makes interfaces
>>> from "PSARC/2003/721 libusb: user level usb library" Obsolete.
>>> Requested binding: minor.
>>>     4.2 Details
>>>     Solaris currently ships with an implementation of libusb 0.1.8 API,
>>> supporting both native Solaris USB and Sun Ray USB frameworks.
>>> Unfortunately, libusb development stagnated around version 0.1.12,
>>> bound by lack of involvement from the original author and disagreements
>>> about future directions. To revitalize development, the community
>>> created a fork of libusb, called OpenUSB, and Sun has been actively
>>> contributing to the effort. OpenUSB is licensed under LGPL and BSD
>>> licenses.
>>>
>>> OpenUSB provides a set of enhanced APIs for accessing USB devices,
>>> providing better abstraction of the diverse USB frameworks available on
>>> various platforms and ease development of portable applications.
>>> OpenUSB has the following enhancements over libusb 0.1.x:
>>>
>>> - Redesigned enumeration. New APIs for searching and managing of busses
>>> and devices, and notify application of hotplug and power management
>>> events.
>>>
>>> - OpenUSB supports multi-threaded applications (unlike libusb).
>>>
>>> - Addition of asynchronous interfaces. More flexibility over libusb
>>> 0.1.x, all of which interfaces are strictly synchronous.
>>>
>>> - Support all 4 transfer types: control, bulk, interrupt and
>>> isochronous. libusb 0.1.x did not support isochronous or control on any
>>> endpoint other than default.
>>>
>>> - Error code unification. All functions return the same set of error
>>> codes across all platforms.
>>>
>>> OpenUSB includes a libusb emulation layer, implemented via native
>>> OpenUSB interfaces, and is ABI-compatible with libusb. Legacy
>>> applications will continue to work without recompilation.
>>>
>>> OpenUSB consists of two parts: a frontend, common to all platforms, and
>>> a number of platform-specific backends. This project delivers the
>>> backend for native Solaris USB framework. The backend for Sun Ray USB
>>> will be added in the near future.
>>>
>>> This case proposes to mark Obsolete all libusb interfaces from
>>> PSARC/2003/721. This case does not remove libusb from Solaris: it will
>>> continue to coexist with OpenUSB for some time, at least until the new
>>> Sun Ray backend is delivered.
>>>
>>> OpenUSB applications will include <openusb.h> and link with -lopenusb.
>>> Planned deliverables:
>>>
>>> /usr/lib/libopenusb.so.0.0.0
>>> /usr/lib/libopenusb.so -> libopenusb.so.0.0.0
>>> /usr/lib/libopenusb.so.0 -> libopenusb.so.0.0.0
>>> /usr/lib/openusb_backend/sunos.so
>>> /usr/include/openusb.h
>>> /usr/share/man/man3lib/libopenusb.3lib
>>> /usr/share/doc/openusb/openusb_guide.html
>>>
>>> openusb.h and openusb_guide.html are in this case's directory.
>>>
>>>
>>> 4.3 Interfaces
>>>
>>> All interfaces in OpenUSB, including structures, macros and functions
>>> are Volatile. Additionally, two environment variables are exported.
>>>
>>> -------------------------+----------+-----------------------------
>>> openusb.h (see case dir) | Volatile | OpenUSB C API
>>> OPENUSB_BACKEND_PATH     | Volatile | Alternative backend location
>>> OPENUSB_DEBUG         | Volatile | Enable debug mode
>>> -------------------------+----------+-----------------------------
>>>
>>>
>>> 4.4. References
>>>
>>> http://libusb.sourceforge.net/
>>> http://openusb.sourceforge.net/
>>> PSARC/2003/721 libusb: user level usb library
>>>
>>> 6. Resources and Schedule
>>>      6.4. Steering Committee requested information
>>>         6.4.1. Consolidation C-team Name:
>>>         SFW
>>>      6.5. ARC review type: FastTrack
>>>      6.6. ARC Exposure: open
>>>
>>
>>
>


From Artem.Kachitchkin@sun.com Sun Jan 20 10:44:10 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m0KIi9M5000823
	for <psarc-ext@sac.sfbay.Sun.COM>; Sun, 20 Jan 2008 10:44:10 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m0KIi0dk015225;
	Mon, 21 Jan 2008 02:44:08 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JUY00601HDG8R00@nwk-avmta-1.sfbay.Sun.COM>; Sun,
 20 Jan 2008 10:44:04 -0800 (PST)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JUY006B4HDFLNF0@nwk-avmta-1.sfbay.Sun.COM>; Sun,
 20 Jan 2008 10:44:03 -0800 (PST)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m0KIi3Eg019624;
 Sun, 20 Jan 2008 10:44:03 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JUY00A01H8A5H00@fe-sfbay-10.sun.com>
 (original mail from Artem.Kachitchkin@Sun.COM); Sun,
 20 Jan 2008 10:44:03 -0800 (PST)
Received: from [192.168.1.100] ([75.6.231.214])
 by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb
 28 2007)) with ESMTPSA id <0JUY00IJLHDEGQ60@fe-sfbay-10.sun.com>; Sun,
 20 Jan 2008 10:44:03 -0800 (PST)
Date: Sun, 20 Jan 2008 10:43:23 -0800
From: Artem Kachitchkine <Artem.Kachitchkin@sun.com>
Subject: Re: PSARC/2008/018 Integrate OpenUSB into Solaris
In-reply-to: <4787B8FF.4020108@sun.com>
Sender: Artem.Kachitchkin@sun.com
To: psarc-ext@sun.com
Cc: libusb@sun.com, Lei Chen <Raymond.Chen@sun.com>
Message-id: <4793964B.7010204@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <4787B8FF.4020108@sun.com>
User-Agent: Mozilla/5.0 Gecko/20040113
Status: RO
Content-Length: 36


This case is now approved.

-Artem

