|
【Linux】
Camera dose not work on linux
发表于 2019-3-8 11:08:07
浏览:6910
|
回复:1
打印
只看该作者
[复制链接]
楼主
hello
I am testing S5K4ECGX camera on firefly RK3128 board.
The camera works fine on android system, but it does not work on linux system.
On linux system, I checked the followings
1) /dev/video0 is exist.
2) v4l2-ctl -d /dev/video0 --all
- firefly@firefly:~/test-v4l2$ v4l2-ctl -d /dev/video0 --all
- [64736.020928] s5k4ec_back_3(rk_cam_sensor:1228): generic_sensor_ioctl cmd(0x3) is unknown !
- [64736.020928]
- [64736.123828] rk818_ldo8: operation not allowed
- [64736.192541] rk818_ldo4: operation not allowed
- Driver Info (not using libv4l2):
- Driver name : rk312x-camera
- Card type : s5k4ec_back_3-0_100_100
- Bus info :
- Driver version: 0.1.14
- Capabilities : 0x04000001
- Video Capture
- Streaming
- Video input : 0 (Camera: ok)
- Format Video Capture:
- Width/Height : 800/600
- Pixel Format : 'NV12'
- Field : None
- Bytes per Line : 1200
- Size Image : 720000
- Colorspace : JPEG
- Transfer Function : Default (maps to sRGB)
- YCbCr/HSV Encoding: Default (maps to ITU-R 601)
- Quantization : Default (maps to Full Range)
- Crop Capability Video Capture:
- Bounds : Left 0, Top 0, Width 2592, Height 1944
- Default : Left 0, Top 0, Width 0, Height 0
- Pixel Aspect: 1944/2592
- Crop Capability Video Output:
- Bounds : Left 0, Top 0, Width 2592, Height 1944
- Default : Left 0, Top 0, Width 0, Height 0
- Pixel Aspect: 1944/2592
- Crop: Left 0, Top 0, Width 0, Height 0
- 0x0098090d (menu) : min=0 max=4 default=0 value=0
复制代码
3) mplayer tv:// -tv driver=v4l2:fps=30:width=800:height=600:device=/dev/video0
what can i check the others ?
thanks for any help .
|
|