I want to use dm365 with a usb webcam.I have two usb webcams and the driver I think is right for them.Now I load the usb_core and musb_hdrc module from kernel source,and then load the driver for each other.
But after that, I use the v4l2's example code, I got the following two error messages for each other:
webcam with UVC driver:
the driver load sucessful messageuvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62f1)usbcore: registered new driver uvcvideoexecute error messageuvcvideo: Failed to submit isoc URB 0 (-90).VIDIOC_STREAMON error 90, Message too long
webcam with gspca driver:
the driver load sucessful message/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(ZC3XX)/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4275] Camera type JPEG/home/pencil722/獢/DM365/useful/gspcav1-20071224/Vimicro/zc3xx.h: [zc3xx_config:669] Find Sensor HV7131R(c)/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120usbcore: registered new driver gspca/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: gspca driver01.00.20 registeredexecute error message/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [spca5xx_set_light_freq:1932] Sensor currently not support light frequency banding filters./home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 7/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: init isoc: usb_submit_urb(0) ret -90/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [spca5xx_open:1996] DEALLOC error on init_Isoc
According the these two messages, I think that there are some problems I need to solve.One is the URB related problem, the other is ISO related problem.These two problems I think related to the error message are new to me.As result, I don't have any idea to solve them.
Can anyone tell me what my problem with the error message?And How to slove the error message?
In reply to zanget:
You can pickup all the patches from arago link and see whether this resolve the issue. Currently these patches are available on top of 4.01.00.07 PSP release for DM814X series, will be included for the next PSP release after complete testing.
In reply to Ravi B:
The patch is for 2.6.37 for DM 8148 where as i want it on linux 2.6.32 on DM 368. Is there any patch on 2.6.32 for DM 368
In reply to Pradeep Acharya:
i've downloaded I've downloaded linux-omap3-094a37960c7fee23bc38386a280491a97502a99b.tar.gz ,compiled the kernel and used it to boot DM 8148. i could capture HD image (1280 x 720) through external usb camera and in raw format (yuyv). Is it 04.01.00.07. version which were you mentioning ? Please confirm ? I thought all the patches which you have mentioned are present in linux-omap3-094a37960c7fee23bc38386a280491a97502a99b.tar.gz
I am using EZSDK 5_05 release on a DM8148EVM and uvccapture application.
./uvccapture_larm -v -x640 -y480Using videodevice: /dev/video0Saving images to: snap.jpgImage size: 640x480Taking snapshot every 0 secondsTaking images using mmapUnable to set format: 22. Init v4L2 failed !! exit fatalroot@dm814x-evm:~# ./uvccapture_larm -v -x640 -y320Using videodevice: /dev/video0Saving images to: snap.jpgImage size: 640x320Taking snapshot every 0 secondsTaking images using mmapUnable to set format: 22. Init v4L2 failed !! exit fatal
This is a Jmicron USB camera used which is a High Bandwidth camera
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.