-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Udev symlinks for webcams are not accepted anymore #310
Comments
This was referenced Jan 15, 2024
Merged
It's definitely the update from 0.7.0 to 0.8.0. Video devices and symlink~/tmp/cam_test_ws$ ls -la /dev/video*
crw-rw----+ 1 root video 81, 0 Jan 18 11:09 /dev/video0
crw-rw----+ 1 root video 81, 1 Jan 18 11:09 /dev/video1
crw-rw----+ 1 root video 81, 2 Jan 18 11:09 /dev/video2
crw-rw----+ 1 root video 81, 3 Jan 18 11:09 /dev/video3
crw-rw----+ 1 root video 81, 4 Jan 18 11:10 /dev/video4
crw-rw----+ 1 root video 81, 5 Jan 18 11:10 /dev/video5
~/tmp/cam_test_ws$ ls -la /dev/micro*
lrwxrwxrwx 1 root root 6 Jan 18 11:10 /dev/microsoft_webcam -> video4 driver launch with 0.8.0~/tmp/cam_test_ws/src/usb_cam$ git status
HEAD detached at 0.8.0
...
[INFO] [launch]: All log files can be found below ...
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [usb_cam_node_exe-1]: process started with pid [331620]
[INFO] [camera_diagnostics-2]: process started with pid [331622]
[usb_cam_node_exe-1] [INFO] [1705577554.536271979] [web_cam]: camera_name value: web_camera
[usb_cam_node_exe-1] [WARN] [1705577554.536332710] [web_cam]: framerate: 20.000000
[usb_cam_node_exe-1] [INFO] [1705577554.537362010] [web_cam]: camera calibration URL: package://camera_launch/config/microsoft_lifecam_studio_info.yaml
[usb_cam_node_exe-1] [ERROR] [1705577554.780940459] [web_cam]: Device specified is not available or is not a vaild V4L2 device: `/dev/microsoft_webcam`
[usb_cam_node_exe-1] [INFO] [1705577554.781010102] [web_cam]: Available V4L2 devices are:
[usb_cam_node_exe-1] [INFO] [1705577554.781017259] [web_cam]: /dev/video0
[usb_cam_node_exe-1] [INFO] [1705577554.781022664] [web_cam]: HP HD Camera: HP HD Camera
[usb_cam_node_exe-1] [INFO] [1705577554.781028815] [web_cam]: /dev/video1
[usb_cam_node_exe-1] [INFO] [1705577554.781032047] [web_cam]: HP HD Camera: HP HD Camera
[usb_cam_node_exe-1] [INFO] [1705577554.781035310] [web_cam]: /dev/video2
[usb_cam_node_exe-1] [INFO] [1705577554.781038796] [web_cam]: HP HD Camera: HP IR Camera
[usb_cam_node_exe-1] [INFO] [1705577554.781042089] [web_cam]: /dev/video3
[usb_cam_node_exe-1] [INFO] [1705577554.781045336] [web_cam]: HP HD Camera: HP IR Camera
[usb_cam_node_exe-1] [INFO] [1705577554.781048537] [web_cam]: /dev/video4
[usb_cam_node_exe-1] [INFO] [1705577554.781051641] [web_cam]: Microsoft® LifeCam Studio(TM):
[usb_cam_node_exe-1] [INFO] [1705577554.781054840] [web_cam]: /dev/video5
[usb_cam_node_exe-1] [INFO] [1705577554.781057976] [web_cam]: Microsoft® LifeCam Studio(TM):
[usb_cam_node_exe-1] [WARN] [1705577554.781605666] [web_cam]: Shutting down
[INFO] [usb_cam_node_exe-1]: process has finished cleanly [pid 331620] driver launch with 0.7.0git status
HEAD detached at 0.7.0
nothing to commit, working tree clean
...
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [usb_cam_node_exe-1]: process started with pid [354282]
[INFO] [camera_diagnostics-2]: process started with pid [354284]
[usb_cam_node_exe-1] [INFO] [1705578667.086366283] [web_cam]: camera_name value: web_camera
[usb_cam_node_exe-1] [WARN] [1705578667.086467642] [web_cam]: framerate: 20.000000
[usb_cam_node_exe-1] [INFO] [1705578667.087954263] [web_cam]: camera calibration URL: package://camera_launch/config/microsoft_lifecam_studio_info.yaml
[usb_cam_node_exe-1] [INFO] [1705578667.088214346] [web_cam]: Starting 'web_camera' (/dev/microsoft_webcam) at 800x600 via mmap (mjpeg2rgb) at 20 FPS
[usb_cam_node_exe-1] [INFO] [1705578667.218268894] [web_cam]: This devices supproted formats:
[usb_cam_node_exe-1] [INFO] [1705578667.218771104] [web_cam]: YUYV 4:2:2: 640 x 480 (30 Hz)
[usb_cam_node_exe-1] [INFO] [1705578667.218815090] [web_cam]: YUYV 4:2:2: 640 x 480 (20 Hz)
[usb_cam_node_exe-1] [INFO] [1705578667.218827984] [web_cam]: YUYV 4:2:2: 640 x 480 (15 Hz)
[usb_cam_node_exe-1] [INFO] [1705578667.218838915] [web_cam]: YUYV 4:2:2: 640 x 480 (10 Hz)
[usb_cam_node_exe-1] [INFO] [1705578667.218849777] [web_cam]: YUYV 4:2:2: 640 x 480 (7 Hz)
... |
Given that #311 is merged we can close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @flynneva
I ran into a new issue this morning.
On our system we use symlink in order to create
/dev/...
symlinks for each camera depending on the usb port they are connected to. This worked fine until recently (unfortunately I am not sure which update broke that).I now get the error message from the usb_cam node (exemplary for one camera - we have four) :
But using the symlink via vlc or with v4l2-ctl works:
The corresponding udev entry:
Usb cam version: 0.8.0
The text was updated successfully, but these errors were encountered: