Bug 2333647
Summary: | IPU6 camera not working on HP Spectre x360 2-in-1 Laptop 16-f1xxx/891D, hi556 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Freed <okrh> | ||||||||||||
Component: | kernel | Assignee: | Hans de Goede <hdegoede> | ||||||||||||
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 41 | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, effigies, hdegoede, hpa, josef, kernel-maint, linville, masami256, mchehab, ptalbert, steved, suraj.ghimire7 | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | Type: | Bug | |||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
John Freed
2024-12-21 13:41:26 UTC
Created attachment 2063420 [details]
i2c devices
Created attachment 2063421 [details]
spi devices
Created attachment 2063422 [details]
lsusb
Thank you for filing this bug and providing all the logs. At a first look it looks like the problem is missing powerdown gpio support in the hi556 driver. I'll look into preparing a patch + a Fedora kernel with that patch after the holidays (I'll be back January 6th, but I'll have a lot of things to go through then). Created attachment 2063487 [details]
lsmod
I'm afraid it is going to take a little longer before I will get around to looking into this and providing a test kernel. I'm fully booked this week, so hopefully next week. Also my initial analysis of a missing powerdown pin support in the hi556 driver is wrong. Looking at this again these lines from the kernel log are the problem: Dec 21 12:16:59 fedora kernel: int3472-discrete INT3472:01: unknown \_SB.GPI0 pin 83 active-high Dec 21 12:16:59 fedora kernel: int3472-discrete INT3472:01: GPIO type 0x12 unknown; the sensor may not work Type 0x12 is a handshake pin, but is unclear yet how to handle this pin. So fixing this is going to be tricky / will likely take a while I'm afraid. Note to self: This is an Alder Lake machine. Sorry for being slow in getting back to you. I just finished a patch series to deal with the special handshake signal your laptop seems to need and posted version 1 of this upstream: https://lore.kernel.org/platform-driver-x86/20250325161340.342192-1-hdegoede@redhat.com/ I've build a test-kernel with these patches, please give this a go: https://koji.fedoraproject.org/koji/taskinfo?taskID=130775742 Here are some instructions for directly installing a kernel from koji: https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt In the mean time handshake GPIO support has been added to the Fedora kernels and I've just done another Fedora test-kernel build with some extra hi556 fixes for bug 2368506): https://koji.fedoraproject.org/koji/taskinfo?taskID=133212953 This kernel is ready to download and install now. For instructions for directly installing a kernel from koji (Fedora's buildsystem) see: https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt Please give this kernel a try and if things still do not work please collect new kernel logs using "journalctl -b 0 -k > kernel.txt". |