Re: uvcvideo

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

 



Hi,

Sometimes the simplest things stump me. The privacy switch was it on both laptops.

Thanks very much for all the thought and help.

Paul Neelands

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

On 2/20/23 11:36, Ricardo Ribalda wrote:
Hi Paul

Sorry if you have already checked it, but: are you sure that the
privacy switch is not toggled on your device?
https://dl.dell.com/topicspdf/inspiron-16-7610-laptop_users-guide_en-us.pdf

Can you try running yavta with something like:

yavta -l  --capture=3 -F /dev/video0

and then shading the output of yavta, and maybe also the generated
file frame-000002.bin

Thanks

On Mon, 13 Feb 2023 at 15:04, Paul Neelands <paulnee@xxxxxxxxxxxx> wrote:
Attached is kern.log after running and closing 'cheese' and then
'webcamoid'.

Thanks for all your input.

Paul

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

On 2/13/23 07:21, Laurent Pinchart wrote:
Hi Paul,

On Sun, Feb 12, 2023 at 07:14:46PM -0500, Paul Neelands wrote:
Cheese gives a black  screen with the light on.

Webcamoid does the same.

Zoom does the same.
Could you send me the kernel log after running one of those applications
?

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) ?





[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