Hi,
In order to proper add dynamic controls to the uvc driver, I need at least
the vid string for the selected device.
I tried libwebcam approach  by using /sys/class/video4linux, but this proved
highly distribution dependent and has caused a lot of trouble,
so no I'm parsing the values passed in the device card field of
v4l2_capability struct. UVC sets this to "UVC Camera (vid:pid)" and since I
only need these fields for the uvc driver there shouldn't be a problem,
right?
Or are there any plans to change this field in the future ?
The best solution would be if I could get these values directly in v4l2, but
it looks like v4l2 developers "forgot" or at least didn't consider this
information important enought.
If there is some other distro independent solution I would like to know.
I've also tried libusb, but failed to link the /sys/class device name to the
usb bus-devicename provided by this library.

Best regards,
Paulo
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to