内核版本为Linux-2.6.18
这两天在开发板上调试摄像头遇到的些问题:
1、mmap.frame没设定好,造成的错误信息:
the framebuffer device was opened successfully;
error reading fixed information.
640,480, 16bpp,xoffset= 0,yoffset= 0
the framebuffer device was mapped to memory successfully.
/mnt/hgfs/Image/gspcav1-20071224/gspca_core.c: [spca5xx_set_light_freq:1932] Sensor currently not support light frequency banding filters.
/mnt/hgfs/Image/gspcav1-20071224/gspca_core.c: [gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 8
the video device was opened successfully.
Sonix PcCam, Type:1 (((#define VID_TYPE_CAPTURE 1 /* Can capture */)))
Maxwidth:640, Maxheight:480
Min

在Linux-2.6.18内核版本的开发板上调试摄像头时遇到错误,错误涉及mmap.frame配置不当导致的NULL指针异常。通过分析,发现摄像头一般采用double frames模式,mmap.frame应限制在0或1。此外,还出现ISOC数据错误,可能与帧长度和状态有关。解决方案包括正确设置frame参数和排查ISOC数据传输问题。
最低0.47元/天 解锁文章
2381





