[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: webcamera not working



On 2012-01-10 23:04, Scott Ferguson wrote:

Sorry for the long delay, haven't had a chance to respond until now.
Is paste.debian.org the correct address? dns wouldn't resolv for me.
My apologies.
That should have been paste.debian.*net* not paste.debian.*org*.

No worries.
I put the output here instead http://pastebin.com/Yfs4zL5T
Thanks.
Everything there looks as it should be - for the camera.

The result of ls /dev/video* is /dev/video0

Then device creation is fine, and accords with dmesg.


It appears as if there isn't enough USB bandwidth for your device - try
it in other USB ports. Use:-
$ dmesg | tail -20 | grep ioctl
to see when you've found a USB bus that's not overloaded.


None of the usb ports worked. This is the output from vlc v4l2:///dev/video0

Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[0x966120] main libvlc: Kör vlc med standardgränssnittet. Använd "cvlc" för att använda vlc utan gränssnitt.
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7f768971ab50, 0x7f768971aab0)
Blocked: call to setlocale(6, "")
Warning: call to signal(13, 0x1)
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
[0xa748e0] v4l2 demux error: VIDIOC_STREAMON failed
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
[0xa748e0] v4l2 demux error: cannot set input (Device or resource busy)
[0xcaa340] v4l2 access error: VIDIOC_STREAMON failed
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
libv4lconvert: warning more framesizes then I can handle!
[0xcaa340] v4l2 access error: cannot set input (Device or resource busy)
[0xc8d4e0] main input error: open of `v4l2:///dev/video0' failed: (null)


Before I got "v4l2: ioctl streamon failed: No space left on device" from vlc as well as from mplayer. Don't know what made that change. I still get that message from mplayer. I've tried the camera in windows and it works, reasonably it shouldn't work there either if it was due to a constraint on the bus bandwith.

Test with:-
$ vlc v4l2:///dev/video0
because vlc "just works", and if it doesn't, it'll usually provide
instructive output.

NOTE: the Debian VLC, *not* the multimedia-debian VLC.

If, after trying all your USB ports you are still unable to solve the
problem, please post the output from the following commands (all run as
user):-

$ uname -a
$ vlc v4l2:///dev/video0
$ df -h

Linux debian 3.0.11 #1 SMP Mon Nov 28 20:22:30 CET 2011 x86_64 GNU/Linux


/dev/sda5             938M  308M  584M  35% /
tmpfs                 4,0G     0  4,0G   0% /lib/init/rw
udev                  3,9G  352K  3,9G   1% /dev
tmpfs                 4,0G  1,8M  3,9G   1% /dev/shm
/dev/sda8             777G  571G  167G  78% /home
/dev/sda12            1,9G  127M  1,7G   8% /opt
/dev/sda11            2,2G   68M  2,0G   4% /tmp
/dev/sda6              46G   20G   24G  46% /usr
/dev/sda7             9,2G  177M  8,6G   2% /usr/local
/dev/sda10            3,7G  635M  2,9G  18% /var


Thanks for all the help!

cheers










Reply to: