Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

problems of adding ov511 to cyc board :)

hi:

i am sorry to trouble you.i met some problems when i used ov511 usb camera.and need you help. thank u!!!!!!!

hardware and software: cpu:NIOSII,usb:SL811HS,camera:OV511+. OS:uclinux(2.6.10 kernel)

here are my steps:

1.plug in usb camera;

display:

USB OV511+ video device found

model: Unknown

Camera type (108) not recognized

Please notify mark@alpha.dyndns.org of the name, manufacturer, model, and this number of your camera.

Also include the output of the detection process.

Sensor is an OV7620

Device at usb-sl811-hcd-1 registered to minor 0

2.# ln -s /dev/video0 /dev/video

display:

/dev/video: Read-only file system

3.# mount -n -t usbdevfs none /proc/bus/usb# ls

display:

001 devices

(why no drivers????)

4.run a simple application:# include <stdio.h># include <stdlib.h>

main()

{FILE *fd,*fc;

int i,j;

unsigned char r;

fd=fopen("/dev/video0","r");

if(fd==NULL)

{

printf("Cannot open /dev/video0!!\n");

exit(0);

}

for(i=0;i<200;i++)

{r=fgetc(fd);

printf("data[%d]=%d\n",i,r);

}

exit(0);

}

then display the error:

/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.ker

nel_0.1.5/linux-2.6.x/drivers/usb/media/ov511.c: init isoc: usb_submit_urb(0) re

t -28

Cannot open /dev/video0!!

can you tell me why? and how to solve it .thank you very much!!!!!!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The same problem I met,Do you have any solution?????

    would you please connect me ?

    qq:524159169

    email:dms2002711@163.com

    And my result :

    Isochronous tansfer not supported

    ................................................................................

    ..............

    /cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.ker

    nel_0.1.5/linux-2.6.x/drivers/usb/media/ov511.c: init isoc: usb_submit_urb(0) re

    t -28