Re: write to a UVC device

2017-10-02 Thread Rail Shafigulin
> All of the character devices is not working properly with low level I/O. > > The details are >> taken care by the driver. Am I correct in understanding that this is >> not a way to do it with UVC, i.e. the sequence of steps is different >> (open, some different steps, close) ? > > yes. you need t

Re: write to a UVC device

2017-09-27 Thread Jaejoong Kim
2017-09-28 2:07 GMT+09:00 Rail Shafigulin : > On Mon, Sep 25, 2017 at 7:29 PM, Jaejoong Kim wrote: >> Hi, >> >> The below link will help. >> >> http://git.ideasonboard.org/uvc-gadget.git >> https://lwn.net/Articles/203924/ >> >> Jaejoong >> > > Thanks for the reply. But I need some clarification.

Re: write to a UVC device

2017-09-27 Thread Rail Shafigulin
On Mon, Sep 25, 2017 at 7:29 PM, Jaejoong Kim wrote: > Hi, > > The below link will help. > > http://git.ideasonboard.org/uvc-gadget.git > https://lwn.net/Articles/203924/ > > Jaejoong > Thanks for the reply. But I need some clarification. Usually when a character device (which as far as I unders

Re: write to a UVC device

2017-09-25 Thread Jaejoong Kim
Hi, The below link will help. http://git.ideasonboard.org/uvc-gadget.git https://lwn.net/Articles/203924/ Jaejoong 2017-09-26 7:06 GMT+09:00 Rail Shafigulin : > Working on a custom Xilinx board with Petalinux on it. Have > /dev/video0 node which is UVC. Tested it with vivid driver and know > th

write to a UVC device

2017-09-25 Thread Rail Shafigulin
Working on a custom Xilinx board with Petalinux on it. Have /dev/video0 node which is UVC. Tested it with vivid driver and know that it is working. Now I want to stream my own video through it. Decided to test with a simple buffer. Got the following error: write to UVC: Invalid argument. The code