AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1745567

Ivan's questions

Martin Hope
Ivan
Asked: 2023-11-14 06:45:43 +0800 CST

无法将 xbox360 控制器连接到 Ubuntu 22.04

  • 5

我无法使用电缆将原始 Xbox 360 控制器连接到我的电脑。我正在尝试遵循本教程: https: //askubuntu.com/a/1438948 首先,我安装了 xboxdrv

sudo apt-add-repository ppa:rael-gc/ubuntu-xboxdrv

sudo apt-get update

sudo apt-get install ubuntu-xboxdrv

然后我通过编辑 /etc/modprobe.d/blacklist.conf 将 xpad 添加到黑名单然后我卸载模块sudo rmmod xpad 然后我删除jstest-gtk并重新安装它

sudo apt-get purge jstest-gtk

sudo apt-get install xboxdrv

sudo apt-get install jstest-gtk

/etc/default/xboxdrv并创建了一个包含以下文本的文件:

[xboxdrv]
silent = true

# controller 1
trigger-as-button = true
dpad-as-button = true
deadzone = 4000

# controller 2
next-controller = true
trigger-as-button = true
dpad-as-button = true
deadzone = 4000

# controller 3
next-controller = true
trigger-as-button = true
dpad-as-button = true
deadzone = 4000

# controller 4
next-controller = true
trigger-as-button = true
dpad-as-button = true
deadzone = 4000

[xboxdrv-daemon]
dbus = disabled

但是,当我运行 sudo xboxdrv 时,我得到以下输出:

xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/ 版权所有 © 2008-2011 Ingo Ruhnke [email protected] 根据 GNU GPL 版本 3 或更高版本授权http://gnu.org/licenses/gpl .html 该程序不附带任何保证。这是免费软件,欢迎您在一定条件下重新分发它;有关详细信息,请参阅文件复制。

- [ 错误 ] - - - - - - - - - - - - - - - - - - - - - - - --------- 找不到 Xbox 或 Xbox360 控制器

然后我尝试按照本教程进行操作:https://steamcommunity.com/app/221410/discussions/0/558748653738497361/ ?l=french&ctp=6 当我运行时evtest /dev/input/eventxx(我已尝试插入控制器的从 0 到 16 的所有事件中),什么也没有发生。

该lsusb命令给了我这个输出:

Bus 003 Device 017: ID 045e:028f Microsoft Corp. Xbox360 Wireless Controller
gamepad
  • 1 个回答
  • 50 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve