Git Product home page Git Product logo

Comments (17)

edsiper avatar edsiper commented on August 26, 2024

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.

hpe009 avatar hpe009 commented on August 26, 2024

@edsiper Any way to go around this?

from facetimehd.

edsiper avatar edsiper commented on August 26, 2024

do not suspend ? :)

from facetimehd.

WhyNotHugo avatar WhyNotHugo commented on August 26, 2024

Probably unloading the module before suspending should prevent this too.

from facetimehd.

hpe009 avatar hpe009 commented on August 26, 2024

@hobarrera Can you tell me how to do that? I have tried but I do not think I have done it right

from facetimehd.

slashrsm avatar slashrsm commented on August 26, 2024
modprobe -r facetimehd

from facetimehd.

hpe009 avatar hpe009 commented on August 26, 2024

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.

wvengen avatar wvengen commented on August 26, 2024

If you're on Ubuntu (and perhaps Debian), edit /etc/default/acpi-support and add facetimehd to its MODULES variable.

from facetimehd.

hpe009 avatar hpe009 commented on August 26, 2024

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.

patjak avatar patjak commented on August 26, 2024

@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.

hpe009 avatar hpe009 commented on August 26, 2024

@patjak Will do, added that line jsut in case.

from facetimehd.

patjak avatar patjak commented on August 26, 2024

@hpe009 Thanks

from facetimehd.

derjohn avatar derjohn commented on August 26, 2024

@patjak

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.

wvengen avatar wvengen commented on August 26, 2024

For Ubuntu we can use existing acpi-support functionality #37 (comment)

from facetimehd.

derjohn avatar derjohn commented on August 26, 2024

@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.

hpe009 avatar hpe009 commented on August 26, 2024

@wvengen That does not work I have tried.

from facetimehd.

wvengen avatar wvengen commented on August 26, 2024

@hpe009 thanks for reporting back, strange.
btw, the driver unloads/loads itself now at suspend/resume since b5e3e74

from facetimehd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.