Re: uvcvideo

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

 



Cheese gives a black  screen with the light on.

Webcamoid does the same.

Zoom does the same.

Attached is the output of v4l-info.

All of these work on the Inspiron 15 3000 but not  on the Inspiron 16. They both have the same camera. The only difference is that the Inspiron 15 camera is on usb bus 1 while the Inspiron 16 camera is on usb bus 2.

Thanks for the reply.

Paul

-------------------------

On 2/12/23 18:23, Laurent Pinchart wrote:
Hi Paul,

Please don't drop the mailing list in your replies.

On Sun, Feb 12, 2023 at 05:06:37PM -0500, Paul Neelands wrote:
Hi,

Thanks for the reply.

There is only one video device so I am confused about video0 & video1.


ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Feb 12 16:23 /dev/video0
crw-rw----+ 1 root video 81, 1 Feb 12 16:23 /dev/video1

ls -l /sys/class/video4linux/video*
lrwxrwxrwx 1 root root 0 Feb 12 16:23 /sys/class/video4linux/video0->
../../devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video0
lrwxrwxrwx 1 root root 0 Feb 12 16:23 /sys/class/video4linux/video1->
../../devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1

lsusb -v -d 0c45:6739 is attached as file lsusb.

*/var/log/kern.**log is attached as file klog*
Nothing strikes me as wrong there. You said your webcam doesn't work,
could you please elaborate ?

On 2/12/23 16:04, Laurent Pinchart wrote:
Hi Paul,

(CC'ing the linux-media mailing list)

On Sun, Feb 12, 2023 at 02:51:33PM -0500, Paul Neelands wrote:
Hi.

I have a new dell Inspiron 16 5620 where the camera doesn't work.  The camera
is the same as a Dell Inspiron 15 3000 that I have where it works. The
difference between the two machines is that on the I15 it is on usb bus 1
whereas it is on bus 2 on the I16.

I downloaded and built the latest kernel 6.2.0-rc7 and no joy. I looked at your
driver for the camera uvcvideo but haven't yet figured out where it finds the
usb bus. The lsusb of the camera is:

   Bus 002 Device 004: ID 0c45:6739 Microdia Integrated_Webcam_FHD

The kernel finds it with the demsg:

    13.999455] usb 2-6: Found UVC 1.00 device Integrated_Webcam_FHD (0c45:6739)
          14.059462] usbcore: registered new interface driver uvcvideo

I would really appreciate some help on where and how the usb bus gets
enumerated for the camera.
What's the output of `ls -l /sys/class/video4linux/video*/` and
`ls -l /dev/video*` ?

Could you provide your full kernel log, as well as the output of
`lsusb -v -d 0c45:6739` (if possible running as root, for instance with
sudo) ?
v4l-info

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "uvcvideo"
        card                    : "Integrated_Webcam_FHD: Integrat"
        bus_info                : "usb-0000:00:14.0-6"
        version                 : 6.2.0
        capabilities            : 0x84a00001 [VIDEO_CAPTURE,?,?,STREAMING,(null)]

standards

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "Camera 1"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x0 []
        status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 1
        description             : "Motion-JPEG"
        pixelformat             : 0x47504a4d [MJPG]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
        index                   : 1
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "YUYV 4:2:2"
        pixelformat             : 0x56595559 [YUYV]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 1920
        fmt.pix.height          : 1080
        fmt.pix.pixelformat     : 0x47504a4d [MJPG]
        fmt.pix.field           : NONE
        fmt.pix.bytesperline    : 0
        fmt.pix.sizeimage       : 4147789
        fmt.pix.colorspace      : SRGB
        fmt.pix.priv            : 4276996862

controls
    VIDIOC_QUERYCTRL(BASE+0)
        id                      : 9963776
        type                    : INTEGER
        name                    : "Brightness"
        minimum                 : -64
        maximum                 : 64
        step                    : 1
        default_value           : 0
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+1)
        id                      : 9963777
        type                    : INTEGER
        name                    : "Contrast"
        minimum                 : 0
        maximum                 : 95
        step                    : 1
        default_value           : 0
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+2)
        id                      : 9963778
        type                    : INTEGER
        name                    : "Saturation"
        minimum                 : 0
        maximum                 : 100
        step                    : 1
        default_value           : 64
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+3)
        id                      : 9963779
        type                    : INTEGER
        name                    : "Hue"
        minimum                 : -2000
        maximum                 : 2000
        step                    : 1
        default_value           : 0
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+12)
        id                      : 9963788
        type                    : BOOLEAN
        name                    : "White Balance, Automatic"
        minimum                 : 0
        maximum                 : 1
        step                    : 1
        default_value           : 1
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+16)
        id                      : 9963792
        type                    : INTEGER
        name                    : "Gamma"
        minimum                 : 100
        maximum                 : 300
        step                    : 1
        default_value           : 100
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+19)
        id                      : 9963795
        type                    : INTEGER
        name                    : "Gain"
        minimum                 : 1
        maximum                 : 8
        step                    : 1
        default_value           : 1
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+24)
        id                      : 9963800
        type                    : MENU
        name                    : "Power Line Frequency"
        minimum                 : 0
        maximum                 : 2
        step                    : 1
        default_value           : 2
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+26)
        id                      : 9963802
        type                    : INTEGER
        name                    : "White Balance Temperature"
        minimum                 : 2800
        maximum                 : 6500
        step                    : 1
        default_value           : 4600
        flags                   : INACTIVE
    VIDIOC_QUERYCTRL(BASE+27)
        id                      : 9963803
        type                    : INTEGER
        name                    : "Sharpness"
        minimum                 : 1
        maximum                 : 7
        step                    : 1
        default_value           : 2
        flags                   : unknown
    VIDIOC_QUERYCTRL(BASE+28)
        id                      : 9963804
        type                    : INTEGER
        name                    : "Backlight Compensation"
        minimum                 : 0
        maximum                 : 3
        step                    : 1
        default_value           : 3
        flags                   : unknown

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux