Comments (17)
I'd assume this it's an expected behavior, the power management routines are not yet implemented:
https://github.com/patjak/bcwc_pcie/blob/master/fthd_drv.c#L520
from facetimehd.
@edsiper Any way to go around this?
from facetimehd.
do not suspend ? :)
from facetimehd.
Probably unloading the module before suspending should prevent this too.
from facetimehd.
@hobarrera Can you tell me how to do that? I have tried but I do not think I have done it right
from facetimehd.
modprobe -r facetimehd
from facetimehd.
Any way I can put this in a script so that it launches the commands before sleep : modprobe -r facetimehd.
And on resume: modprobe -r bdc_pci and modprobe facetimehd?
@slashrsm
from facetimehd.
If you're on Ubuntu (and perhaps Debian), edit /etc/default/acpi-support
and add facetimehd
to its MODULES
variable.
from facetimehd.
Solution. DEV @patjak please add to install description as workaround for now:
Create this file: sudo gedit
And paste this and save it to /lib/systemd/system-sleep/ And chmod it after you save it: sudo chmod a+x /lib/systemd/system-sleep/99facetimehd:
#!/bin/sh
case $1/$2 in
pre/)
echo "Going to $2..."
modprobe -r facetimehd
;;
post/)
echo "Waking up from $2..."
modprobe -r bdc_pci
modprobe facetimehd
modprobe bdc_pci
;;
esac
from facetimehd.
@hpe009 Thanks. Please add that to the wiki. The wiki is open for anyone to edit. Note that modprobe bdc_pci
is not needed at post.
from facetimehd.
@patjak Will do, added that line jsut in case.
from facetimehd.
@hpe009 Thanks
from facetimehd.
For Ubuntu trusty we need:
/etc/pm/sleep.d/99_facetimehd
#!/bin/sh
case $1 in
resume|thaw)
logger -t pm 'Loading facetimehd kernel module'
/sbin/modprobe facetimehd
;;
suspend|hibernate)
logger -t pm 'Removing facetimehd kernel module'
/sbin/rmmod facetimehd
exit 0
;;
esac
from facetimehd.
For Ubuntu we can use existing acpi-support functionality #37 (comment)
from facetimehd.
@wvengen I did try to do it via /etc/default/acpi-support - setting MODULES. Didn't work for me. I use Linux Mint 17, which is based on trusty.
from facetimehd.
@wvengen That does not work I have tried.
from facetimehd.
@hpe009 thanks for reporting back, strange.
btw, the driver unloads/loads itself now at suspend/resume since b5e3e74
from facetimehd.
Related Issues (20)
- Freeze in Arch Linux HOT 1
- No working on MacBook pro mid 2015 HOT 4
- Cheese not working on my Macbook Air 7,2 HOT 9
- Mabook air 7.2 Pop!_OS 22.04 (Ubuntu 22.04) SSL error HOT 7
- Persistent power management issue after modprobing
- rcu_preempt issues with kernel 5.19
- help with uninstall HOT 1
- problem installing from github HOT 1
- attempting to install on ubuntu 22.04 early 2015 macbook air HOT 4
- Unable to build DKMS package on Xanmod 6 HOT 1
- not able to compile kernel 6 - ERROR: modpost: "vb2_dma_sg_memops" HOT 2
- No longer working on kernel version 6.0 or 6.1 HOT 2
- The wiki does not include ways of using the camera. HOT 1
- Donation
- "no rule to make target 'camera'" error on Linux Mint/ MacBook Pro late 2013 HOT 1
- Macbook air installation (LinuxMint) -Werror=implicit-function-declaration HOT 5
- pci_set_dma_mask and pci_set_consistent_dma_mask depreciation HOT 2
- Error on cheese: there was an error playing from this web cam HOT 1
- facetimehd not working in Debian Bookworm HOT 8
- Debian: Error 2, when running make command in bcwc_pcie directory - after succesfully extracting the firmware
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facetimehd.