Comments (4)
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.
> 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.
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.
#2009 fixes this issue
from i3status-rust.
Related Issues (20)
- Theme no longer being applied in swaybar after update HOT 4
- new privacy block seems to create some instability when switching on and off display outputs HOT 1
- new privacy block causes i3status-rs to be unstable in some conditions, especially when gamescope and certain games are launched HOT 1
- feature: add `format_alt` and `format_list` to all blocks HOT 3
- Wrong icons in sound block HOT 5
- Upgrading an old configuration to later i3status-rust versions HOT 6
- Typo in GitHub repository About description, "resourcefriendly" should be "resource-friendly"
- How to hide sound blocks for devices that are not present? (bluetooth/USB headsets, etc) HOT 4
- .Xresources color definition import? HOT 2
- Feature: Add support for non sway/i3 wayland compositors HOT 1
- amd_gpu: improve the error when a device does not exist HOT 3
- Implement format_alt for sound block HOT 4
- Battery block not showing battery percentage HOT 1
- `headphones_indicator` set to `true` doesn't show when headphones are connected HOT 12
- eng formatter: support prefixes in the range argument
- `sound`: Make the warning status when muted configurable HOT 2
- Request: DNS information to network block HOT 7
- keyboard_layout span colors HOT 2
- Revert empty battery state to charging when plugged in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3status-rust.