Re: Foscam W21 webcam not working in Fedora 37 with kernel-5.19.11

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

 



Hi Brian

It is pretty weird that the driver is unmmaped without any extra
message on dmesg.
What distro are you using? Are you using any kind of virtualization scheme?

Could you try the following?

1) Reboot
2) sudo dmesg -c > dmesg.1
3) v4l2-ctl --list-devices
4) sudo dmesg -c > dmesg.2
5) find /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0
6) for a in $(find /sys/devices/ | grep authorized); do echo $a; cat $a; done

Then share the output of the commands + dmesg.1 and dmesg.2

I hope to see some disconnect message, or the device being
unauthorized, otherwise I am a bit out of ideas :)

Thanks

On Mon, 26 Sept 2022 at 17:34, Brian Morrison <bdm@xxxxxxxxxxxxx> wrote:
>
> On Mon, 26 Sep 2022 09:22:12 +0200
> Ricardo Ribalda <ribalda@xxxxxxxxxxxx> wrote:
>
> > HI Brian
> >
> > /dev/video0 does not seem to be your Foscam, it is a virtual camera
> > created by OBS.
> >
> > Could you try running
> > ls -la /sys/class/video4linux/
> > find
> > /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-3/3-3:1.0/
> >
> > To figure out if there is an actual camera there.
> >
> > Thanks!
>
> Hmm, for some reason that last command should have worked but didn't.
>
> Using ll I get this:
>
> [bdm@deangelis SPECS]$ ll /sys/devices/pci0000\:00/0000\:00\:1d.2/0000\:04\:00.0/usb3/3-0:1.0/
> total 0 -rw-r--r--. 1 root root 4096 Sep 26 16:30 authorized
> -r--r--r--. 1 root root 4096 Sep 26 16:30 bAlternateSetting
> -r--r--r--. 1 root root 4096 Sep 25 22:22 bInterfaceClass
> -r--r--r--. 1 root root 4096 Sep 25 22:22 bInterfaceNumber
> -r--r--r--. 1 root root 4096 Sep 25 22:22 bInterfaceProtocol
> -r--r--r--. 1 root root 4096 Sep 25 22:22 bInterfaceSubClass
> -r--r--r--. 1 root root 4096 Sep 26 16:30 bNumEndpoints
> lrwxrwxrwx. 1 root root    0 Sep 26 16:30 driver ->
> ../../../../../../bus/usb/drivers/hub drwxr-xr-x. 3 root root    0 Sep
> 26 16:30 ep_81 -r--r--r--. 1 root root 4096 Sep 26 16:30 modalias
> drwxr-xr-x. 2 root root    0 Sep 25 22:22 power
> lrwxrwxrwx. 1 root root    0 Sep 25 22:22 subsystem ->
> ../../../../../../bus/usb -r--r--r--. 1 root root 4096 Sep 26 16:30
> supports_autosuspend -rw-r--r--. 1 root root 4096 Sep 25 22:22 uevent
> drwxr-xr-x. 3 root root    0 Sep 25 22:22 usb3-port1
> drwxr-xr-x. 3 root root    0 Sep 25 22:22 usb3-port2
> drwxr-xr-x. 3 root root    0 Sep 25 22:22 usb3-port3
> drwxr-xr-x. 3 root root    0 Sep 25 22:22 usb3-port4
>
> and using find I get this:
>
> [bdm@deangelis SPECS]$ find /sys/devices/pci0000\:00/0000\:00\:1d.2/0000\:04\:00.0/usb3/3-0:1.0/
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/uevent
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/uevent
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/location
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/peer
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power/runtime_active_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power/runtime_status
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power/pm_qos_no_power_off
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power/autosuspend_delay_ms
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power/runtime_suspended_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/power/control
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/device
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/over_current_count
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/connect_type
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port4/quirks
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/bAlternateSetting
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/uevent
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/location
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/peer
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power/runtime_active_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power/runtime_status
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power/pm_qos_no_power_off
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power/autosuspend_delay_ms
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power/runtime_suspended_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/power/control
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/device
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/over_current_count
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/connect_type
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port2/quirks
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/power
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/authorized
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/uevent
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/bInterval
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/interval
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/power
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/power/runtime_active_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/power/runtime_status
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/power/autosuspend_delay_ms
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/power/runtime_suspended_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/power/control
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/type
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/bmAttributes
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/wMaxPacketSize
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/direction
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/bLength
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/ep_81/bEndpointAddress
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/bInterfaceSubClass
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/driver
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/bInterfaceNumber
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/uevent
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/location
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/peer
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power/runtime_active_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power/runtime_status
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power/pm_qos_no_power_off
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power/autosuspend_delay_ms
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power/runtime_suspended_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/power/control
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/device
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/over_current_count
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/connect_type
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port3/quirks
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/bInterfaceProtocol
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/subsystem
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/bInterfaceClass
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/uevent
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/location
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/peer
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power/runtime_active_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power/runtime_status
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power/pm_qos_no_power_off
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power/autosuspend_delay_ms
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power/runtime_suspended_time
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/power/control
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/device
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/over_current_count
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/connect_type
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/usb3-port1/quirks
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/bNumEndpoints
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/supports_autosuspend
> /sys/devices/pci0000:00/0000:00:1d.2/0000:04:00.0/usb3/3-0:1.0/modalias
> [bdm@deangelis SPECS]$
>
> Sorry about that.
>
> --
>
> Brian Morrison



-- 
Ricardo Ribalda



[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