编写命令 lsusb 会给我:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 045e:02a9 Microsoft Corp.
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 064e:3410 Suyin Corp.
Bus 001 Device 006: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
以下行是微软 PC 无线游戏接收器:
Bus 001 Device 004: ID 045e:02a9 Microsoft Corp.
当我输入命令 sudo xboxdrv 时,我得到以下信息:
> xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/ Copyright ©
> 2008-2011 Ingo Ruhnke <[email protected]> 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.
>
>
> -- [ ERROR ] ------------------------------------------------------ No Xbox or Xbox360 controller found
答案1
如果你像我一样,买了一个非常便宜的假适配器,我想这会对你有所帮助:
sudo xboxdrv --device-by-id 045e: 02a9 --type xbox360-wireless -l 6
sudo
我还没搞清楚如何启动。我认为有必要赋予用户启动权限。
也许,045e:02a9
你需要用 来代替 ,你可以用 命令来识别它lsusb
。