Hi all, I want connect webcam (logitech C200) to my mini2440. dmesg says: usb 1-1: new full speed USB device using s3c2410-ohci and address 2 usb 1-1: configuration #1 chosen from 1 choice. /dev/video0 does not exist. My kernel is 2.6.29 and I use Debian. On desktop PC camera works. Can anybody help me? Thanks Radim
Webcam under linux
Hi, try to check in kernel menuconfig if you have checked: Symbol: CONFIG_USB_G_WEBCAM, CONFIG_VIDEO_DEV, CONFIG_USB_VIDEO_CLASS Should then work for your webcam because if UVC compatible.
Hi, first enable V4linux: Symbol: VIDEO_DEV [=y] │ │ Type : tristate │ │ Prompt: Video For Linux │ │ Defined at drivers/media/Kconfig:20 │ │ Depends on: MEDIA_SUPPORT [=y] │ │ Location: │ │ -> Device Drivers │ │ -> Multimedia support (MEDIA_SUPPORT [=y]) then : Symbol: USB_G_WEBCAM [=m] │ │ Type : tristate │ │ Prompt: USB Webcam Gadget │ │ Defined at drivers/usb/gadget/Kconfig:948 │ │ Depends on: <choice> && VIDEO_DEV [=y] │ │ Location: │ │ -> Device Drivers │ │ -> USB support (USB_SUPPORT [=y]) │ │ -> USB Gadget Support (USB_GADGET [=y]) │ │ -> USB Gadget Drivers (<choice> [=m]) and last: Symbol: USB_VIDEO_CLASS [=y] │ │ Type : tristate │ │ Prompt: USB Video Class (UVC) │ │ Defined at drivers/media/video/uvc/Kconfig:1 │ │ Depends on: MEDIA_SUPPORT [=y] && VIDEO_CAPTURE_DRIVERS [=y] && VIDEO_V4L2 [=y] && V4L_USB_DRIVERS [=y] && USB [=y] │ │ Location: │ │ -> Device Drivers │ │ -> Multimedia support (MEDIA_SUPPORT [=y]) │ │ -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y]) │ │ -> V4L USB devices (V4L_USB_DRIVERS [=y])
Sorry for this is garbled: so in -> Device Drivers-> Multimedia support then : -> Device Drivers-> USB support-> USB Gadget Support->USB Webcam Gadget last: -> Device Drivers-> Multimedia support-> Video capture adapters-> V4L USB devices Hope it works then for you, lemme know ;) Marek
Problem i solved, thanks. But I have a second problem. i use "camserv" and when I run it, tis say "libv4l1: error allocating v4l1 buffer: Cannot allocate memory".
Seems to ma that camserv is little bit old and maybe obsolete. But if you need it please provide full log (from program start). You can try also :http://code.google.com/p/mjpg-streamer-mini2440/ which is similar project.
I'm working on little webcam application on mini2440. Try source kernel code from this download area (video for linux is enable in default config) mini2440 USB hub use 1.1 USB, and It hard to have big acquisition size with modern webcam base on USB2. Try using Video for linux 2, and don't use read, but mapped memory to image access.
Hello Everyone, anyone can help me, which type of usbcamera is support to mini2440? Anyone can suggest me usbcamera?