dm365 URB problem

hello :

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 message
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62f1)
usbcore: registered new driver uvcvideo

execute error message
uvcvideo: 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 cam
era found.(ZC3XX)
/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [spca5xx_prob
e:4275] Camera type JPEG
/home/pencil722/獢/DM365/useful/gspcav1-20071224/Vimicro/zc3xx.h: [zc3xx_con
fig:669] Find Sensor HV7131R(c)
/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: [spca5xx_getc
apability:1249] maxw 640 maxh 480 minw 160 minh 120
usbcore: registered new driver gspca
/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: gspca driver
01.00.20 registered

execute 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_is
oc_ep:945] ISO EndPoint found 0x81 AlternateSet 7
/home/pencil722/獢/DM365/useful/gspcav1-20071224/gspca_core.c: init isoc: us
b_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?

regards,

Peter

14 Replies

  • 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.

    Regards

    Ravi B

    If my reply answers your question then please click on the green button "Verify Answer"

  • In reply to Ravi B:

    Hi ravi,

    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

    regards

    pradeep

  • In reply to Pradeep Acharya:

    ravi

    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

  • In reply to Pradeep Acharya:

    Hi Ravi,

    I am using EZSDK 5_05 release on a DM8148EVM and uvccapture application.

    ./uvccapture_larm -v -x640 -y480
    Using videodevice: /dev/video0
    Saving images to: snap.jpg
    Image size: 640x480
    Taking snapshot every 0 seconds
    Taking images using mmap
    Unable to set format: 22.
    Init v4L2 failed !! exit fatal
    root@dm814x-evm:~# ./uvccapture_larm -v -x640 -y320
    Using videodevice: /dev/video0
    Saving images to: snap.jpg
    Image size: 640x320
    Taking snapshot every 0 seconds
    Taking images using mmap
    Unable to set format: 22.
    Init v4L2 failed !! exit fatal

    This is a Jmicron USB camera used which is a High Bandwidth camera