{"id":8732,"date":"2020-09-14T16:58:40","date_gmt":"2020-09-14T08:58:40","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8732"},"modified":"2020-09-22T21:05:22","modified_gmt":"2020-09-22T13:05:22","slug":"add_drv","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/add_drv","title":{"rendered":"add_drv\u547d\u4ee4 – \u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u5230\u7cfb\u7edf\u4e2d"},"content":{"rendered":"\n
add_drv\u547d\u4ee4\u7528\u4e8e\u901a\u77e5\u7cfb\u7edf\u65b0\u5b89\u88c5\u7684\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u3002\u7cfb\u7edf\u4e2d\u7684\u6bcf\u4e2a\u8bbe\u5907\u90fd\u6709\u4e00\u4e2a\u4e0e\u4e4b\u76f8\u5173\u7684\u540d\u79f0\u3002\u8fd9\u4e2a\u540d\u79f0\u7531\u8bbe\u5907\u7684name\u5c5e\u6027\u8868\u793a\u3002\u540c\u6837\uff0c\u8bbe\u5907\u4e5f\u53ef\u80fd\u6709\u4e00\u4e2a\u4e0e\u4e4b\u76f8\u5173\u8054\u7684\u9a71\u52a8\u7a0b\u5e8f\u540d\u79f0\u5217\u8868\u3002\u8fd9\u4e2a\u5217\u8868\u7531\u8bbe\u5907\u7684\u517c\u5bb9\u5c5e\u6027\u8868\u793a\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>add_drv [\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 \u4f7f\u7528add_drv\u6dfb\u52a0buffer\u9a71\u52a8\uff1a<\/p>\n\n\n\n \u4f7f\u7528add_drv\u6dfb\u52a0buffer\u9a71\u52a8\u5e76\u663e\u793a\u8be6\u7ec6\u7684\u8f93\u51fa\u4fe1\u606f\uff1a<\/p>\n\n\n\n \u5c06\u9a71\u52a8\u7a0b\u5e8f\u6dfb\u52a0\u5230\u7cfb\u7edf\uff1a<\/p>\n\n\n\n add_drv\u547d\u4ee4\u7528\u4e8e\u901a\u77e5\u7cfb\u7edf\u65b0\u5b89\u88c5\u7684\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u3002\u7cfb\u7edf\u4e2d\u7684\u6bcf\u4e2a\u8bbe\u5907\u90fd\u6709\u4e00\u4e2a\u4e0e\u4e4b\u76f8\u5173\u7684\u540d\u79f0\u3002\u8fd9\u4e2a\u540d\u79f0\u7531\u8bbe\u5907\u7684n […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8732"}],"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=8732"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8732\/revisions"}],"predecessor-version":[{"id":8787,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8732\/revisions\/8787"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-v<\/td> \u663e\u793a\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr> -p<\/td> \u6307\u5b9a\u8bbe\u5907\u7684\u5b89\u5168\u7b56\u7565<\/td><\/tr> -u<\/td> \u5c06\u9a71\u52a8\u7a0b\u5e8f\u6dfb\u52a0\u5230\u7cfb\u7edf\u91cc<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# add_drv buffer<\/pre>\n\n\n\n
[root@linuxcool ~]# add_drv -v buffer<\/pre>\n\n\n\n
[root@linuxcool ~]# add_drv -u buffer<\/pre>\n","protected":false},"excerpt":{"rendered":"