#1030314 guvcview: Command line invocation truncates device path

Package:
guvcview
Source:
guvcview
Description:
GTK+ base UVC Viewer
Submitter:
Beiad Ian Q Dalton
Date:
2023-02-02 18:18:05 UTC
Severity:
normal
#1030314#5
Date:
2023-02-02 18:14:10 UTC
From:
To:
Dear Maintainer,

Multiple cameras attached, specifying device using 'by-id' extended device path.

beata@spilogale:~$ ls /dev/v4l/by-id/
usb-046d_HD_Pro_Webcam_C920_5A4AA79F-video-index0
usb-046d_HD_Pro_Webcam_C920_5A4AA79F-video-index1
usb-046d_HD_Pro_Webcam_C920_792F345F-video-index0
usb-046d_HD_Pro_Webcam_C920_792F345F-video-index1
usb-046d_HD_Pro_Webcam_C920_C867FD9F-video-index0
usb-046d_HD_Pro_Webcam_C920_C867FD9F-video-index1
usb-046d_HD_Pro_Webcam_C920_E28FA79F-video-index0
usb-046d_HD_Pro_Webcam_C920_E28FA79F-video-index1


beata@spilogale:~$ guvcview --verbosity=1 --device=/dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_5A4AA79F-video-index0
GUVCVIEW: version 2.0.6
GUVCVIEW: couldn't open /home/beata/.config/guvcview2/usb-046d_HD_Pr for read: No such file or directory
Guvcview: using GUI 1 for option gtk
V4L2_CORE: capture method mmap (1)
V4L2_CORE: video device: /dev/v4l/by-id/usb-046d_HD_Pr
V4L2_CORE: ERROR opening V4L interface: No such file or directory
GUVCVIEW (1): Guvcview error
	 no video device found