-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hibernate workaround breaks camera on wake up #31
Comments
that's odd. that worked fine for me. prolly because Intel pushed some new stuff. checking this morning. |
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 :( |
@zemen can you give me the output of 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 |
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 |
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. |
I'll close this one now du to inactivity and it seems to work for other people. |
I tried to install the driver with
./install.sh -as
on Thinkpad carbon X1 gen 10. The workaround indeed helps to wake up without freeze after hibernation, then driver loads and there are no errors in journal. However neither gstreamer nor v4l2-relayd doesn't work until next reboot.Another issue I found is that suspend(which is triggered on my laptop on lid close) is not supported in workaround.
The text was updated successfully, but these errors were encountered: