RE: pwcview and cheese - Device not configured / Invalid argument erros

From: Miguel C <miguelmclara_at_gmail.com>
Date: Tue, 23 Feb 2016 23:58:06 +0000
I just noticed the last messages were never CC'ed to the list

On Wed, Feb 10, 2016 at 8:56 PM, Otacílio <otacilio.neto_at_bsd.com.br> wrote:

> Miguel, I have noted that on my system, sometime I get a file not found
> error, like your problem. So, I unplugged the webcam and plug it again and
> it works. It is no frequently but occurs. Your camera is fixed or you can
> try something like this?
>

Nah its fixed :P

Its an acer ultrabook, the devices is conencted as a usb but its not like I
can plug it of  unless I remove the LCD or something :P

I was jsut think that this might be driver related, which seems to be uvc:

% v4l2-dbg -D
Driver info:
        Driver name   : uvcvideo
        Card type     : 1.3M HD WebCam
        Bus info      : usb-/dev/usb-/dev/usb
        Driver version: 2.6.38
        Capabilities  : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities

maybe its a bug in the driver that presenting something unexpected to
/dev/video, I was just tried with ffpmeg, recompiled with v4l support and
get the same error using -i /dev/video

[video4linux2,v4l2 _at_ 0x80ac6f000] ioctl(VIDIOC_STREAMON): Device not
configured
/dev/video0: Device not configured





>
> []'s
> -Otacílio
>
>
> Em 10/02/2016 11:32, Miguel C escreveu:
>
>
>
> On Wed, Feb 10, 2016 at 2:32 PM, Miguel C <miguelmclara_at_gmail.com> wrote:
>
>>
>>
>> On Wed, Feb 10, 2016 at 2:05 PM, Otacílio < <otacilio.neto_at_bsd.com.br>
>> otacilio.neto_at_bsd.com.br> wrote:
>>
>>> I'm not a expert in this, but do you have recompiled webcamd enabling
>>> cuse(3) over multimedia/cuse4bsd-kmod?
>>>
>>
>> Actually ***you*** bring up a nice point I had it  always compile with
>> defaults which means that it was already compiled for cuse no cuse4bsd-kmod
>> ...
>> Which makes all this even more confusing since the cuse module was not
>> loaded until now and cheese works :|
>>
>> Unless the option means "if checked" support both cuse and cuse4bsd,
>> depending on which one is loaded
>>
>>
>>> []'s
>>> -Otacílio
>>>
>>>
>>> Em 10/02/2016 10:59, Miguel C escreveu:
>>>
>>>
>>>> From your setup I noted that I'm not using cuse4bsd-kmod, but only cuse.
>>>>
>>>
>>> I tired to stop webcamd unoad cuse4bsd and load cuse, then start webcamd
>>> again and I get the same results.
>>>
>>>
>>>> [ota_at_nostromo /usr/home/ota]$ kldstat
>>>> Id Refs Address            Size     Name
>>>>  1   28 0xffffffff80200000 1e39ca8  kernel
>>>>  2    1 0xffffffff8203b000 e3b8     cuse.ko
>>>>  3    1 0xffffffff8204a000 3d90     pty.ko
>>>>  4    1 0xffffffff82221000 57b8     fdescfs.ko
>>>>  5    1 0xffffffff82227000 a3ac     linprocfs.ko
>>>>  6    1 0xffffffff82232000 695a     linux_common.ko
>>>>  7    1 0xffffffff82239000 26f8a    vboxguest.ko
>>>>  8    1 0xffffffff82260000 7a9      vboxvideo.ko
>>>>  9    1 0xffffffff82261000 52092    drm2.ko
>>>> 10    1 0xffffffff822b4000 2679     iicbus.ko
>>>> 11    1 0xffffffff822b7000 1f6a     imgact_binmisc.ko
>>>>
>>>>
>>>> [ota_at_nostromo /usr/home/ota]$ pkg info multimedia/webcamd
>>>> webcamd-4.2.0.9
>>>> Name           : webcamd
>>>> Version        : 4.2.0.9
>>>> Installed on   : Thu Jan 14 17:09:41 2016 BRT
>>>> Origin         : multimedia/webcamd
>>>> Architecture   : freebsd:11:x86:64
>>>> Prefix         : /usr/local
>>>> Categories     : multimedia
>>>> Licenses       : GPLv2
>>>> Maintainer     : <hselasky_at_FreeBSD.org>hselasky_at_FreeBSD.org
>>>> WWW            : <http://www.selasky.org/hans_petter/video4bsd/>
>>>> http://www.selasky.org/hans_petter/video4bsd/
>>>> Comment        : Port of Linux USB webcam and DVB drivers into userspace
>>>> Options        :
>>>>     CUSE           : on
>>>>     DEBUG          : off
>>>>     DVB            : off
>>>>     HAL            : on
>>>>     INPUT          : on
>>>>     RADIO          : on
>>>>     VT_CLIENT      : off
>>>>     VT_SERVER      : off
>>>>     WEBCAM         : on
>>>> Shared Libs required:
>>>>     libdbus-1.so.3
>>>>     libhal.so.1
>>>>
>>>>
>>>> I have used pwcview here and works fine, but I don't have tested with
>>>> skype.
>>>>
>>>> []'s
>>>> -Otacílio
>>>>
>>>
>>>
>>>
>>
>
>
Received on Tue Feb 23 2016 - 22:58:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC