Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
4
votes
1
answers
5264
views
How to record v4l webcam with ffmpeg? Cannot find a proper format for codec 'none'
Goal is to capture video from my old usb webcam (device 0733:0430). Trying to save video gives this error. (I've tried both ffmpeg and avconv.) Command `ffmpeg -f v4l2 -i /dev/video2 -s 160x120 tmp.mkv` [video4linux2,v4l2 @ 0x815280] Time per frame unknown [video4linux2,v4l2 @ 0x815280] Cannot find...
Goal is to capture video from my old usb webcam (device 0733:0430). Trying to save video gives this error. (I've tried both ffmpeg and avconv.)
Command
ffmpeg -f v4l2 -i /dev/video2 -s 160x120 tmp.mkv
[video4linux2,v4l2 @ 0x815280] Time per frame unknown
[video4linux2,v4l2 @ 0x815280] Cannot find a proper format for codec 'none' (id 0), pixel format 'none' (id -1)
Assertion *codec_id != AV_CODEC_ID_NONE failed at /build/buildd/ffmpeg-2.3/libavdevice/v4l2.c:802
I know it can work on Linux, because I had it running a few years ago. How to get it to work now?
----
**Below is information about the device.**
Device dmesg output
[53008.270283] usb 2-1.2: new full-speed USB device number 4 using ehci-pci
[53008.363405] usb 2-1.2: New USB device found, idVendor=0733, idProduct=0430
[53008.363416] usb 2-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[53008.779745] gspca_main: v2.14.0 registered
[53008.809496] gspca_main: spca505-2.14.0 probing 0733:0430
[53008.812508] usbcore: registered new interface driver spca505
ffmpeg -list_formats 1 -f v4l2 -i /dev/video2
[video4linux2,v4l2 @ 0xbed5e0] Raw : Unsupported : S505 : 160x120 176x144 320x240 352x288
v4l-info /dev/video2
### v4l2 device info [/dev/video2] ###
general info
VIDIOC_QUERYCAP
driver : "spca505"
card : "USB Camera (0733:0430)"
bus_info : "usb-0000:00:1d.0-1.2"
version : 3.13.11
capabilities : 0x85000001 [VIDEO_CAPTURE,READWRITE,STREAMING,(null)]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "spca505"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "S505"
pixelformat : 0x35303553 [S505]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 160
fmt.pix.height : 120
fmt.pix.pixelformat : 0x35303553 [S505]
fmt.pix.field : NONE
fmt.pix.bytesperline : 160
fmt.pix.sizeimage : 28800
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 32
Rucent88
(1910 rep)
Aug 9, 2014, 12:02 PM
• Last activity: Aug 3, 2025, 10:10 PM
30
votes
2
answers
18775
views
How to manage the white balance in webcam
On Linux my webcam works fine, but when using artificial lighting the white-balance is too reddish. Color look fine with natural illumination. Is there a way to calibrate the colors or have some form of auto-adjustment which works? I used `guvcview` to tinker with the settings but haven't managed to...
On Linux my webcam works fine, but when using artificial lighting the white-balance is too reddish. Color look fine with natural illumination.
Is there a way to calibrate the colors or have some form of auto-adjustment which works?
I used
guvcview
to tinker with the settings but haven't managed to find a suitable combination of settings to show natural colors.
To Do
(1396 rep)
Dec 21, 2017, 09:51 AM
• Last activity: Jul 22, 2025, 03:39 PM
0
votes
1
answers
5623
views
"MPEG-1/2 does not support 3/1 fps" when sending webcam to ffserver
I am unable to send a stream to my `ffserver`. I started the server with ffserver -f /etc/ffserver.conf & where `ffserver.conf` has not been modified. I tried sending a webcam stream with ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 http://localhost:8090/feed1.ffm I have...
I am unable to send a stream to my
ffserver
.
I started the server with
ffserver -f /etc/ffserver.conf &
where ffserver.conf
has not been modified. I tried sending a webcam stream with
ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 http://localhost:8090/feed1.ffm
I have however the following error:
[...]
[tcp @ 0x560e1234c6e0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[...]
MPEG-1/2 does not support 3/1 fps
[...]
The port 9080 is open, as seen with nmap localhost
**Why do I have this error and how to send my stream?**
-----------------------------
**Full output:**
# ffmpeg -f alsa -ac 2 -i plughw:0,0 -f video4linux2 -s vga -i /dev/video0 http://localhost:8090/feed1.ffm
ffmpeg version 3.2.1-1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.2.1 (Debian 6.2.1-5) 20161124
configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-libtesseract --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-libopencv --enable-frei0r --enable-libx264 --enable-chromaprint --enable-shared
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'plughw:0,0':
Duration: N/A, start: 1481703954.356244, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Input #1, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 41830.241126, bitrate: 147456 kb/s
Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[tcp @ 0x560e6432c6e0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[tcp @ 0x560e64345a40] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[mpeg1video @ 0x560e6435fb20] bitrate tolerance 21333 too small for bitrate 64000, overriding
[mpeg1video @ 0x560e6435fb20] MPEG-1/2 does not support 3/1 fps
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
Stream #1:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
Stream #0:0 -> #0:2 (pcm_s16le (native) -> wmav2 (native))
Stream #1:0 -> #0:3 (rawvideo (native) -> msmpeg4v3 (msmpeg4))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
**Full /etc/ffserver.conf
** (no modification from original file):
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
File /tmp/feed1.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
Feed feed1.ffm
Format mpeg
AudioBitRate 32
AudioChannels 1
AudioSampleRate 44100
VideoBitRate 64
VideoBufferSize 40
VideoFrameRate 3
VideoSize 160x128
VideoGopSize 12
Feed feed1.ffm
Format asf
VideoFrameRate 15
VideoSize 352x240
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
AudioBitRate 64
StartSendOnKey
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
URL http://www.ffmpeg.org/
user123456
(5258 rep)
Dec 14, 2016, 08:35 AM
• Last activity: Jun 26, 2025, 01:06 PM
3
votes
1
answers
2677
views
how to use ipu3-cio camera in linux
I have a Thinkpad X1 Tablet (gen 2) with a front and back integrated camera running Ubuntu 19:10. The cameras appear to be detected: > $ v4l-info > > ### v4l2 device info [/dev/video0] ### > general info > VIDIOC_QUERYCAP > driver : "ipu3-cio2" > card : "Intel > IPU3 CIO2" bus_info : "PCI:0000:00:14...
I have a Thinkpad X1 Tablet (gen 2) with a front and back integrated camera running Ubuntu 19:10. The cameras appear to be detected:
> $ v4l-info
>
> ### v4l2 device info [/dev/video0] ###
> general info
> VIDIOC_QUERYCAP
> driver : "ipu3-cio2"
> card : "Intel
> IPU3 CIO2" bus_info : "PCI:0000:00:14.3"
> version : 5.3.18
> capabilities : 0x84201000 [?,?,STREAMING,(null)]
>
> standards
>
> inputs
> VIDIOC_ENUMINPUT(0)
> index : 0
> name : "camera"
> type : CAMERA
> audioset : 0
> tuner : 0
> std : 0x0 []
> status : 0x0 []
>
> controls
When I start cheese I have 4 cameras labeled "ipu3-imgu". When I run guvcview I have 10 devices labeled "ipu3-imgu" which the system puts at /dev/video0-9 and four devices labeled "Intel IPU3 CIO2" which are /dev/video10-13.
But none of these work. Does anyone have a laptop with this kind of camera running Linux?
Does anyone know of a resource on debugging this kind of camera in Linux?
brett stevens
(101 rep)
Apr 20, 2020, 07:39 PM
• Last activity: Jun 18, 2025, 02:05 PM
0
votes
1
answers
2466
views
/dev/video permissions Arch Linux (Remmina using FreeRDP)
I am trying to redirect USB through Remmina to an RDP session (FreeRDP on Linux). Access to the usb camera works just fine when I run Remmina as root, which is not an ideal scenario for obvious reasons. I need to allow my normal user access to this device when running Remmina as a normal user. So, I...
I am trying to redirect USB through Remmina to an RDP session (FreeRDP on Linux).
Access to the usb camera works just fine when I run Remmina as root, which is not an ideal scenario for obvious reasons.
I need to allow my normal user access to this device when running Remmina as a normal user. So, I have tried the following:
- Adding my user to the
video
group, then logging out/in
- Changing permissions of /dev/video0
, to 777 for good measure and then work my way back from there.
Here are the previous permissions of /dev/video0
:
$ ls -a -l /dev/video0
crw-rw----+ 1 root video 81, 0 Jul 25 08:36 /dev/video0
Then I ran:
$ sudo chmod 777 /dev/video0
Permissions again after running the above command:
$ ls -a -l /dev/video0
crwxrwxrwx+ 1 root video 81, 0 Jul 25 08:36 /dev/video0
Before doing any of these permissions changes, I simply added my user to the video
group and logged out/in.
Output from lsusb
relevant to my device:
Bus 003 Device 003: ID 046d:0892 Logitech, Inc. C920 HD Pro Webcam
Options used in Remmina
:
USB device Redirection: id:046d:0892,addr:003:003
Error output from Remmina:
[08:57:34:285] [1821:1848] [INFO][com.freerdp.channels.urbdrc.client] - VID: 0x046D, PID: 0x0892
[08:57:34:285] [1821:1848] [ERROR][com.freerdp.channels.urbdrc.client] - libusb_open: error LIBUSB_ERROR_ACCESS[-3]
[08:57:34:285] [1821:1848] [ERROR][com.freerdp.channels.urbdrc.client] - libusb_open [b=0x03,p=0x06,a=0x03,VID=0x046D,PID=0x0892]: error LIBUSB_ERROR_ACCESS[-3]
[08:57:34:285] [1821:1848] [ERROR][com.freerdp.channels.urbdrc.client] - libusb_open: error LIBUSB_ERROR_ACCESS[-3]
[08:57:34:285] [1821:1848] [ERROR][com.freerdp.channels.urbdrc.client] - libusb_open [b=0x03,p=0x06,a=0x03,VID=0x046D,PID=0x0892]: error LIBUSB_ERROR_ACCESS[-3]
**EDIT**:
Output from: $ udevadm info -a /dev/video0
looking at device '/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0/video4linux/video0':
KERNEL=="video0"
SUBSYSTEM=="video4linux"
DRIVER==""
ATTR{dev_debug}=="0"
ATTR{index}=="0"
ATTR{name}=="HD Pro Webcam C920"
ATTR{power/control}=="auto"
ATTR{power/runtime_active_time}=="0"
ATTR{power/runtime_status}=="unsupported"
ATTR{power/runtime_suspended_time}=="0"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.0':
KERNELS=="3-6:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="uvcvideo"
ATTRS{authorized}=="1"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceClass}=="0e"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bInterfaceProtocol}=="00"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bNumEndpoints}=="01"
ATTRS{iad_bFirstInterface}=="00"
ATTRS{iad_bFunctionClass}=="0e"
ATTRS{iad_bFunctionProtocol}=="00"
ATTRS{iad_bFunctionSubClass}=="03"
ATTRS{iad_bInterfaceCount}=="02"
ATTRS{supports_autosuspend}=="1"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-6':
KERNELS=="3-6"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="ef"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bDeviceSubClass}=="02"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bMaxPower}=="500mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 4"
ATTRS{bcdDevice}=="0019"
ATTRS{bmAttributes}=="80"
ATTRS{busnum}=="3"
ATTRS{configuration}==""
ATTRS{devnum}=="3"
ATTRS{devpath}=="6"
ATTRS{idProduct}=="0892"
ATTRS{idVendor}=="046d"
ATTRS{ltm_capable}=="no"
ATTRS{maxchild}=="0"
ATTRS{power/active_duration}=="1610000"
ATTRS{power/autosuspend}=="2"
ATTRS{power/autosuspend_delay_ms}=="2000"
ATTRS{power/connected_duration}=="2594730"
ATTRS{power/control}=="auto"
ATTRS{power/level}=="auto"
ATTRS{power/persist}=="1"
ATTRS{power/runtime_active_time}=="1610678"
ATTRS{power/runtime_status}=="suspended"
ATTRS{power/runtime_suspended_time}=="983716"
ATTRS{product}=="HD Pro Webcam C920"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="unknown"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="66BA81DF"
ATTRS{speed}=="480"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="1561744"
ATTRS{version}==" 2.00"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3':
KERNELS=="usb3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{authorized_default}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bMaxPower}=="0mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bcdDevice}=="0510"
ATTRS{bmAttributes}=="e0"
ATTRS{busnum}=="3"
ATTRS{configuration}==""
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{idProduct}=="0002"
ATTRS{idVendor}=="1d6b"
ATTRS{interface_authorized_default}=="1"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Linux 5.10.52-1-lts xhci-hcd"
ATTRS{maxchild}=="15"
ATTRS{power/active_duration}=="2595210"
ATTRS{power/autosuspend}=="0"
ATTRS{power/autosuspend_delay_ms}=="0"
ATTRS{power/connected_duration}=="2595210"
ATTRS{power/control}=="auto"
ATTRS{power/level}=="auto"
ATTRS{power/runtime_active_time}=="2595211"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/wakeup}=="disabled"
ATTRS{power/wakeup_abort_count}==""
ATTRS{power/wakeup_active}==""
ATTRS{power/wakeup_active_count}==""
ATTRS{power/wakeup_count}==""
ATTRS{power/wakeup_expire_count}==""
ATTRS{power/wakeup_last_time_ms}==""
ATTRS{power/wakeup_max_time_ms}==""
ATTRS{power/wakeup_total_time_ms}==""
ATTRS{product}=="xHCI Host Controller"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="unknown"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="0000:00:14.0"
ATTRS{speed}=="480"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="147"
ATTRS{version}==" 2.00"
looking at parent device '/devices/pci0000:00/0000:00:14.0':
KERNELS=="0000:00:14.0"
SUBSYSTEMS=="pci"
DRIVERS=="xhci_hcd"
ATTRS{ari_enabled}=="0"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x0c0330"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{d3cold_allowed}=="1"
ATTRS{device}=="0x8c31"
ATTRS{dma_mask_bits}=="64"
ATTRS{driver_override}=="(null)"
ATTRS{enable}=="1"
ATTRS{irq}=="27"
ATTRS{local_cpulist}=="0-3"
ATTRS{local_cpus}=="f"
ATTRS{msi_bus}=="1"
ATTRS{msi_irqs/27}=="msi"
ATTRS{numa_node}=="-1"
ATTRS{power/control}=="on"
ATTRS{power/runtime_active_time}=="2596888"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/wakeup}=="enabled"
ATTRS{power/wakeup_abort_count}=="0"
ATTRS{power/wakeup_active}=="0"
ATTRS{power/wakeup_active_count}=="0"
ATTRS{power/wakeup_count}=="0"
ATTRS{power/wakeup_expire_count}=="0"
ATTRS{power/wakeup_last_time_ms}=="0"
ATTRS{power/wakeup_max_time_ms}=="0"
ATTRS{power/wakeup_total_time_ms}=="0"
ATTRS{revision}=="0x05"
ATTRS{subsystem_device}=="0x220e"
ATTRS{subsystem_vendor}=="0x17aa"
ATTRS{vendor}=="0x8086"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{power/control}=="auto"
ATTRS{power/runtime_active_time}=="0"
ATTRS{power/runtime_status}=="unsupported"
ATTRS{power/runtime_suspended_time}=="0"
BitShift
(141 rep)
Jul 25, 2021, 08:07 AM
• Last activity: May 21, 2025, 09:04 PM
1
votes
1
answers
2161
views
Motion doesn't detected my webcam : UNABLE TO OPEN VIDEO DEVICE
I would use a USB webcam with Motion software, installed in Ubuntu on my Windows PC (WSL2 ) But when I started Motion as a service and i check on browser at the address [LOCALHOLST:port 8080 or 8081 ] it appears the Motion interface but never has been detected my webcam. Always It is showed a gray s...
I would use a USB webcam with Motion software, installed in Ubuntu on my Windows PC (WSL2 ) But when I started Motion as a service and i check on browser at the address [LOCALHOLST:port 8080 or 8081 ] it appears the Motion interface but never has been detected my webcam. Always It is showed a gray screen, for the MyCam1 option, with written at the top on the left "UNABLE TO OPEN VIDEO DEVICE".
I tried many types of configurations in the camera1-dist.conf and motion.conf files, but unfortunately they still doesn't work
Someone who could suggest me what type of configurations and in wich file, do I have to use to detected a USB webcam with Motion software ?
Thank you in advance.
Hi, many thanks your indications has been very useful!
I have followed all the steps and I have attached the webcam to my Ubuntu distribution and now Ubuntu 'lsusb' comand gives the following output
root@LAPTOP-5OFK2AK7:/home/daniele# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 3443:950a SHENZHEN AONI ELECTRONIC CO.,LTD NexiGo N950P 4K Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Unfortunately it still doesn't work..Motion still showes a grey screen and the UNABLE TO OPEN VIDEO DEVICE..
I think now the problem is in the camera1-dist.conf file.
I'd like to set the webcam in localhost:8080 (port) or ( 8081 ) but i don't understand, it still doesn't work what and where I have to write in this camera1-dist.conf file
# This config file was generated by motion 4.2.2
###########################################################
# Configuration options specific to camera 1
############################################################
# User defined name for the camera.
camera_name MyCam1
# Numeric identifier for the camera.
camera_id 101
# The full URL of the network camera stream.
netcam_url http://127.0.0.1:8080
# Image width in pixels.
width 1280
# Image height in pixels.
height 720
# Text to be overlayed in the lower left corner of images
text_left CAMERA 1
# File name(without extension) for movies relative to target directory
movie_filename CAM01_%t-%v-%Y%m%d%H%M%S
DanielePP
(11 rep)
Apr 15, 2022, 09:37 PM
• Last activity: May 13, 2025, 05:06 AM
1
votes
1
answers
3659
views
How to make a Samsung TV camera (Model VG-STC3000/ZA) work on xubuntu
Sorry about this but I'm a "newbe" at this. Would not have bothered anyone but I have need of a webcam under the present global circumstances. The only one I have is this old one (SAMSUNG TV camera model VG-STC3000/ZA). I am GUESSING that drivers are missing or something but I have no idea how to so...
Sorry about this but I'm a "newbe" at this. Would not have bothered anyone but I have need of a webcam under the present global circumstances. The only one I have is this old one (SAMSUNG TV camera model VG-STC3000/ZA). I am GUESSING that drivers are missing or something but I have no idea how to solve the problem. I'm using ubuntu 18.04.4 LTS). When I use a webcam tester I get something about permissions not allowing the use of the webcam. Any help to make it work would be most appreciated.
Adi T
(23 rep)
Apr 16, 2020, 06:07 PM
• Last activity: Apr 30, 2025, 03:09 AM
0
votes
0
answers
100
views
Integrated IPU6/MIPI camera not working on Dell Latitude 7440 under Debian 12
I have a Dell Latitude 7440 with an integrated FHD RGB + IR Camera, but there are no drivers. It's an IPU6/MIPI Intel camera. ``` sudo lshw -C multimedia *-multimedia:0 UNCLAIMED description: Multimedia controller product: Intel Corporation vendor: Intel Corporation physical id: 5 bus info: pci@0000...
I have a Dell Latitude 7440 with an integrated FHD RGB + IR Camera, but there are no drivers. It's an IPU6/MIPI Intel camera.
sudo lshw -C multimedia
*-multimedia:0 UNCLAIMED
description: Multimedia controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 5
bus info: pci@0000:00:05.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress pm cap_list
configuration: latency=0
resources: iomemory:600-5ff memory:6052000000-6052ffffff
There is a ppa repo with the linux drivers (see a solution [here](https://askubuntu.com/questions/1473289/integrated-camera-not-working-on-dell-latitude-7440-and-7340-ubuntu-22-04)) . However this repo seems to work for Ubuntu, but not on (my) Debian (it cannot be added, when I try to add it I get AttributeError: 'NoneType' object has no attribute 'people'
).
Did anyone has an easy solution? I have found a quite convoluted solution [here](https://bbs.archlinux.org/viewtopic.php?id=287119) and I would like to avoid it.
Any backport from Sid?
I tried the backport firmware-intel-graphics
(https://packages.debian.org/bookworm-backports/firmware-intel-graphics) but it did not do the job.
Thanks,
AB
Alessandro
(3 rep)
Apr 22, 2025, 04:54 PM
• Last activity: Apr 22, 2025, 05:08 PM
0
votes
3
answers
81
views
Linux OS that supports older hardware in a laptop (web cam, wifi)
I am looking for a Linux OS that will support my older hardware in my laptop (from 2014). I would like to have a simple, not bloated desktop, but also not too ancient-looking ;) *edit*: By "hardware" I mainly mean wifi and webcam - I do expect Linux to run on a ten-year-old cpu. Here's some more inf...
I am looking for a Linux OS that will support my older hardware in my laptop (from 2014). I would like to have a simple, not bloated desktop, but also not too ancient-looking ;)
*edit*: By "hardware" I mainly mean wifi and webcam - I do expect Linux to run on a ten-year-old cpu.
Here's some more information: The laptop is an HP pro Book, in case that matters.
Linux really caught me when I started to use ElementaryOS something like 15 years ago. I have been happy with ElementaryOS, but the recent versions don't seem to support my hardware. At least, it didn't work anymore after an update. So I want to move away from this. (It also doesn't support my USB camera on my computer)
Last time I used Ubuntu it brought a lot of bloatware like Amazon search and strange stuff. Also I don't know how well Ubuntu supports old hardware.
Maybe Debian with a modern desktop might be a solution for me?
Or does this not depend on the distro, but more on something else (like the kernel)?
Edit: Using a live version of Ubuntu was a good idea. I booted from it and got greeted with a "missing firmware" message that seems common (many questions on that on the internet). So I've got a starting point although I haven't yet fixed that.
My webcam worked out of the box :):) yeah!
anjuta
(101 rep)
Mar 24, 2025, 11:50 AM
• Last activity: Mar 28, 2025, 06:53 PM
0
votes
0
answers
16
views
imx6q-capture driver: mainline kernel + CMOS sensor
Issue with Custom CMOS Sensor on IPU1 CSI0 - No /dev/media0 Node, VIDIOC_STREAMON Fails I also tried to follow below link: https://trac.gateworks.com/wiki/linux/media Hi, I’m working on a custom i.MX6Q-based board and trying to bring up a custom CMOS parallel camera sensor connected via ipu1_csi0. I...
Issue with Custom CMOS Sensor on IPU1 CSI0 - No /dev/media0 Node, VIDIOC_STREAMON Fails
I also tried to follow below link:
https://trac.gateworks.com/wiki/linux/media
Hi,
I’m working on a custom i.MX6Q-based board and trying to bring up a custom CMOS parallel camera sensor connected via ipu1_csi0. I’m using a mainline kernel with the staging imx-media driver.
Below is the relevant snippet from my device tree (.dtsi):
dts
test_cam: camera {
compatible = "test,test_camera";
clocks = ;
clock-names = "xvclk";
powerdown-gpios = ;
reset-gpios = ;
status = "okay";
port {
test_cam_to_ipu1_csi0_mux: endpoint {
remote-endpoint = ;
link-frequencies = /bits/ 64 ;
bus-width = ;
hsync-active = ;
vsync-active = ;
};
};
};
&ipu1_csi0_from_ipu1_csi0_mux {
bus-width = ;
data-shift = ; // Lines 19:12 used
hsync-active = ;
vsync-active = ;
};
&ipu1_csi0_mux_from_parallel_sensor {
remote-endpoint = ;
};
&ipu1_csi0 {
pinctrl-names = "default";
pinctrl-0 = ;
status = "okay";
};
The issue I’m facing is:
/dev/media0 is not being created.
When I attempt to start streaming, I see the following errors in the kernel log:
ipu1_csi0: pipeline start failed with -32
VIDIOC_STREAMON returned -1 (Broken pipe)
And these are some of the log messages leading up to it:
imx-media capture-subsystem: walk: skipping disabled link 'ipu1_csi0':2 -> 'ipu1_csi0 capture':0
...
It appears links in the media graph are not getting enabled, which might be why the pipeline fails.
My questions:
Is there anything missing in the device tree for the media links to be properly enabled?
Do I need to explicitly define any subdev links in the DTS or user space?
How can I debug why /dev/media0 is not being created?
Any guidance or pointers to working examples for a similar setup (CMOS parallel sensor + IPU1 CSI0) would be greatly appreciated.
Thanks in advance!
Jay ganatra
(11 rep)
Mar 24, 2025, 06:05 AM
0
votes
2
answers
1425
views
What is an extremely lightweight way to detect change in an image?
I'm trying to find the most lightweight method to detect "adequate" change in an image. I realize that's a terrible constraint, so for the sake of this question I'll break it into two different qualifiers: substantial change, or 80% pixels changed, and motion-changed, or 10% pixels changed. These im...
I'm trying to find the most lightweight method to detect "adequate" change in an image. I realize that's a terrible constraint, so for the sake of this question I'll break it into two different qualifiers: substantial change, or 80% pixels changed, and motion-changed, or 10% pixels changed. These images are captured via
timelapse
mode on a raspberry pi camera, but for the sake of the question, _the files could be from any basically-static view point_.
I've found that I can use filesize to observe change of substantial amounts:
user@host-bb:/tmp$ ls -la investigating/
total 134604
drwxr-xr-x 2 user group 4096 Oct 20 00:05 .
drwxr-xr-x 5 user group 4096 Oct 20 00:04 ..
-rw-r--r-- 1 user group 4580181 Oct 20 00:05 image1018223300.jpg
-rw-r--r-- 1 user group 4573449 Oct 20 00:05 image1018223301.jpg
-rw-r--r-- 1 user group 4573024 Oct 20 00:05 image1018223304.jpg
...snip...
-rw-r--r-- 1 user group 4455867 Oct 20 00:05 image1018223320.jpg
-rw-r--r-- 1 user group 4447607 Oct 20 00:05 image1018223321.jpg
-rw-r--r-- 1 user group 4434839 Oct 20 00:05 image1018223323.jpg
-rw-r--r-- 1 user group 4416942 Oct 20 00:05 image1018223324.jpg
-rw-r--r-- 1 user group 1769008 Oct 20 00:05 image1018223325.jpg
-rw-r--r-- 1 user group 1702851 Oct 20 00:05 image1018223326.jpg
-rw-r--r-- 1 user group 1639306 Oct 20 00:05 image1018223327.jpg
-rw-r--r-- 1 user group 1788435 Oct 20 00:05 image1018223328.jpg
-rw-r--r-- 1 user group 1908061 Oct 20 00:05 image1018223329.jpg
-rw-r--r-- 1 user group 1981029 Oct 20 00:05 image1018223330.jpg
-rw-r--r-- 1 user group 2102390 Oct 20 00:05 image1018223331.jpg
-rw-r--r-- 1 user group 2167734 Oct 20 00:05 image1018223333.jpg
-rw-r--r-- 1 user group 2243082 Oct 20 00:05 image1018223334.jpg
...snip...
-rw-r--r-- 1 user group 2640732 Oct 20 00:05 image1018223342.jpg
-rw-r--r-- 1 user group 2730206 Oct 20 00:05 image1018223343.jpg
-rw-r--r-- 1 user group 2751966 Oct 20 00:05 image1018223344.jpg
-rw-r--r-- 1 user group 315875 Oct 20 00:05 image1018223345.jpg
-rw-r--r-- 1 user group 302476 Oct 20 00:05 image1018223352.jpg
...snip...
-rw-r--r-- 1 user group 285965 Oct 20 00:05 image1018223358.jpg
-rw-r--r-- 1 user group 289271 Oct 20 00:05 image1018223359.jpg
user@host-bb:/tmp$
Even between somewhat non-major changes in lighting (such as occurred between images *28.jpg
and *29.jpg
) can produce a difference in filesize.
I realize this is basically binning, and it could be the solution I'm looking for.
This takes care of the "substantial change" (80% of pixels changed).
The question remains though: Short of Imagemagick, Python script, or other image processing software, is there a lightweight way to detect change in an image that is closer to 10% pixels changed? If there is no non-image-processing software option, what would the most light-weight option be? Writing my own processing in a low-level language? A Python script?
I'm coming from a Python background and am trying to do simple change detection on a raspberry pi zero w that can then trigger an event (file upload) if there is a change. Bandwidth is too small to send all the images, and the pi zero w is not a heavy hitter when it comes to processing power.
user3.1415927
(240 rep)
Oct 20, 2019, 04:24 AM
• Last activity: Mar 11, 2025, 03:36 PM
1
votes
3
answers
6144
views
Turn off LED of webcam from Linux?
So, I have a webcam. And its LEDs are *always on*. This is a right pain; is there any way I can toggle those LEDs myself from the terminal? (The single button on the device itself does not toggle the LEDs). Here's the relevant information from `lsusb -v`: ``` Bus 002 Device 005: ID 058f:3863 Alcor M...
So, I have a webcam. And its LEDs are *always on*. This is a right pain; is there any way I can toggle those LEDs myself from the terminal? (The single button on the device itself does not toggle the LEDs). Here's the relevant information from
lsusb -v
:
Bus 002 Device 005: ID 058f:3863 Alcor Micro Corp. USB 2.0 PC Camera
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x058f Alcor Micro Corp.
idProduct 0x3863
bcdDevice 0.01
iManufacturer 1 Alcor Micro, Corp.
iProduct 2 USB 2.0 PC Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x02d4
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 4 PC Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 4 PC Camera
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 0x004f
dwClockFrequency 30.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 6
guidExtensionCode {68bbd0b0-61a4-4b83-90b7-a6215f3c4f70}
bNumControl 24
bNrPins 1
baSourceID( 0) 2
bControlSize 3
bmControls( 0) 0xff
bmControls( 1) 0xff
bmControls( 2) 0xff
iExtension 0
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000157f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x09
None
SECAM - 625/50
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 2
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 4 PC Camera
VideoStreaming Interface Descriptor:
bLength 15
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 2
wTotalLength 0x0191
bEndPointAddress 130
bmInfo 0
bTerminalLink 3
bStillCaptureMethod 2
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
bmaControls( 1) 0
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 1
bNumFrameDescriptors 2
bFlags 1
Fixed-size samples: Yes
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 110592000
dwMaxBitRate 663552000
dwMaxVideoFrameBufferSize 2764800
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 36864000
dwMaxBitRate 221184000
dwMaxVideoFrameBufferSize 921600
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 2
wWidth( 0) 1280
wHeight( 0) 720
wWidth( 1) 640
wHeight( 1) 480
bNumCompressionPatterns 0
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 2
bNumFrameDescriptors 4
guidFormat {32595559-0000-0010-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 720
dwMinBitRate 73728000
dwMaxBitRate 442368000
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 24576000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 8110080
dwMaxBitRate 48660480
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 50
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 6144000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 6
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 400000
dwFrameInterval( 2) 500000
dwFrameInterval( 3) 666666
dwFrameInterval( 4) 1000000
dwFrameInterval( 5) 2000000
VideoStreaming Interface Descriptor:
bLength 22
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 4
wWidth( 0) 1280
wHeight( 0) 720
wWidth( 1) 640
wHeight( 1) 480
wWidth( 2) 352
wHeight( 2) 288
wWidth( 3) 320
wHeight( 3) 240
bNumCompressionPatterns 0
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 4 PC Camera
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 4 PC Camera
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0c00 2x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 4 PC Camera
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 4 PC Camera
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 1 Audio
bFunctionSubClass 0
bFunctionProtocol 0
iFunction 5 Magic Sound
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 5 Magic Sound
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x002b
bInCollection 1
baInterfaceNr(0) 3
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 5
bSourceID 1
bControlSize 2
bmaControls(0) 0x0001
Mute Control
bmaControls(1) 0x0003
Mute Control
Volume Control
bmaControls(2) 0x0003
Mute Control
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 5 Magic Sound
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 5 Magic Sound
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 3
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 32
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 8 Discrete
tSamFreq[ 0] 48000
tSamFreq[ 1] 44100
tSamFreq[ 2] 24000
tSamFreq[ 3] 22050
tSamFreq[ 4] 16000
tSamFreq[ 5] 12000
tSamFreq[ 6] 11025
tSamFreq[ 7] 8000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 13
Transfer Type Isochronous
Synch Type Synchronous
Usage Type Data
wMaxPacketSize 0x0064 1x 100 bytes
bInterval 4
bRefresh 0
bSynchAddress 0
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 1 Milliseconds
wLockDelay 0x0000
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
OctarineSorcerer
(111 rep)
Oct 7, 2020, 12:02 PM
• Last activity: Feb 6, 2025, 10:48 PM
2
votes
1
answers
146
views
Roughly how camera sensor drivers work
I am trying to write a MIPI CSI-2 camera sensor driver for an embedded Linux image. Of course, there are tons of driver source codes on the Github etc. but I am having a hard time understanding how camera sensor work *in terms of programming.* I think it would be helpful for everyone if someone ***r...
I am trying to write a MIPI CSI-2 camera sensor driver for an embedded Linux image. Of course, there are tons of driver source codes on the Github etc. but I am having a hard time understanding how camera sensor work *in terms of programming.*
I think it would be helpful for everyone if someone ***roughly*** explains step by step how a driver works with a camera sensor. I would be very happy if you could clarify topic of setting registers with I2C.
I'm talking about an explanation as abstract as a flow-chart.
Thank you everybody who interested in.
alpd4
(35 rep)
Jan 30, 2025, 11:11 AM
• Last activity: Jan 30, 2025, 01:44 PM
0
votes
0
answers
21
views
How to disable some of the interfaces provided by "Intel(R) RealSense(TM)" camera?
I have an Intel(R) RealSense(TM) Depth Camera 435. This camera exposes multiple interfaces. I'm only interested in one of the interfaces which produces RGB output. ``` # ls /dev/video* /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6 ``` ``` ACTION=="add", SUBSYSTE...
I have an Intel(R) RealSense(TM) Depth Camera 435.
This camera exposes multiple interfaces. I'm only interested in one of the interfaces which produces RGB output.
# ls /dev/video*
/dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b07", ATTR{interface}=="Intel(R) RealSense(TM) Depth Camera 435 with RGB Module Depth", ATTR{authorized}="0"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="8086", ATTRS{idProduct}=="0b07", ATTR{index}!="0", ATTR{interface}=="Intel(R) RealSense(TM) Depth Camera 435 with RGB Module RGB", ATTR{authorized}="0"
The first rule works and removes the devices that I'm not interested in.
The second rule doesn't work. I assume that {index}!="0"
doesn't work. What should I use instead?
Also how to make one of the devices the default / first (/dev/video0) device? I tried symlinking and it didn't work.
Kernel: 6.8.0-51-generic
Ubuntu: Ubuntu 24.04.1 LTS
Output from info -a -p $(udevadm info -q path -n /dev/video0)
:
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb4/4-1/4-1:1.3/video4linux/video4':
KERNEL=="video4"
SUBSYSTEM=="video4linux"
DRIVER==""
ATTR{dev_debug}=="0"
ATTR{index}=="0"
ATTR{name}=="Intel(R) RealSense(TM) Depth Ca"
ATTR{power/async}=="disabled"
ATTR{power/control}=="auto"
ATTR{power/runtime_active_kids}=="0"
ATTR{power/runtime_active_time}=="0"
ATTR{power/runtime_enabled}=="disabled"
ATTR{power/runtime_status}=="unsupported"
ATTR{power/runtime_suspended_time}=="0"
ATTR{power/runtime_usage}=="0"
looking at parent device '/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb4/4-1/4-1:1.3':
KERNELS=="4-1:1.3"
SUBSYSTEMS=="usb"
DRIVERS=="uvcvideo"
ATTRS{authorized}=="1"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceClass}=="0e"
ATTRS{bInterfaceNumber}=="03"
ATTRS{bInterfaceProtocol}=="00"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bNumEndpoints}=="00"
ATTRS{iad_bFirstInterface}=="03"
ATTRS{iad_bFunctionClass}=="0e"
ATTRS{iad_bFunctionProtocol}=="00"
ATTRS{iad_bFunctionSubClass}=="03"
ATTRS{iad_bInterfaceCount}=="02"
ATTRS{interface}=="Intel(R) RealSense(TM) Depth Camera 435 with RGB Module RGB"
ATTRS{physical_location/dock}=="no"
ATTRS{physical_location/horizontal_position}=="left"
ATTRS{physical_location/lid}=="no"
ATTRS{physical_location/panel}=="unknown"
ATTRS{physical_location/vertical_position}=="center"
ATTRS{power/async}=="enabled"
ATTRS{power/runtime_active_kids}=="0"
ATTRS{power/runtime_enabled}=="enabled"
ATTRS{power/runtime_status}=="suspended"
ATTRS{power/runtime_usage}=="0"
ATTRS{supports_autosuspend}=="1"
looking at parent device '/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb4/4-1':
KERNELS=="4-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="ef"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bDeviceSubClass}=="02"
ATTRS{bMaxPacketSize0}=="9"
ATTRS{bMaxPower}=="440mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 5"
ATTRS{bcdDevice}=="50c3"
ATTRS{bmAttributes}=="c0"
ATTRS{busnum}=="4"
ATTRS{configuration}==""
ATTRS{devnum}=="25"
ATTRS{devpath}=="1"
ATTRS{idProduct}=="0b07"
ATTRS{idVendor}=="8086"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Intel(R) RealSense(TM) Depth Camera 435 "
ATTRS{maxchild}=="0"
ATTRS{physical_location/dock}=="no"
ATTRS{physical_location/horizontal_position}=="left"
ATTRS{physical_location/lid}=="no"
ATTRS{physical_location/panel}=="unknown"
ATTRS{physical_location/vertical_position}=="center"
ATTRS{power/active_duration}=="2164"
ATTRS{power/async}=="enabled"
ATTRS{power/autosuspend}=="2"
ATTRS{power/autosuspend_delay_ms}=="2000"
ATTRS{power/connected_duration}=="2164"
ATTRS{power/control}=="auto"
ATTRS{power/level}=="auto"
ATTRS{power/persist}=="1"
ATTRS{power/runtime_active_kids}=="0"
ATTRS{power/runtime_active_time}=="2037"
ATTRS{power/runtime_enabled}=="enabled"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/runtime_usage}=="0"
ATTRS{product}=="Intel(R) RealSense(TM) Depth Camera 435 "
ATTRS{quirks}=="0x0"
ATTRS{removable}=="removable"
ATTRS{remove}=="(not readable)"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="012523021278"
ATTRS{speed}=="5000"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="147"
ATTRS{version}==" 3.20"
looking at parent device '/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb4':
KERNELS=="usb4"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{authorized_default}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceProtocol}=="03"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bMaxPacketSize0}=="9"
ATTRS{bMaxPower}=="0mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bcdDevice}=="0608"
ATTRS{bmAttributes}=="e0"
ATTRS{busnum}=="4"
ATTRS{configuration}==""
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{idProduct}=="0003"
ATTRS{idVendor}=="1d6b"
ATTRS{interface_authorized_default}=="1"
ATTRS{ltm_capable}=="yes"
ATTRS{manufacturer}=="Linux 6.8.0-51-generic xhci-hcd"
ATTRS{maxchild}=="2"
ATTRS{power/active_duration}=="1791955"
ATTRS{power/async}=="enabled"
ATTRS{power/autosuspend}=="0"
ATTRS{power/autosuspend_delay_ms}=="0"
ATTRS{power/connected_duration}=="11764481"
ATTRS{power/control}=="auto"
ATTRS{power/level}=="auto"
ATTRS{power/runtime_active_kids}=="1"
ATTRS{power/runtime_active_time}=="1791941"
ATTRS{power/runtime_enabled}=="enabled"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="9972540"
ATTRS{power/runtime_usage}=="0"
ATTRS{power/wakeup}=="disabled"
ATTRS{power/wakeup_abort_count}==""
ATTRS{power/wakeup_active}==""
ATTRS{power/wakeup_active_count}==""
ATTRS{power/wakeup_count}==""
ATTRS{power/wakeup_expire_count}==""
ATTRS{power/wakeup_last_time_ms}==""
ATTRS{power/wakeup_max_time_ms}==""
ATTRS{power/wakeup_total_time_ms}==""
ATTRS{product}=="xHCI Host Controller"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="unknown"
ATTRS{remove}=="(not readable)"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="0000:07:00.4"
ATTRS{speed}=="10000"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="1078"
ATTRS{version}==" 3.10"
looking at parent device '/devices/pci0000:00/0000:00:08.1/0000:07:00.4':
KERNELS=="0000:07:00.4"
SUBSYSTEMS=="pci"
DRIVERS=="xhci_hcd"
ATTRS{ari_enabled}=="0"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x0c0330"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{current_link_speed}=="8.0 GT/s PCIe"
ATTRS{current_link_width}=="16"
ATTRS{d3cold_allowed}=="1"
ATTRS{dbc}=="disabled"
ATTRS{dbc_bInterfaceProtocol}=="01"
ATTRS{dbc_bcdDevice}=="0010"
ATTRS{dbc_idProduct}=="0010"
ATTRS{dbc_idVendor}=="1d6b"
ATTRS{device}=="0x1639"
ATTRS{dma_mask_bits}=="64"
ATTRS{driver_override}=="(null)"
ATTRS{enable}=="1"
ATTRS{irq}=="56"
ATTRS{local_cpulist}=="0-15"
ATTRS{local_cpus}=="ffff"
ATTRS{max_link_speed}=="16.0 GT/s PCIe"
ATTRS{max_link_width}=="16"
ATTRS{msi_bus}=="1"
ATTRS{msi_irqs/57}=="msix"
ATTRS{msi_irqs/58}=="msix"
ATTRS{msi_irqs/59}=="msix"
ATTRS{msi_irqs/60}=="msix"
ATTRS{msi_irqs/61}=="msix"
ATTRS{msi_irqs/62}=="msix"
ATTRS{msi_irqs/63}=="msix"
ATTRS{msi_irqs/64}=="msix"
ATTRS{numa_node}=="-1"
ATTRS{power/async}=="enabled"
ATTRS{power/control}=="on"
ATTRS{power/runtime_active_kids}=="2"
ATTRS{power/runtime_active_time}=="11765048"
ATTRS{power/runtime_enabled}=="forbidden"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/runtime_usage}=="1"
ATTRS{power/wakeup}=="enabled"
ATTRS{power/wakeup_abort_count}=="0"
ATTRS{power/wakeup_active}=="0"
ATTRS{power/wakeup_active_count}=="0"
ATTRS{power/wakeup_count}=="0"
ATTRS{power/wakeup_expire_count}=="0"
ATTRS{power/wakeup_last_time_ms}=="0"
ATTRS{power/wakeup_max_time_ms}=="0"
ATTRS{power/wakeup_total_time_ms}=="0"
ATTRS{power_state}=="D0"
ATTRS{remove}=="(not readable)"
ATTRS{rescan}=="(not readable)"
ATTRS{reset}=="(not readable)"
ATTRS{reset_method}=="pm"
ATTRS{resource0}=="(not readable)"
ATTRS{revision}=="0x00"
ATTRS{subsystem_device}=="0x50ae"
ATTRS{subsystem_vendor}=="0x17aa"
ATTRS{vendor}=="0x1022"
looking at parent device '/devices/pci0000:00/0000:00:08.1':
KERNELS=="0000:00:08.1"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{ari_enabled}=="0"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{current_link_speed}=="8.0 GT/s PCIe"
ATTRS{current_link_width}=="16"
ATTRS{d3cold_allowed}=="1"
ATTRS{device}=="0x1635"
ATTRS{dma_mask_bits}=="32"
ATTRS{driver_override}=="(null)"
ATTRS{enable}=="2"
ATTRS{irq}=="42"
ATTRS{local_cpulist}=="0-15"
ATTRS{local_cpus}=="ffff"
ATTRS{max_link_speed}=="16.0 GT/s PCIe"
ATTRS{max_link_width}=="16"
ATTRS{msi_bus}=="1"
ATTRS{msi_irqs/42}=="msi"
ATTRS{numa_node}=="-1"
ATTRS{power/async}=="enabled"
ATTRS{power/autosuspend_delay_ms}=="100"
ATTRS{power/control}=="auto"
ATTRS{power/runtime_active_kids}=="5"
ATTRS{power/runtime_active_time}=="11765057"
ATTRS{power/runtime_enabled}=="enabled"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/runtime_usage}=="0"
ATTRS{power/wakeup}=="enabled"
ATTRS{power/wakeup_abort_count}=="0"
ATTRS{power/wakeup_active}=="0"
ATTRS{power/wakeup_active_count}=="0"
ATTRS{power/wakeup_count}=="0"
ATTRS{power/wakeup_expire_count}=="0"
ATTRS{power/wakeup_last_time_ms}=="0"
ATTRS{power/wakeup_max_time_ms}=="0"
ATTRS{power/wakeup_total_time_ms}=="0"
ATTRS{power_state}=="D0"
ATTRS{remove}=="(not readable)"
ATTRS{rescan}=="(not readable)"
ATTRS{reset}=="(not readable)"
ATTRS{reset_method}=="pm"
ATTRS{revision}=="0x00"
ATTRS{secondary_bus_number}=="7"
ATTRS{subordinate_bus_number}=="7"
ATTRS{subsystem_device}=="0x17aa"
ATTRS{subsystem_vendor}=="0x50ae"
ATTRS{vendor}=="0x1022"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{power/async}=="enabled"
ATTRS{power/control}=="auto"
ATTRS{power/runtime_active_kids}=="20"
ATTRS{power/runtime_active_time}=="0"
ATTRS{power/runtime_enabled}=="disabled"
ATTRS{power/runtime_status}=="unsupported"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/runtime_usage}=="0"
ATTRS{waiting_for_supplier}=="0"
wojciii
(101 rep)
Jan 20, 2025, 12:02 PM
0
votes
0
answers
139
views
Camera as usb device
I have a Raspberry Pi (Debian version: 12 bookworm)with a camera module attached, and I want to use it as a webcam. I'm a beginner with this kind of setup, so I followed the instructions from here: https://www.raspberrypi.com/tutorials/plug-and-play-raspberry-pi-usb-webcam/. It worked perfectly, but...
I have a Raspberry Pi (Debian version: 12 bookworm)with a camera module attached, and I want to use it as a webcam. I'm a beginner with this kind of setup, so I followed the instructions from here: https://www.raspberrypi.com/tutorials/plug-and-play-raspberry-pi-usb-webcam/ .
It worked perfectly, but then I wanted to add a filter. So, I tried to create a virtual camera device using v4l2-ctl and intended to use that as the source for the usb-gadget script. I then wrote a Python script that takes input from the real camera, applies the filter, and sets the output as the input for the virtual camera. However, the usb-gadget script doesn't recognize the virtual camera, and now I'm stuck.
How can I make this device act like a USB camera when attached to a PC if I use something other than the script from the tutorial?
Geza
(1 rep)
Jan 19, 2025, 04:04 PM
0
votes
0
answers
31
views
Custom Linux No /dev/video0 for i2c camera decoder
I am trying to use tw9990 connected to a ATSAMA5D29 to play a camera feed. I have a custom board where the digital data lines are going to the ISC lines of the processor. I have an embedded linux distro made in Buildroot based off the microchip kernel. I am seeing the TW9910 module come up and talk...
I am trying to use tw9990 connected to a ATSAMA5D29 to play a camera feed. I have a custom board where the digital data lines are going to the ISC lines of the processor. I have an embedded linux distro made in Buildroot based off the microchip kernel. I am seeing the TW9910 module come up and talk to the TW9990 chip successfully, but I don't see any /dev/video. I added a small patch to the microchip-isc driver's probe() function which printed "probing" with printk, but I'm not seeing it in dmesg. An interesting, but confusing part of dmesg:
# dmesg | grep isc
device class 'misc': registering
/ahb/apb/isc@f0008000 Linked as a fwnode consumer to /ahb/apb/pinctrl@fc038000
/ahb/apb/isc@f0008000 Dropping the fwnode link to /ahb/apb/pinctrl@fc038000/isc_base
/ahb/apb/isc@f0008000 Dropping the fwnode link to /ahb/apb/pinctrl@fc038000/isc_data_8bit
device: 'platform:fc038000.pinctrl--platform:f0008000.isc': device_add
devices_kset: Moving f0008000.isc to end of list
PM: Moving platform:f0008000.isc to end of list
platform f0008000.isc: Linked as a consumer to fc038000.pinctrl
/ahb/apb/isc@f0008000 Dropping the fwnode link to /ahb/apb/pinctrl@fc038000
bus: 'platform': add driver microchip-sama5d2-isc
/ahb/apb/i2c@f8028000/tw9990@44: Relaxing link with /ahb/apb/isc@f0008000
/ahb/apb/isc@f0008000: Relaxing link with /ahb/apb/i2c@f8028000/tw9990@44
platform f0008000.isc: Fixed dependency cycle(s) with /ahb/apb/i2c@f8028000/tw9990@44
device: 'i2c:0-0044--platform:f0008000.isc': device_add
platform f0008000.isc: Linked as a sync state only consumer to 0-0044
/ahb/apb/isc@f0008000 Dropping the fwnode link to /ahb/apb/i2c@f8028000/tw9990@44
/ahb/apb/i2c@f8028000/tw9990@44: Relaxing link with /ahb/apb/isc@f0008000
i2c 0-0044: Fixed dependency cycle(s) with /ahb/apb/isc@f0008000
device: 'platform:f0008000.isc--i2c:0-0044': device_add
i2c 0-0044: Linked as a sync state only consumer to f0008000.isc
/ahb/apb/i2c@f8028000/tw9990@44 Dropping the fwnode link to /ahb/apb/isc@f0008000
at91_i2c f8028000.i2c: Dropping the link to f0008000.isc
device: 'platform:f0008000.isc--platform:f8028000.i2c': device_unregister
tw9910 0-0044: Dropping the link to f0008000.isc
device: 'platform:f0008000.isc--i2c:0-0044': device_unregister
The device_register and between isc and i2c may be part of the problem, but I don't know why that's happening. The full dmesg is here and the kernel configuration is here .
sbesse
(1 rep)
Dec 12, 2024, 06:06 PM
0
votes
0
answers
2448
views
Integrated webcam not working Ubuntu 22.04 getting error uvcvideo 1-6:1.1: Failed to resubmit video URB (-19)
It is a lenovo ideapad dual boot system with Ubuntu and Kali. Webcam is not accessible, it is showing blank, the light blips and goes off. Tried it with Cheese, browsers, guvcview, zoom and teams. It shows 'integrated camera c' in the settings but output remains blank. Few things which I've tried an...
It is a lenovo ideapad dual boot system with Ubuntu and Kali. Webcam is not accessible, it is showing blank, the light blips and goes off. Tried it with Cheese, browsers, guvcview, zoom and teams. It shows 'integrated camera c' in the settings but output remains blank.
Few things which I've tried and their output `uvcvideo 1-6:1.1: Failed to resubmit video URB (-19)
dmesg | grep video
[ 41.778881] videodev: Linux video capture interface: v2.00
[ 42.298170] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 42.534287] usbcore: registered new interface driver uvcvideo
[ 952.321442] uvcvideo 1-6:1.1: Failed to resubmit video URB (-19).
[ 952.325434] uvcvideo 1-6:1.1: Failed to resubmit video URB (-19).
[ 952.329433] uvcvideo 1-6:1.1: Failed to resubmit video URB (-19).
[ 952.333433] uvcvideo 1-6:1.1: Failed to resubmit video URB (-19).
also while trying to use Cheese
(cheese:9675): dconf-WARNING **: 03:47:50.976: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
(cheese:9675): cheese-WARNING **: 03:47:51.275: Could not read from resource.: ../sys/v4l2/gstv4l2bufferpool.c(1181): gst_v4l2_buffer_pool_poll (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1: poll error 1: Invalid argument (22)`
Also tried
chmod 666 /dev/video*
but problem remained unsolved.
noob
(1 rep)
Nov 15, 2022, 04:25 PM
• Last activity: Nov 11, 2024, 04:40 AM
0
votes
1
answers
75
views
integrated webcam (ACER SP514-51N) not working
I don't know if this is the right place (in case it's not, please redirect me to more appropriate site), but trying - the integrated camera on ACER SP514-51N is not working in GNU/Linux. On the same machine, when MS Windows is booted, works just fine. According to ACER forum (link below), it is a CH...
I don't know if this is the right place (in case it's not, please redirect me to more appropriate site), but trying - the integrated camera on ACER SP514-51N is not working in GNU/Linux. On the same machine, when MS Windows is booted, works just fine.
According to ACER forum (link below), it is a CHICONY model "CJFKF28"
**How to make the camera working?**
Here is some debug info from GNU/Linux (latest stable POP_OS, currently on kernel
6.9.3-76060903-generic #202405300957~1726766035~22.04~4092a0e
):
spin5 :: ~ » sudo lsmod | grep -iE "video|cam"
videobuf2_vmalloc 20480 0
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 36864 0
videobuf2_common 81920 3 videobuf2_vmalloc,videobuf2_v4l2,videobuf2_memops
videodev 356352 4 v4l2_async,v4l2_fwnode,videobuf2_v4l2,ov2740
mc 81920 5 v4l2_async,videodev,videobuf2_v4l2,videobuf2_common,ov2740
video 73728 3 acer_wmi,xe,i915
wmi 28672 3 video,acer_wmi,wmi_bmof
spin5 :: ~ » sudo dmesg | grep -iE "video|cam"
[ 0.000000] AMD AuthenticAMD
[ 0.100395] PCI: ECAM [mem 0xc0000000-0xcfffffff] (base 0xc0000000) for domain 0000 [bus 00-ff]
[ 0.100395] PCI: not using ECAM ([mem 0xc0000000-0xcfffffff] not reserved)
[ 0.224013] PCI: ECAM [mem 0xc0000000-0xcfffffff] (base 0xc0000000) for domain 0000 [bus 00-ff]
[ 0.226296] PCI: ECAM [mem 0xc0000000-0xcfffffff] reserved as ACPI motherboard resource
[ 0.495588] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 7.005562] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 7.006168] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input18
[ 8.942344] videodev: Linux video capture interface: v2.00
[ 1755.195885] usbcore: registered new interface driver uvcvideo
[ 2471.824739] usbcore: deregistering interface driver uvcvideo
spin5 :: ~ » sudo lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 04f3:0c7f Elan Microelectronics Corp. ELAN:Fingerprint
Bus 003 Device 004: ID 8087:0033 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
spin5 :: ~ »
Here is some selected info from MS windows device list:
Intel(R) ADL AVStream Camera
DISPLAY\INT3480\4&2DED5861&0&UID144512
VIDEO\VEN_8086&DEV_46A6&SUBSYS_16131025&REV_0C&INT3480
VIDEO\VEN_8086&DEV_46A6&SUBSYS_16131025&INT3480
VIDEO\VEN_8086&DEV_46A6&INT3480
VIDEO\INT3480
000000E0
CM_DEVCAP_SILENTINSTALL
CM_DEVCAP_RAWDEVICEOK
CM_DEVCAP_SURPRISEREMOVALOK
oem80.inf
ks.inf
KSCAPTUR.inf
machine.inf
ACPI(_SB_)#ACPI(PC00)#ACPI(GFX0)#ACPI(IPUA)
oem81.inf:VIDEO\INT3480,iacamera64.NT,12/30/2021,63.22000.3.6744
PCI\VEN_8086&DEV_46A6&SUBSYS_16131025&REV_0C\3&11583659&0&10
\Device\000000a4
\_SB.PC00.GFX0.IPUA
Intel(R) ADL AVStream Camera
ISP Camera Device
ACER FHD User Facing
Thanks a lot!
Related:
https://community.acer.com/en/discussion/comment/1302958#Comment_1302958
Duplicate here:
https://superuser.com/questions/1858660/how-to-enable-the-internal-camera-on-acer-spin-sp514-51n-laptop-in-gnu-linux
(I am figuring out which forum is more suitable for this question and solution)
crysman
(101 rep)
Nov 4, 2024, 10:08 AM
• Last activity: Nov 6, 2024, 02:16 PM
1
votes
1
answers
64
views
QoS on Linux: tc doesn't see RTP traffic
I have a camera that creates RTSP traffic. I connected it to a Linux PC via Ethernet, configured the network and access. But when I tried to apply QoS rules, the tc statistics showed that too few bytes were sent. After some research, I found that HTTP, SSH and RTSP (connection) traffic from the came...
I have a camera that creates RTSP traffic. I connected it to a Linux PC via Ethernet, configured the network and access. But when I tried to apply QoS rules, the tc statistics showed that too few bytes were sent.
After some research, I found that HTTP, SSH and RTSP (connection) traffic from the camera was displayed correctly in the statistics. However, tc seems to work differently with RTP traffic.
Video in VLC was playing, nft and tcpdump showed traffic. I tried using Debian 12, Ubuntu 24.04, Manjaro - it still didn't work. Imitating RTP with FFMPEG also did not bring success. This seems really weird and I didn't know what could cause the problem or what else to try.
eXulW0lf
(21 rep)
Sep 29, 2024, 06:49 PM
• Last activity: Oct 10, 2024, 01:38 PM
0
votes
0
answers
95
views
Built-in Webcam connects to Linux guest in VMWare but doesn't display image correctly
I'm running Kali Linux (deb) on VMWare Workstation 17 Pro. I have my host laptop's (Win10) webcam hooked up to Kali via VMware. On the Kali guest, when I give it a `ls /dev/video*` I get video0 through video3 as results, meaning the Kali guest knows there is a camera hooked up. I am testing the came...
I'm running Kali Linux (deb) on VMWare Workstation 17 Pro. I have my host laptop's (Win10) webcam hooked up to Kali via VMware. On the Kali guest, when I give it a
ls /dev/video*
I get video0 through video3 as results, meaning the Kali guest knows there is a camera hooked up.
I am testing the camera with cheese
to see what it sees, and here is where the issue is. The app/camera does start, but it's mostly a grey box. The top of the image renders a few lines so I can see my ceiling fan, but 95% of the rest of the bottom of the image is grey. The image also flickers here and there, some times showing more of my ceiling. I have the Accelerate 3D Graphics
option turned on in VMWare (although I didn't do anything on Kali side, maybe I'm missing something here?).
Any idea how to get this built-in laptop webcam to work properly on the Kali guest OS in VMware?
Tommy K
(141 rep)
Oct 4, 2024, 12:37 AM
Showing page 1 of 20 total questions