GithubHelp home page GithubHelp logo

Comments (4)

bim9262 avatar bim9262 commented on July 18, 2024

Can you share the output of ls -lA /dev/v4l/by-id /dev/video*?
The next step would be to get the output of ls -lA /proc/$PID_OF_CONSUMER(like firefox)/fd

from i3status-rust.

freswa avatar freswa commented on July 18, 2024
> ls -lA /dev/v4l/by-id /dev/video*
crw-rw----+ root video  0 B Thu Feb 22 09:54:28 2024  /dev/video0
crw-rw----+ root video  0 B Thu Feb 22 09:54:28 2024  /dev/video1
crw-rw----+ root video  0 B Thu Feb 22 09:54:28 2024  /dev/video2
crw-rw----+ root video  0 B Thu Feb 22 09:54:28 2024  /dev/video3

/dev/v4l/by-id:
lrwxrwxrwx root root 12 B Thu Feb 22 09:54:28 2024  usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0 ⇒ ../../video2
lrwxrwxrwx root root 12 B Thu Feb 22 09:54:28 2024  usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index1 ⇒ ../../video1
> ls -lA /proc/1994/fd | grep video                                                                                                          
lrwx------ user user 64 B Thu Feb 22 09:57:35 2024 208 ⇒ /dev/video0

Hmmmm....

> lsof /dev/video*                                                 
COMMAND    PID     USER  FD   TYPE DEVICE SIZE/OFF NODE NAME
firefox   1994 user mem    CHR   81,0           922 /dev/video0
firefox   1994 user 208u   CHR   81,0      0t0  922 /dev/video0
pipewire  2181 user  83u   CHR   81,0      0t0  922 /dev/video0
pipewire  2181 user  85u   CHR   81,2      0t0  925 /dev/video2
wireplumb 2182 user  40u   CHR   81,0      0t0  922 /dev/video0
wireplumb 2182 user  42u   CHR   81,2      0t0  925 /dev/video2

from i3status-rust.

bim9262 avatar bim9262 commented on July 18, 2024

Looks like in /dev/v4l/by-id: there's nothing pointing to /dev/video0 (unless it just got missed in the copy/paste).
I'm going to take a look at just scanning for /dev/video* as mentioned in #2006

from i3status-rust.

freswa avatar freswa commented on July 18, 2024

#2009 fixes this issue

from i3status-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.