{"id":6578,"date":"2020-02-14T12:45:43","date_gmt":"2020-02-14T04:45:43","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6578"},"modified":"2020-05-05T14:18:13","modified_gmt":"2020-05-05T06:18:13","slug":"gpm","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/gpm","title":{"rendered":"gpm\u547d\u4ee4 – \u63d0\u4f9b\u6587\u5b57\u6a21\u5f0f\u4e0b\u7684\u6ed1\u9f20\u4e8b\u4ef6\u5904\u7406"},"content":{"rendered":"\n
gpm\u547d\u4ee4\u662flinux\u7684\u865a\u62df\u63a7\u5236\u53f0\u4e0b\u7684\u9f20\u6807\u670d\u52a1\u5668\uff0c\u7528\u4e8e\u5728\u865a\u62df\u63a7\u5236\u53f0\u4e0b\u5b9e\u73b0\u9f20\u6807\u590d\u5236\u548c\u7c98\u8d34\u6587\u672c\u7684\u529f\u80fd\u3002gpm\u547d\u4ee4\u9700\u8981\u5b89\u88c5\u5e76\u5f00\u542f\u76f8\u5173\u670d\u52a1\u624d\u80fd\u4f7f\u7528\u3002 <\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>gpm [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5b89\u88c5\u5e76\u5f00\u542fgpm\u670d\u52a1\uff1a<\/p>\n\n\n\n \u6307\u5b9a\u9f20\u6807\u8bbe\u5907\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u8bbe\u5b9a\u9f20\u6807\u7c7b\u578b\uff1a<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" gpm\u547d\u4ee4\u662flinux\u7684\u865a\u62df\u63a7\u5236\u53f0\u4e0b\u7684\u9f20\u6807\u670d\u52a1\u5668\uff0c\u7528\u4e8e\u5728\u865a\u62df\u63a7\u5236\u53f0\u4e0b\u5b9e\u73b0\u9f20\u6807\u590d\u5236\u548c\u7c98\u8d34\u6587\u672c\u7684\u529f\u80fd\u3002gpm\u547d\u4ee4\u9700 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6578"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6578"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6578\/revisions"}],"predecessor-version":[{"id":7471,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6578\/revisions\/7471"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u8bbe\u7f6e\u52a0\u901f\u503c<\/td><\/tr> -b<\/td> \u8bbe\u7f6e\u6ce2\u7279\u7387<\/td><\/tr> -B<\/td> \u8bbe\u7f6e\u9f20\u6807\u6309\u952e\u6b21\u5e8f<\/td><\/tr> -m<\/td> \u6307\u5b9a\u9f20\u6807\u8bbe\u5907\u6587\u4ef6<\/td><\/tr> -t<\/td> \u8bbe\u7f6e\u9f20\u6807\u7c7b\u578b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# yum install -y gpm*\n[root@linuxcool ~]# systemctl start gpm<\/pre>\n\n\n\n
[root@linuxcool ~]# gpm -m \/dev\/input\/mice<\/pre>\n\n\n\n
[root@linuxcool ~]# gpm -m \/dev\/input\/mice -t ps2<\/pre>\n\n\n\n