ublue-os / main

OCI base images of Fedora with batteries included
https://universal-blue.org/images/main/
Apache License 2.0
482 stars 40 forks source link

Add IPU6 camera support #229

Open castrojo opened 1 year ago

castrojo commented 1 year ago

https://hansdegoede.livejournal.com/27276.html

This is now in RPMFusion, we should investigate this.

bsherman commented 1 year ago

What's required here? I glanced over the blog post... seems like it would be adding akmod-intel-ipu6 as another build in https://github.com/ublue-os/akmods

Is that all?

Does someone have this device to test?

coredump commented 9 months ago

@bsherman I do have a laptop with one of those cameras, if testing is needed.

n1x0d commented 8 months ago

+1 Also have one (XPS13 Plus) and willing to test.

bubuntux commented 4 months ago

i added the v4l2loopback akmods into a blue-build and also installed akmod-intel-ipu6 package, the webcam is detected but doesn't seems to work, i think i'm missing something else, not sure what tho

bubuntux commented 4 months ago

after installing akmod-intel-ipu6 i tried akmods --force --kernels "6.8.7-300.fc40.x86_64" --kmod intel-ipu6 and getting the following error

2024/04/30 20:18:22 akmodsbuild: + make -C /usr/src/kernels/6.8.7-300.fc40.x86_64 M=/tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64 modules
2024/04/30 20:18:22 akmodsbuild: make: Entering directory '/usr/src/kernels/6.8.7-300.fc40.x86_64'
2024/04/30 20:18:22 akmodsbuild:   CC [M]  /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/drivers/misc/mei/spi-vsc.o
2024/04/30 20:18:22 akmodsbuild:   CC [M]  /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/drivers/misc/mei/hw-vsc.o
2024/04/30 20:18:22 akmodsbuild:   LD [M]  /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/mei-vsc.o
2024/04/30 20:18:22 akmodsbuild: /bin/sh: line 1: ld: command not found
2024/04/30 20:18:22 akmodsbuild: make[2]: *** [scripts/Makefile.build:439: /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/mei-vsc.o] Error 127
2024/04/30 20:18:22 akmodsbuild: make[1]: *** [/usr/src/kernels/6.8.7-300.fc40.x86_64/Makefile:1939: /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64] Error 2
2024/04/30 20:18:22 akmodsbuild: make: *** [Makefile:252: __sub-make] Error 2
2024/04/30 20:18:22 akmodsbuild: make: Leaving directory '/usr/src/kernels/6.8.7-300.fc40.x86_64'
2024/04/30 20:18:22 akmodsbuild: error: Bad exit status from /var/tmp/rpm-tmp.bufqXA (%build)

i tried installing binutils but still got the same error, not sure how to solve the missing ld command

castrojo commented 1 week ago

Firmware instructions here, looks like we'll get everything else in the latest kernel:

https://github.com/ublue-os/bluefin/issues/1633#issuecomment-2335134725