我有一个 USB 秤,一个 USB HID。目前,当它插入时,权限只允许超级用户访问它。如何配置 udev 以允许任何人访问此设备?我有供应商和产品 ID,但我想根据 HID 类型来匹配它。
现在,我很难找到任何适用于此的现有规则(我在/lib/udev/rules.d和 中搜索了“hidraw” /etc/udev/rules.d,等等)。
我无法让我的 Xbox 控制器工作。它没有出现在jstest. 任何人都可以帮忙吗?当我xboxdrv在终端上输入时,这就是我得到的:
:user@ChrUbuntu:~$ xboxdrv
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de>
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain
conditions; see the file COPYING for details.
Controller: Power A Mini Pro Elite Glow
Vendor/Product: 24c6:5300
USB Path: 002:036
Controller Type: Xbox360
-- [ ERROR ] ------------------------------------------------------
USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS
Run Code Online (Sandbox Code Playgroud)