Open jhand2 opened 4 years ago
Copying comments from linux-surface repo.
Comment from kitakar5525 https://github.com/linux-surface/linux-surface/issues/91#issuecomment-683799308
[...] So, the cause of
surface_camera
driver won't be probed automatically is that, as mentioned above, the HIDINT343E
actually doesn't exist (at least on on SB1).Comment from djrscally https://github.com/linux-surface/linux-surface/issues/91#issuecomment-683907009
On the topic of adding autoprobe support to the surface camera driver, given this is really a function of the cio2 infrastructure, I think the best thing to do is probably attach it to that driver somehow, either by converting that to an MFD or some other method. But that can wait till it's in a more useable state.
Currently the surface_camera module must be loaded manually.
I have tried to get it to probe automatically by making it a platform_driver or an acpi_driver and associating it with the ACPI ID
INT343E
which is the CIO2 device. For some reason this doesn't work, so the driver needs to be inserted manually.