Re: [PATCH v3][RFC] add raw video stream support for Samsung SUR40

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.03.2015 11:09, Hans Verkuil wrote:
> Hi Florian,
> 
> OK, the cause of this failure is this message:
> 
> Mar  9 10:39:08 sur40 kernel: [ 1093.200960] sur40 2-1:1.0: error in usb_sg_wait
> 
> So you need to print the error message here (sgr.status) so that I can see what
> it is.
I've amended the dev_debug call, the error returned from usb_sg_wait is
also -22 (EINVAL).

> The error almost certainly comes from usb_submit_urb(). That function does some
> checks on the sgl:
> 
> I wonder it the code gets there. Perhaps a printk just before the return -EINVAL
> might help here (also print the 'max' value).
>
> So you will have to debug a bit here, trying to figure out which test in the usb
> code causes the usb_sg_wait error.
I'll do my best to track this down. Do you think this is an error in my
code, one in the USB subsystem, or some combination of both?

Best, Florian
-- 
SENT FROM MY DEC VT50 TERMINAL

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux