Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-11-06 Thread Laurent Pinchart
On Monday 03 November 2014 10:08:56 Felipe Balbi wrote:
 On Mon, Nov 03, 2014 at 12:56:32PM +0100, Andrzej Pietrasiewicz wrote:
  W dniu 14.10.2014 o 17:02, Laurent Pinchart pisze:
  On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote:
  Hi,
  
  On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote:
  This series aims at integrating configfs into uvc, the way
  it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex,
  phonet, mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.
  
  The preparation series is already on Felipe's next, so this series
  in fact consists of a small preparation patch and the configfs support
  proper.
  
  Rebased onto Felipe's next.
  
  @Felipe: I know you asked for not sending patches until 3.18-rc1 is
  out. I'm sending this short series anyway, so that e.g. Laurent can
  have a look at it.
  
  @Laurent: Can you have a look at this series?
  
  Laurent ? Since I can't run g_webcam without making it crash, can you
  look at this ?
  
  I will after ELC-E/LPC. My bandwidth is full this week :-/
  
  Have you got any comments about the series?
 
 Laurent ?

I'm afraid I'm leaving now for two weeks with no internet connectivity :-/ 
I'll try to prioritize this when I come back, I'm sorry I can't do more.

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-11-06 Thread Felipe Balbi
On Thu, Nov 06, 2014 at 08:25:49PM +0200, Laurent Pinchart wrote:
 On Monday 03 November 2014 10:08:56 Felipe Balbi wrote:
  On Mon, Nov 03, 2014 at 12:56:32PM +0100, Andrzej Pietrasiewicz wrote:
   W dniu 14.10.2014 o 17:02, Laurent Pinchart pisze:
   On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote:
   Hi,
   
   On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote:
   This series aims at integrating configfs into uvc, the way
   it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex,
   phonet, mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.
   
   The preparation series is already on Felipe's next, so this series
   in fact consists of a small preparation patch and the configfs support
   proper.
   
   Rebased onto Felipe's next.
   
   @Felipe: I know you asked for not sending patches until 3.18-rc1 is
   out. I'm sending this short series anyway, so that e.g. Laurent can
   have a look at it.
   
   @Laurent: Can you have a look at this series?
   
   Laurent ? Since I can't run g_webcam without making it crash, can you
   look at this ?
   
   I will after ELC-E/LPC. My bandwidth is full this week :-/
   
   Have you got any comments about the series?
  
  Laurent ?
 
 I'm afraid I'm leaving now for two weeks with no internet connectivity :-/ 
 I'll try to prioritize this when I come back, I'm sorry I can't do more.

ok, what about those bugs I reported with g_webcam, did you have any
time to verify if it was kernel or userland issue ?

cheers

-- 
balbi


signature.asc
Description: Digital signature


Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-11-03 Thread Andrzej Pietrasiewicz

Hi Laurent, Hi Felipe,

W dniu 14.10.2014 o 17:02, Laurent Pinchart pisze:

On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote:

Hi,

On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote:

This series aims at integrating configfs into uvc, the way
it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.

The preparation series is already on Felipe's next, so this series
in fact consists of a small preparation patch and the configfs support
proper.

Rebased onto Felipe's next.

@Felipe: I know you asked for not sending patches until 3.18-rc1 is out.
I'm sending this short series anyway, so that e.g. Laurent can have
a look at it.

@Laurent: Can you have a look at this series?


Laurent ? Since I can't run g_webcam without making it crash, can you
look at this ?


I will after ELC-E/LPC. My bandwidth is full this week :-/



Have you got any comments about the series?

AP
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-11-03 Thread Felipe Balbi
On Mon, Nov 03, 2014 at 12:56:32PM +0100, Andrzej Pietrasiewicz wrote:
 Hi Laurent, Hi Felipe,
 
 W dniu 14.10.2014 o 17:02, Laurent Pinchart pisze:
 On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote:
 Hi,
 
 On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote:
 This series aims at integrating configfs into uvc, the way
 it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
 mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.
 
 The preparation series is already on Felipe's next, so this series
 in fact consists of a small preparation patch and the configfs support
 proper.
 
 Rebased onto Felipe's next.
 
 @Felipe: I know you asked for not sending patches until 3.18-rc1 is out.
 I'm sending this short series anyway, so that e.g. Laurent can have
 a look at it.
 
 @Laurent: Can you have a look at this series?
 
 Laurent ? Since I can't run g_webcam without making it crash, can you
 look at this ?
 
 I will after ELC-E/LPC. My bandwidth is full this week :-/
 
 
 Have you got any comments about the series?

Laurent ?

-- 
balbi


signature.asc
Description: Digital signature


Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-10-14 Thread Felipe Balbi
Hi,

On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote:
 This series aims at integrating configfs into uvc, the way
 it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
 mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.
 
 The preparation series is already on Felipe's next, so this series
 in fact consists of a small preparation patch and the configfs support
 proper.
 
 Rebased onto Felipe's next.
 
 @Felipe: I know you asked for not sending patches until 3.18-rc1 is out.
 I'm sending this short series anyway, so that e.g. Laurent can have
 a look at it.
 
 @Laurent: Can you have a look at this series?

Laurent ? Since I can't run g_webcam without making it crash, can you
look at this ?

-- 
balbi


signature.asc
Description: Digital signature


Re: [PATCH 0/2] Equivalent of g_webcam with configfs

2014-10-14 Thread Laurent Pinchart
On Tuesday 14 October 2014 09:32:33 Felipe Balbi wrote:
 Hi,
 
 On Wed, Sep 24, 2014 at 03:26:41PM +0200, Andrzej Pietrasiewicz wrote:
  This series aims at integrating configfs into uvc, the way
  it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
  mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.
  
  The preparation series is already on Felipe's next, so this series
  in fact consists of a small preparation patch and the configfs support
  proper.
  
  Rebased onto Felipe's next.
  
  @Felipe: I know you asked for not sending patches until 3.18-rc1 is out.
  I'm sending this short series anyway, so that e.g. Laurent can have
  a look at it.
  
  @Laurent: Can you have a look at this series?
 
 Laurent ? Since I can't run g_webcam without making it crash, can you
 look at this ?

I will after ELC-E/LPC. My bandwidth is full this week :-/

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/2] Equivalent of g_webcam with configfs

2014-09-24 Thread Andrzej Pietrasiewicz
This series aims at integrating configfs into uvc, the way
it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.

The preparation series is already on Felipe's next, so this series
in fact consists of a small preparation patch and the configfs support
proper.

Rebased onto Felipe's next.

@Felipe: I know you asked for not sending patches until 3.18-rc1 is out.
I'm sending this short series anyway, so that e.g. Laurent can have
a look at it.

@Laurent: Can you have a look at this series?

Below is an example listing of gadget's function directory. The attributes
whose access permissions are -r--r--r-- are there only for inspection
by the user but not for modifications. For color matching, camera
terminal, processing unit and output terminal only default descriptors
are provided, that is, creating user's own is not supported at this
moment.

drwxr-xr-x .  
drwxr-xr-x ./streaming  
drwxr-xr-x ./streaming/class  
drwxr-xr-x ./streaming/class/ss  
drwxr-xr-x ./streaming/class/hs  
lrwxrwxrwx ./streaming/class/hs/h - \
../../../../../../../usb_gadget/g1/functions/uvc.usb0/streaming/header/h
drwxr-xr-x ./streaming/class/fs  
lrwxrwxrwx ./streaming/class/fs/h - \
../../../../../../../usb_gadget/g1/functions/uvc.usb0/streaming/header/h
drwxr-xr-x ./streaming/color_matching  
drwxr-xr-x ./streaming/color_matching/default  
-r--r--r-- ./streaming/color_matching/default/bMatrixCoefficients  
-r--r--r-- ./streaming/color_matching/default/bTransferCharacteristics  
-r--r--r-- ./streaming/color_matching/default/bColorPrimaries  
drwxr-xr-x ./streaming/uncompressed  
drwxr-xr-x ./streaming/uncompressed/u  
drwxr-xr-x ./streaming/uncompressed/u/360p  
-rw-r--r-- ./streaming/uncompressed/u/360p/dwFrameInterval  
-rw-r--r-- ./streaming/uncompressed/u/360p/dwDefaultFrameInterval  
-rw-r--r-- ./streaming/uncompressed/u/360p/dwMaxVideoFrameBufferSize  
-rw-r--r-- ./streaming/uncompressed/u/360p/dwMaxBitRate  
-rw-r--r-- ./streaming/uncompressed/u/360p/dwMinBitRate  
-rw-r--r-- ./streaming/uncompressed/u/360p/wHeight  
-rw-r--r-- ./streaming/uncompressed/u/360p/wWidth  
-rw-r--r-- ./streaming/uncompressed/u/360p/bmCapabilities  
-rw-r--r-- ./streaming/uncompressed/u/bmaControls  
-r--r--r-- ./streaming/uncompressed/u/bmInterfaceFlags  
-r--r--r-- ./streaming/uncompressed/u/bAspectRatioY  
-r--r--r-- ./streaming/uncompressed/u/bAspectRatioX  
-rw-r--r-- ./streaming/uncompressed/u/bDefaultFrameIndex  
-rw-r--r-- ./streaming/uncompressed/u/bBitsPerPixel  
-rw-r--r-- ./streaming/uncompressed/u/guidFormat  
drwxr-xr-x ./streaming/header  
drwxr-xr-x ./streaming/header/h  
lrwxrwxrwx ./streaming/header/h/u - \
../../../../../../../usb_gadget/g1/functions/uvc.usb0/streaming/uncompressed/u
-r--r--r-- ./streaming/header/h/bTriggerUsage  
-r--r--r-- ./streaming/header/h/bTriggerSupport  
-r--r--r-- ./streaming/header/h/bStillCaptureMethod  
-r--r--r-- ./streaming/header/h/bTerminalLink  
-r--r--r-- ./streaming/header/h/bmInfo  
drwxr-xr-x ./control  
drwxr-xr-x ./control/class  
drwxr-xr-x ./control/class/ss  
lrwxrwxrwx ./control/class/ss/h - \
../../../../../../../usb_gadget/g1/functions/uvc.usb0/control/header/h
drwxr-xr-x ./control/class/fs  
lrwxrwxrwx ./control/class/fs/h - \
../../../../../../../usb_gadget/g1/functions/uvc.usb0/control/header/h
drwxr-xr-x ./control/terminal  
drwxr-xr-x ./control/terminal/output  
drwxr-xr-x ./control/terminal/output/default  
-r--r--r-- ./control/terminal/output/default/iTerminal  
-r--r--r-- ./control/terminal/output/default/bSourceID  
-r--r--r-- ./control/terminal/output/default/bAssocTerminal  
-r--r--r-- ./control/terminal/output/default/wTerminalType  
-r--r--r-- ./control/terminal/output/default/bTerminalID  
drwxr-xr-x ./control/terminal/camera  
drwxr-xr-x ./control/terminal/camera/default  
-r--r--r-- ./control/terminal/camera/default/bmControls  
-r--r--r-- ./control/terminal/camera/default/wOcularFocalLength  
-r--r--r-- ./control/terminal/camera/default/wObjectiveFocalLengthMax  
-r--r--r-- ./control/terminal/camera/default/wObjectiveFocalLengthMin  
-r--r--r-- ./control/terminal/camera/default/iTerminal  
-r--r--r-- ./control/terminal/camera/default/bAssocTerminal  
-r--r--r-- ./control/terminal/camera/default/wTerminalType  
-r--r--r-- ./control/terminal/camera/default/bTerminalID  
drwxr-xr-x ./control/processing  
drwxr-xr-x ./control/processing/default  
-r--r--r-- ./control/processing/default/iProcessing  
-r--r--r-- ./control/processing/default/bmControls  
-r--r--r-- ./control/processing/default/wMaxMultiplier  
-r--r--r-- ./control/processing/default/bSourceID  
-r--r--r-- ./control/processing/default/bUnitID  
drwxr-xr-x ./control/header  
drwxr-xr-x ./control/header/h  
-rw-r--r-- ./control/header/h/dwClockFrequency  
-rw-r--r-- ./control/header/h/bcdUVC  
-rw-r--r-- ./streaming_maxburst  
-rw-r--r-- ./streaming_maxpacket  
-rw-r--r-- ./streaming_interval  

BACKWARD COMPATIBILITY