Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 udev 自动加载驱动 #2

Merged
merged 1 commit into from
Mar 7, 2017
Merged

Conversation

mangege
Copy link
Contributor

@mangege mangege commented Mar 7, 2017

十分感谢作者提供 rapoo v500 的 linux 驱动.

rmmod 等命令默认是需要 root 权限运行,非 root 用户使用 .bash_profile 方式运行会失败.

原理是利用 udev 插入指定硬件运行自定义脚本而实现的.

参考资料 http://askubuntu.com/questions/536746/commands-not-executing-in-shell-script-run-by-udev

@kinglongmee kinglongmee merged commit ab1e469 into kinglongmee:master Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants