Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm trying to setup a camera (Swann ADW-200 wireless) in Zoneminder but having difficulties. Even when the camera is the only USB device hooked into the server it still errors with bandwidth problems

~$ v4l2-ctl -d 0 --all

Driver Info (not using libv4l2):
        Driver name   : uvcvideo
        Card type     : Wireless PC-CAM
        Bus info      : usb-0000:00:1d.0-1.4
        Driver version: 3.2.37
        Capabilities  : 0x04000001
                Video Capture
                Streaming
Format Video Capture:
        Width/Height  : 320/240
        Pixel Format  : 'MJPG'
        Field         : None
        Bytes per Line: 0
        Size Image    : 307200
        Colorspace    : SRGB
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 320, Height 240
        Default     : Left 0, Top 0, Width 320, Height 240
        Pixel Aspect: 1/1
Video input : 0 (Camera 1: ok)
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 5.000 (5/1)
        Read buffers     : 0

~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
        |__ Port 2: Dev 11, If 0, Class=vend., Driver=pl2303, 12M
        |__ Port 4: Dev 23, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 12M
        |__ Port 4: Dev 23, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 12M
        |__ Port 4: Dev 23, If 2, Class=audio, Driver=snd-usb-audio, 12M
        |__ Port 4: Dev 23, If 3, Class=audio, Driver=snd-usb-audio, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M

~$ cat /etc/modprobe.d/uvcvideo.conf 
options uvcvideo quirks=128

~$ tail -n 2 /etc/sysctl.conf 
kernel.shmall = 250000000
kernel.shmmax = 250000000


/usr/src/mjpg-streamer/mjpg-streamer# ./mjpg_streamer -i "input_uvc.so -d /dev/video0 --fps 5" -o "output
_http.so -p 8787 -w ./www"
MJPG Streamer Version: svn rev: 3:172
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: MJPEG
Adding control for Pan (relative)
UVCIOC_CTRL_ADD - Error: Invalid argument
Adding control for Tilt (relative)
UVCIOC_CTRL_ADD - Error: Invalid argument
Adding control for Pan Reset
UVCIOC_CTRL_ADD - Error: Invalid argument
Adding control for Tilt Reset
UVCIOC_CTRL_ADD - Error: Invalid argument
Adding control for Pan/tilt Reset
UVCIOC_CTRL_ADD - Error: Invalid argument
Adding control for Focus (absolute)
UVCIOC_CTRL_ADD - Error: Invalid argument
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Pan/tilt Reset
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: Invalid argument
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: Invalid argument
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8787
 o: username:password.: disabled
 o: commands..........: enabled
Unable to start capture: No space left on device
 i: Error grabbing frames
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.