You are not logged in.

#1 2025-02-26 14:56:30

geckofish52
Member
From: Minnesota, USA
Registered: 2023-03-20
Posts: 5

[SOLVED] Trouble Installing facetimehd-dkms on MacBook

I have an old MacBook Air 6,1 and I am trying to get the webcam working.

I know that I have a Facetime HD camera because it shows ups in lspci.

According to this Arch Wiki page I have to install facetimehd-dkms and facetimehd-data from the AUR.

I ran the installation but the webcam is not showing up in the camera apps I used to test the issue.

To see whether the dkms module loaded I ran

dkms status

and the output was:

broadcom-wl/6.30.223.271, 6.13.4-arch1-1, x86_64: installed
facetimehd/0.6.8.2: added

So I ran

dkms autoinstall

I received an error:

Deprecated feature: MODULES_CONF (/var/lib/dkms/facetimehd/0.6.8.2/source/dkms.conf)
Deprecated feature: MODULES_CONF (/etc/dkms/framework.conf)
Sign command: /usr/lib/modules/6.13.4-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module facetimehd/0.6.8.2 for kernel 6.13.4-arch1-1 (x86_64)
Cleaning build area... done.
Building module(s).....(bad exit status: 2)
Failed command:
make -j4 KERNELRELEASE=6.13.4-arch1-1 -C /usr/lib/modules/6.13.4-arch1-1/build M=/var/lib/dkms/facetimehd/0.6.8.2/build

Error! Bad return status for module build on kernel: 6.13.4-arch1-1 (x86_64)
Consult /var/lib/dkms/facetimehd/0.6.8.2/build/make.log for more information.

Autoinstall on 6.13.4-arch1-1 succeeded for module(s) broadcom-wl.
Autoinstall on 6.13.4-arch1-1 failed for module(s) facetimehd(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

The output of the make.log file is:

DKMS (dkms-3.1.5) make.log for facetimehd/0.6.8.2 for kernel 6.13.4-arch1-1 (x86_64)
Wed Feb 26 07:35:21 AM MST 2025
Cleaning build area
# command: make clean
make -C /lib/modules/6.13.4-arch1-1/build M=/var/lib/dkms/facetimehd/0.6.8.2/build clean
make[1]: Entering directory '/usr/lib/modules/6.13.4-arch1-1/build'
make[2]: Entering directory '/var/lib/dkms/facetimehd/0.6.8.2/build'
make[2]: Leaving directory '/var/lib/dkms/facetimehd/0.6.8.2/build'
make[1]: Leaving directory '/usr/lib/modules/6.13.4-arch1-1/build'

# exit code: 0
# elapsed time: 00:00:00
Building module(s)
# command: make -j4 KERNELRELEASE=6.13.4-arch1-1 -C /usr/lib/modules/6.13.4-arch1-1/build M=/var/lib/dkms/facetimehd/0.6.8.2/build
make: Entering directory '/usr/lib/modules/6.13.4-arch1-1/build'
make[1]: Entering directory '/var/lib/dkms/facetimehd/0.6.8.2/build'
  CC [M]  fthd_ddr.o
  CC [M]  fthd_hw.o
  CC [M]  fthd_drv.o
  CC [M]  fthd_ringbuf.o
fthd_ddr.c: In function ‘fthd_ddr_verify_mem’:
fthd_ddr.c:29:26: error: storage size of ‘state’ isn’t known
   29 |         struct rnd_state state;
      |                          ^~~~~
fthd_ddr.c:31:9: error: implicit declaration of function ‘prandom_seed_state’ [-Wimplicit-function-declaration]
   31 |         prandom_seed_state(&state, 0x12345678);
      |         ^~~~~~~~~~~~~~~~~~
fthd_ddr.c:34:23: error: implicit declaration of function ‘prandom_u32_state’ [-Wimplicit-function-declaration]
   34 |                 val = prandom_u32_state(&state);
      |                       ^~~~~~~~~~~~~~~~~
fthd_ddr.c:29:26: warning: unused variable ‘state’ [-Wunused-variable]
   29 |         struct rnd_state state;
      |                          ^~~~~
make[3]: *** [/usr/lib/modules/6.13.4-arch1-1/build/scripts/Makefile.build:196: fthd_ddr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/lib/modules/6.13.4-arch1-1/build/Makefile:1984: .] Error 2
make[1]: *** [/usr/lib/modules/6.13.4-arch1-1/build/Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/facetimehd/0.6.8.2/build'
make: *** [Makefile:251: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.13.4-arch1-1/build'

# exit code: 2
# elapsed time: 00:00:09

This is where I am stuck. How do I resolve this?

Thanks

Last edited by geckofish52 (2025-04-04 13:03:32)

Offline

#2 2025-02-26 14:59:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,562

Re: [SOLVED] Trouble Installing facetimehd-dkms on MacBook

Incompatibility with 6.13 kernel. Needs to be fixed upstream.

Edit: https://github.com/patjak/facetimehd/pull/304

Last edited by Scimmia (2025-02-26 15:00:15)

Offline

#3 2025-02-26 19:21:18

geckofish52
Member
From: Minnesota, USA
Registered: 2023-03-20
Posts: 5

Re: [SOLVED] Trouble Installing facetimehd-dkms on MacBook

Thank you for the clarification. I can return to post as solved as soon as an update arrives, unless I should do so given the explanation.

Offline

#4 2025-03-20 01:32:29

geckofish52
Member
From: Minnesota, USA
Registered: 2023-03-20
Posts: 5

Re: [SOLVED] Trouble Installing facetimehd-dkms on MacBook

Revisiting this as I would like to solve the problem.

Sorry if this is a noob question, but it seem that the issue is that the AUR version, both git and not, of facetimehd-dkms are out of date on version 6.8 and not updated since last summer whereas the Github driver is at 6.13

Is the resolution (as a noob who doesn't know how to contribute) to wait for the AUR update? I notice there is a flag [Out-of-date: 2025-03-17] on the package when I search it using paru.

Thank you

Offline

#5 2025-03-20 02:06:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,244

Re: [SOLVED] Trouble Installing facetimehd-dkms on MacBook

"-git" packages will automatically pull the latest available version (the version in the AUR just reflects the last time it was explicitly updated there, it will relevantly adjust to the latest git revision) and "should" work if no other patches were/are necessary to the build system.

You could also use the opportunity to become more familiar with the actual underlying tools rather than being completely reliant on yay/paru and grab the PKGBUILD for the stable version yourself and adjusting the version number. https://wiki.archlinux.org/title/Arch_U … g_packages grab the PKGBUILD, adjust the pkgver to the latest from upstream, try to build it with makepkg.

Last edited by V1del (2025-03-20 02:09:57)

Offline

#6 2025-04-04 13:02:50

geckofish52
Member
From: Minnesota, USA
Registered: 2023-03-20
Posts: 5

Re: [SOLVED] Trouble Installing facetimehd-dkms on MacBook

I installed the git version. Unsure if that's the only thing that changed, but my camera is working now.

Thanks

Offline

Board footer

Powered by FluxBB