Bug 204699

Summary: On HP Elite x2 1013 G3 ov8856 driver doesn't load due to "external clock -1 is not supported" and "failed to check HW configuration: -22" error
Product: v4l-dvb Reporter: RussianNeuroMancer (russianneuromancer)
Component: webcamAssignee: webcam (v4l-dvb_webcam)
Status: NEW ---    
Severity: normal CC: aurelien.k.ernel, lalochcz
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.2.9 Subsystem:
Regression: No Bisected commit-id:
Attachments: Linux 5.2.9 dmesg from HP Elite x2 1013 G3

Description RussianNeuroMancer 2019-08-26 12:11:42 UTC
Created attachment 284607 [details]
Linux 5.2.9 dmesg from HP Elite x2 1013 G3

Hello!

Attempt to load ov8856 driver on HP Elite x2 1013 G3 cause following errors:

[    5.046196] ov8856 i2c-OVTI8856:00: external clock -1 is not supported
[    5.046234] ov8856 i2c-OVTI8856:00: failed to check HW configuration: -22
[    5.046308] ov8856: probe of i2c-OVTI8856:00 failed with error -22

Full dmesg is attached.

dsdt.dsl is in Bug 204693
Comment 1 Aurélien C 2019-11-26 12:14:26 UTC
Hey, 

Here is exactly the same on an ASUS T304UA. This is the same webcam with the same error. I tried to skip the check of the clock frequency in the code. However it returns an error on the "fwnode_graph_get_next_endpoint".
I don't have enough time to check the code but it seems that it tries to initialize the wrong I2C device no?
Comment 2 RussianNeuroMancer 2020-09-26 23:08:14 UTC
No changes on Linux 5.9rc6.

> I don't have enough time to check the code but it seems that it tries to
> initialize the wrong I2C device no?

Why you think so?