[libcamera-devel] [PATCH] libcamera: sysfs: Fix directory exists check

Kieran Bingham kieran.bingham at ideasonboard.com
Mon Jan 11 06:51:20 CET 2021


Hi Sebastian,

On 09/01/2021 08:22, Sebastian Fricke wrote:
>>
>>>
>>> I also tested this patch on my laptop:
>>> *Before*:
>>> ```
>>> basti at basti-TUXEDO-Book-XA1510:~$ cam -l
>>> Available cameras:
>>> 1: External camera 'Chicony USB2.0 Camera: Chicony '
>>> (\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685)
>>> ```
>>> *After*:
>>> ```
>>> basti at basti-TUXEDO-Book-XA1510:~$ cam -l
>>> Available cameras:
>>> 1: External camera 'Chicony USB2.0 Camera: Chicony '
>>> (\_SB_.PCI0.GP18.XHC0.RHUB.PRT4-4:1.0-04f2:b685)
>>> ```
>>>
>>> The output on my laptop looks a little odd, but that is another issue.
>>
>> What is odd about your laptop output?
> 
> I mainly think it looks odd because of the starting backslash and the
> total different structure. But it is no big issue.

For UVC cameras based on ACPI firmware paths, I believe that's expected:
On mine:

1: External camera 'HP Wide Vision FHD Camera: HP W'
(\_SB_.PCI0.XHC_.RHUB.HS05-5:1.0-0408:5251)

--
Kieran--
Regards
--
Kieran


More information about the libcamera-devel mailing list