Code Monkey home page Code Monkey logo

Comments (6)

alvinpeters avatar alvinpeters commented on July 19, 2024

that's odd. that worked fine for me. prolly because Intel pushed some new stuff. checking this morning.

from archlinux-ipu6-webcam.

alvinpeters avatar alvinpeters commented on July 19, 2024

seeing that intel has pushed the newer branches into main that has the i2c_ljca fix. I am kinda optimistic that the hibernation hack is no longer needed. Doing some testing then making a PR. Give me around 5 hours lol

Also, if you mean that you can't wake up from just suspend. I don't know what broke it since it always works on s2idle suspend at least.

Edit: They haven't fixed hibernation :(

from archlinux-ipu6-webcam.

alvinpeters avatar alvinpeters commented on July 19, 2024

@zemen can you give me the output of cat /sys/power/mem_sleep? My XPS 13 Plus is suspending as [s2idle] and can't use any other options so wondering what you have.

Also, the camera is working fine after a hibernation for me without modifications to the script. I doubt this will work but can you remove the post stage from the hibernation script? The workaround should look like this:

stage=$1
op=$2

case $stage in
  pre)
    case $op in
      hibernate|hybrid-sleep)
        /usr/bin/modprobe -r i2c_ljca
        ;;
      suspend-then-hibernate)
        [ "$SYSTEMD_SLEEP_ACTION" = "hibernate" ] && /usr/bin/modprobe -r i2c_ljca
        ;;
    esac
    ;;
esac

from archlinux-ipu6-webcam.

alvinpeters avatar alvinpeters commented on July 19, 2024

Wait, I just reread the original issue on ivsc-driver again. It might turn out that you are having the literally same issue as this intel/ivsc-driver#32 (comment) . Go check it out and see if the logs match or something @zemen

from archlinux-ipu6-webcam.

alba4k avatar alba4k commented on July 19, 2024

Works perfectly for me. After waking up, the camera doesn't work for a couple of seconds (which is expected as the modules are still being loaded by the workaround). Then the led flashes for about half a second and the camera starts working again.

from archlinux-ipu6-webcam.

stefanpartheym avatar stefanpartheym commented on July 19, 2024

I'll close this one now du to inactivity and it seems to work for other people.
@zemen Please consider reopening, if necessary.

from archlinux-ipu6-webcam.

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.