我在网上买了一个通用的DragonRise游戏板。但我无法让它在Ubuntu20.04LTS上工作。当它被正确地发现时:
$ lsusb
Bus 003 Device 008: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
以及:
$ dmesg
[62691.631653] usb 3-4: new low-speed USB device number 8 using xhci_hcd
[62691.787503] usb 3-4: New USB device found, idVendor=0079, idProduct=0006, bcdDevice= 1.01
[62691.787507] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[62691.787510] usb 3-4: Product: Generic USB Joystick
[62691.787512] usb 3-4: Manufacturer: NoName
[62692.383603] input: NoName Generic USB Joystick as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:0079:0006.0007/input/input29
[62692.447967] dragonrise 0003:0079:0006.0007: input,hidraw5: USB HID v1.01 Gamepad [NoName Generic USB Joystick] on usb-0000:00:14.0-4/input0
[62692.447969] dragonrise 0003:0079:0006.0007: no output reports found
[62692.447969] dragonrise 0003:0079:0006.0007: force feedback init failed
但该设备不可用:
cat /proc/bus/input/devices
[Nothing found about my gamepad]
ls也没有显示什么:(没有"js0")
$ ls /dev/input/
by-id event0 event10 event12 event14 event16 event18 event2 event4 event6 event8 mice mouse1
by-path event1 event11 event13 event15 event17 event19 event3 event5 event7 event9 mouse0 mouse2
另外,工具在启动时不会找到游戏垫。我安装了:“xserver-xorg-输入-操纵杆”、“操纵杆”(尝试过jscal)、“mod探针xpad”没有帮助,“游戏垫-工具”和"qjoypad“没有找到它。
FYI:我在Linux 5.10上:
$ uname -r
5.10.0-1023-oem
FYI:当检测到该装置时,它显然是连接的(红灯)。USB A连接是通过原来的戴尔USB-C到USB-A3.0适配器完成的,因为我只有USB-C端口(这可能是问题吗?)
FYI:我读过很多关于这个游戏垫的文章,但是没有发现任何有用的东西。
金融时报:这是产品链接
谢谢你读到这个,
发布于 2021-05-10 15:55:20
许多通用的USB游戏垫使用相同的ID (0079:0006),但有不同的按钮布局或支持不同的功能,这使得驱动程序很难支持。如果您可以链接到图片或产品页面为您的游戏垫,这将使其他用户更容易确定您有哪种设备。
dmesg
输出表明它试图加载龙舌兰司机,但遇到了一个错误。龙舌兰的驱动程序是为仿冒Playstation控制器设计的:
/*
* Force feedback support for DragonRise Inc. game controllers
*
* From what I have gathered, these devices are mass produced in China and are
* distributed under several vendors. They often share the same design as
* the original PlayStation DualShock controller.
*
* 0079:0006 "DragonRise Inc. Generic USB Joystick "
* - tested with a Tesun USB-703 game controller.
*
* Copyright (c) 2009 Richard Walmsley
*/
从dmesg
错误来看,您的设备似乎没有任何隆隆支持。如果是这样的话,驱动程序应该至少找到一个输出报告。如果您的游戏垫没有隆隆,它可能甚至不需要一个特殊的驱动程序,可以使用默认的hid输入驱动程序。
尝试卸载dragonrise
内核模块并重新连接游戏垫。
https://askubuntu.com/questions/1337158
复制相似问题