webcam in Oryx pro not delected after wake from suspend

Started by mahesh, Oct 28, 2023, 07:33 AM

Previous topic - Next topic

mahesh

Hi, as the title said the webcam is not detected (e.g cheese and skype report there is no webcam) after laptop wakes from sleep (always detected in fresh session) Press fn + f10 it works again.

Before suspend
Code:
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f2:b5a7 Chicony Electronics Co., Ltd
Bus 001 Device 004: ID 8087:0a2b Intel Corp.
Bus 001 Device 003: ID 1c7a:0603 LighTuning Technology Inc.
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
After wake from suspend
Code:
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp.
Bus 001 Device 003: ID 1c7a:0603 LighTuning Technology Inc.
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The second device is missing.

OS is Ubuntu 16.04.3, it has a gtx1070 with Nvidia driver 387.26

Is there a way to modify the script from this thread to wake up the webcam?

Thanks.