Control: tag -1 pending

On 2013-08-05 10:53:05, Paul Wise wrote:
> When I run monkeyscan, I get four video devices. In Cheese (GNOME) I
> don't get the option to choose a video device because there is only one
> plugged in but it is displayed as "Integrated Camera (/dev/video0)".
>
> /dev/video0
> /dev/v4l/by-path/pci-000:00:1a.0-usb-0:1.6:1.0-video-index0
> /dev/v4l/by-id/usb-Chicony_Electronics_Co.__Ltd._Integrated_Camera-video-index0
> /dev/char/81:0
>
> In addition the video device file is probably not a very user-friendly
> choice for listing video devices. It would probably be a good idea to
> switch to whatever Cheese is using.

Hi,

Cheese has a whole C library to handle that stuff. We're just a poor
lone python wolf.

I added a workaround in dev/ux branch in git which removes duplicate
video devices (we just list /dev/video* now) and finds the name if /sys
is available.

It's commit 616076e in git, if you are curious, but it won't apply on
0.9 or 1.1.

A.
-- 
L'ennui avec la grande famille humaine, c'est que tout le monde veut
en être le père.
                        - Mafalda

Attachment: pgpYRWPidI1yT.pgp
Description: PGP signature

Reply via email to