Hi Laurent,

thank you for your attention,

I enclose as a file the output of "lsusb -v -d 2232:1001" (a bit long).

There are nothing (in the execution of my program) printed in "/var/log/messages/". Also, the command "dmesg" gives no additional information ( I run it before executing my program and after it). (anyway, I copy the last lines of dmesg) output:

[ 2909.989414] tun0: Disabled Privacy Extensions
[ 2910.281249] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 2910.281749] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use [ 2910.281752] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[ 2910.281754] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 2928.462797] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.


BTW, I also enclose the output of my program (called "isabel_video") with debug information activated (which prints all ioctls send to the driver). There is a pretty good bunch of information, but the last grab size change is at line 788 (you can see other previous changes searching for the "setGrabSize" string).

The schema is:
VIDIOC_STREAMOFF(mode=1)
VIDIOC_REQBUFS (count=0,type=1,memory=1) # CARE HERE: I introduce it because some drivers requires to ask
                                                                                
     # for zero buffer to release memory.
                                                                                     # I 
found this idea came in the "lucview" program
then, some VIDIOC_ENUM_FRAMESIZES to poll for gram sizes (again),
VIDIOC_G_FMT      # get current values
VIDIOC_TRY_FMT  # sanity check
VIDIOC_S_FMT      # set the new values

finally,
VIDIOC_REQBUFS(count=2,type=1,memory=1)
VIDIOC_QUERYBUF(0, ...
VIDIOC_QBUF(0, ...
VIDIOC_QUERYBUF(1,...
VIDIOC_QBUF(1,...
VIDIOC_STREAMON(mode=1)

and no further evolution... Note that all ioctl return value >= 0 (are ok).

Should you need any further information, or something I can do at my laptop, just ask for it ,

Thank you very much,

Gabriel Huecas

On 01/25/2011 04:54 PM, Laurent Pinchart wrote:
Hi Gabriel,

On Thursday 20 January 2011 19:11:22 Gabriel Huecas wrote:
Dear folks,

I have installed Ubuntu Linux in a Samsung SF510, which has a WebCam
SCB-0370N (ID 2232:1001)
Could you please send me the output of

lsusb -v -d 2232:1001

(run as root if possible) ?

Whenever I change dynamically the grab size, my video program hangs.
The code has been tested in a pretty good bunch of cameras handled by
the uvcvideo driver.
Does the driver print any message to the kernel log when this happens ?

(For example, the Microsoft LifeCam Cinema(TM), or the Logitech "UVC
Camera (046d:0994)"- don't remember the product name).

Have anyone experience any problem with this camera?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to