Post APs8JLZsoRTXRQGaau by cks@mastodon.social
(DIR) More posts by cks@mastodon.social
(DIR) Post #APs8JFxlgj141lOZzU by PostMasterGeneral@thesnakepostoffice.online
2022-11-22T14:18:33Z
0 likes, 0 repeats
I rescued a ~2015 era MacBook pro from the recycle pile at work a few months ago, installed a new SSD, and the latest Ubuntu.After jumping through some hoops, I got the webcam working, primarily for skyping when I'm away from my desk.Now, every time I get a kernel update, it breaks the camera and I have to redo all those steps.1. Is there any way to prevent updates from borking my camera?2. Is there a way to automate the process of fixing it when it breaks?
(DIR) Post #APs8JGQ7zHhXRifEC8 by 4bz@freeradical.zone
2022-11-22T14:21:54Z
0 likes, 0 repeats
@PostMasterGeneral Man, this is when i wish i was a bigger linux nerd rather than an enthusiast.In theory, whatever the steps are you take to get the camera working again, you could write a script to run after each update. As for why? Honestly ive no idea. I've never tried running on a macbook so i'm assuming the kernals don't understand your webcam, and when a new kernel is installed it's overwriting whatever your fix was
(DIR) Post #APs8JH0HoqcnFra6YS by 4bz@freeradical.zone
2022-11-22T14:22:41Z
0 likes, 0 repeats
@PostMasterGeneral But being a 2015 era macbook, the idea that the kernel at this point doesn't just have everything working out of the box is baffling to me.
(DIR) Post #APs8JHZjh2yt1oAPoG by 4bz@freeradical.zone
2022-11-22T14:23:28Z
0 likes, 0 repeats
@PostMasterGeneral In case someone with more knowledge pops in, what are the steps you take to fix? it should shed some light
(DIR) Post #APs8JHyYCmpYGlmEUK by PostMasterGeneral@thesnakepostoffice.online
2022-11-22T14:30:33Z
0 likes, 0 repeats
@4bz I'm not 100% certain these are exact steps I followed last time, but it's extremely similar: https://askubuntu.com/questions/990218/camera-not-working-on-macbook-pro/1215628#1215628
(DIR) Post #APs8JIg9afi0S0B3S4 by 4bz@freeradical.zone
2022-11-22T15:31:59Z
0 likes, 0 repeats
@PostMasterGeneral My best guess is "facetimehd" that was added to /etc/modules is being overwritten when you update. If that is the case, just add it back after an update with the last steps of the link you posted
(DIR) Post #APs8JJCldPnS59R6Ho by PostMasterGeneral@thesnakepostoffice.online
2022-11-22T15:36:12Z
0 likes, 0 repeats
@4bz Sweet! Next time it happens, I'll give that a try first.
(DIR) Post #APs8JJbEATMXJ0sdPc by gnomon@mastodon.social
2022-11-22T17:28:14Z
0 likes, 0 repeats
@PostMasterGeneral @4bz I believe it may be possible to tack those steps into a post-installation step specific to the kernel package so that every time it's installed/upgraded the workaround is applied automatically?@cks wrote this article here that links to the docs that I think are relevant: https://utcc.utoronto.ca/~cks/space/blog/linux/DebianPackagePostinstIssue
(DIR) Post #APs8JKAg2fid4xSwfQ by PostMasterGeneral@thesnakepostoffice.online
2022-11-22T17:32:16Z
0 likes, 0 repeats
@gnomon @4bz @cks Will take a look!
(DIR) Post #APs8JKfWC0OAcbtZjs by cks@mastodon.social
2022-11-22T18:11:26Z
0 likes, 0 repeats
@PostMasterGeneral @gnomon @4bz In modern Debian/Ubuntu, you want to put a file in /etc/modules-load.d instead of changing /etc/modules directly. New files won't be disturbed by kernel upgrades. However, getting the actual kernel modules automatically rebuilt on kernel updates is much more troublesome.(You probably don't want to venture into the depths of getting kernel modules working with DKMS.)
(DIR) Post #APs8JL7AXCVU0Mpeq0 by 4bz@freeradical.zone
2022-11-22T18:12:52Z
0 likes, 0 repeats
@cks Are you sure you don't want to walk us through compiling our own kernel? ;) @PostMasterGeneral @gnomon
(DIR) Post #APs8JLZsoRTXRQGaau by cks@mastodon.social
2022-11-22T18:26:49Z
0 likes, 0 repeats
@4bz @PostMasterGeneral @gnomon I'm pretty sure compiling your own kernel is easier than writing a DKMS configuration file for a random out of tree kernel module and getting it to build under DKMS. I admire projects that support DKMS builds (thanks, OpenZFS/ZFS on Linux), but from a safe distance.
(DIR) Post #APs8JLxdO8TSd5NYcC by pro@mu.zaitcev.nu
2022-11-22T19:52:39.803992Z
0 likes, 0 repeats
@cks @4bz @PostMasterGeneral @gnomon Indeed making own kernels is extremely easy. The annoying part is keeping them up to date. If you're running your own, you're committing yourself to doing the job of the kernel team of your distribution, which they are already doing.