请问可不可以,待机后只能通过电源键唤起系统?
Tofloor
poster avatar
oldfeel
deepin
2017-02-09 22:23
Author
家里有猫经常踩键盘唤起系统,所以想改为只能通过电源键唤起系统
Reply Favorite View the author
All Replies
avatar
南浦月
deepin
2017-02-09 22:59
#1
这个一般在BIOS里面设置
Reply View the author
avatar
yangbo
deepin
2017-02-09 23:18
#2
usb键盘?

cat /proc/acpi/wakeup看一看有哪些是enable的, 找到键盘对应的controller

然后echo disabled > /sys/devices/pcixxxxx/xxxxxx/power/wakeup应该就可以了
Reply View the author
avatar
南浦月
deepin
2017-02-09 23:26
#3
https://bbs.deepin.org/post/134798
usb键盘?

cat /proc/acpi/wakeup看一看有哪些是enable的, 找到键盘对应的controller

学习了~
Reply View the author
avatar
oldfeel
deepin
2017-02-10 03:40
#4
https://bbs.deepin.org/post/134798
usb键盘?

cat /proc/acpi/wakeup看一看有哪些是enable的, 找到键盘对应的controller
  1. oldfeel@pc:~/Downloads/mj/server/server$ cat /proc/acpi/wakeup
  2. Device        S-state          Status   Sysfs node
  3. PS2K          S3        *disabled
  4. PS2M          S3        *disabled
  5. UAR1          S4        *disabled  pnp:00:06
  6. RP01          S4        *disabled  pci:0000:00:1c.0
  7. PXSX          S4        *disabled
  8. RP02          S4        *disabled
  9. PXSX          S4        *disabled
  10. RP03          S4        *disabled  pci:0000:00:1c.2
  11. PXSX          S4        *enabled   pci:0000:03:00.0
  12. GLAN          S4        *disabled
  13. EHC1          S4        *enabled   pci:0000:00:1d.0
  14. EHC2          S4        *enabled   pci:0000:00:1a.0
  15. XHC          S4        *disabled
  16. HDEF          S4        *disabled  pci:0000:00:1b.0
  17. PEG0          S4        *disabled  pci:0000:00:01.0
  18. PEGP          S4        *disabled  pci:0000:01:00.0
  19. PEG1          S4        *disabled
  20. PEG2          S4        *disabled
Copy the Code

请问要关闭哪一个呢?
Reply View the author
avatar
oldfeel
deepin
2017-02-10 03:49
#5
https://bbs.deepin.org/post/134798
usb键盘?

cat /proc/acpi/wakeup看一看有哪些是enable的, 找到键盘对应的controller

谢谢,我关闭 EHC1 和 EHC2 后好了.
Reply View the author
avatar
oldfeel
deepin
2017-03-31 18:32
#6
https://bbs.deepin.org/post/134798
usb键盘?

cat /proc/acpi/wakeup看一看有哪些是enable的, 找到键盘对应的controller

重启电脑后就又可以被键盘/鼠标唤醒了,有没有办法能在重启后有效?
Reply View the author
avatar
yangbo
deepin
2017-04-01 20:45
#7
写个脚本启动的时候执行就可以了
Reply View the author
avatar
oldfeel
deepin
2017-08-19 02:47
#8
https://bbs.deepin.org/post/134798
写个脚本启动的时候执行就可以了

请问脚本写在哪里啊?
我写在 /etc/rc.local 里没有起到作用.
Reply View the author
avatar
湘巴佬儿
deepin
2017-08-19 03:10
#9
https://bbs.deepin.org/post/134798
usb键盘?

cat /proc/acpi/wakeup看一看有哪些是enable的, 找到键盘对应的controller

这种很人性化的功能,Deepin要是在系统里面搞一下该是多好呀!
所以我前几天也提了类似的建议,电源管理设置应该更细化一点。
Reply View the author
avatar
Dream
deepin
2017-08-19 04:51
#10
我的倒是用键盘唤醒不了,但是我想用键盘唤醒
Reply View the author