Disable buggy bluetooth driver before entering suspend
This commit is contained in:
부모
aa8513ba84
커밋
7b3be0453a
1개의 변경된 파일과 7개의 추가작업 그리고 0개의 파일을 삭제
|
|
@ -210,6 +210,13 @@ configuresuspendsettingsandwakeupsources()
|
|||
"1c19000.usb"
|
||||
);
|
||||
|
||||
// Temporary hack to disable Bluetooth driver that crashes on suspend 1/5th the time
|
||||
fprintf(stderr, "Disabling buggy Bluetooth driver\n");
|
||||
writefile(
|
||||
"/sys/bus/serial/drivers/hci_uart_h5/unbind",
|
||||
"serial0-0"
|
||||
);
|
||||
|
||||
// E.g. make sure we're using CRUST
|
||||
fprintf(stderr, "Flip mem_sleep setting to use crust\n");
|
||||
writefile("/sys/power/mem_sleep", "deep");
|
||||
|
|
|
|||
불러오는 중…
테이블 추가
Add a link
Reference in a new issue