Part Number:PROCESSOR-SDK-AM335X
Tool/software: Linux
hi Mike
I test your code, "0317.TestRepeatOpen.rar" on my board , also have the same problem.
I make a program using QT and opencv to test my camera , it also fails with "select timeout".
Any suggestion to me?
thank you.
CPU: AM3354
SDK: ti-processor-sdk-linux-am335x-evm-05.02.00.10
root@am335x-evm:/home/david# ./sensor_test
9963776: Brightness:128
9963777: Contrast:135
9963778: Saturation:80
9963779: Hue:0
9963792: Gamma:4
9963795: Gain:16
9963800: Power Line Frequency:1
9963803: Sharpness:20
{ pixelformat = ''YUYV'', description = ''YUYV 4:2:2'' }
select time = 3003101
select timeout
root@am335x-evm:/home/david# v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : USB2.0 PC CAMERA
Bus info : usb-musb-hdrc.0-1
Driver version: 4.14.79
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV'
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : Default
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=0 max=255 step=1 default=128 value=128
contrast (int) : min=0 max=255 step=1 default=135 value=135
saturation (int) : min=0 max=255 step=1 default=80 value=80
hue (int) : min=-127 max=127 step=1 default=0 value=0
gamma (int) : min=1 max=8 step=1 default=4 value=4
gain (int) : min=0 max=65535 step=1 default=16 value=16
power_line_frequency (menu) : min=0 max=2 default=1 value=1
sharpness (int) : min=0 max=255 step=1 default=20 value=20