dreamwhite / bugtracker

Bugtracker repository
GNU General Public License v3.0
1 stars 0 forks source link

[USB Mapping] Webcam stops working after sleep #15

Closed dreamwhite closed 3 years ago

dreamwhite commented 3 years ago

I'm opening this issue to keep an eye on this strange bug: after some (still need to figure out how many) sleep/wake cycles the internal webcam stops working, despite the IORegistry device tree for USB is untouched.

To fix you must reboot the machine and that's not the best idea in the world in my opinion.

Probably this problem is caused by the current port type definition in SSDT-3-xh_OEMBD as depicted below:

image

I'll make some tests by changing the port type definition from 0xFF to 0x00 and see if this problem is fixed or not

dreamwhite commented 3 years ago

Useful resources to give a read:

Mateo1234454545 commented 3 years ago

So, did you run the tests? Would be better with 0x00?

dreamwhite commented 3 years ago

So, did you run the tests? Would be better with 0x00?

I did some tests with the webcam USB port capability set to 0xFF and was able to reproduce the bug just 3/10 times. I suggest to change the USB connector to 0x00 as it seems more solid. Probably this is related due to the 0xFF hot-plug stuff which interferes with the nature of the webcam port itself