我在一家商店购买了一台Logitech Wingman Extreme Digital操纵杆并在周围挖了一个旧的PCI声卡,它有一个Gameport端口
将声卡插入计算机并确认声卡正常工作(将声音输出到扬声器)后,我将操纵杆插入Gameport,Linux根本无法检测到操纵杆
“lspci”给出了声卡信息
05:06.0 Multimedia audio controller: C-Media Electronics Inc CMI8738/CMI8768 PCI Audio (rev 10)
我用“modprobe”加载“joydev”,“gameport”,“adi”,“ns558”,“snd_cmipci”和“analog”无济于事
“jstest / dev / input / jsX”,其中X为0到10,每次只给出“jstest:没有这样的设备或地址”
有没有人知道如何让这个设备在Linux中工作?我看过一些指南,但他们都给了我与上面尝试过的相同的步骤
系统信息
- 发行 - Manjaro
- 内核 - 4.9.13-1-MANJARO
编辑:这里是输出lspci -n -v -s 05:06.0
和aplay -l
05:06.0 0401: 13f6:0111 (rev 10)
Subsystem: 13f6:0111
Flags: bus master, stepping, medium devsel, latency 32, IRQ 20, NUMA node 0
I/O ports at ae00 [size=256]
Capabilities: [c0] Power Management version 2
Kernel driver in use: snd_cmipci
Kernel modules: snd_cmipci
sudo modprobe snd_cmipci joystick_port=1
什么都不做,也没有 joystick_port=ae00
这是输出 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738 [C-Media PCI DAC/ADC]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
编辑:输出 cat /proc/ioports
0000-0cf7 : PCI Bus 0000:00
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0061-0061 : PNP0800:00
0064-0064 : keyboard
0070-0073 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : PNP0C04:00
00f0-00ff : fpu
0170-0177 : 0000:00:14.1
0170-0177 : pata_atiixp
01f0-01f7 : 0000:00:14.1
01f0-01f7 : pata_atiixp
0220-0225 : pnp 00:00
0228-022f : pnp 00:01
022d-022e : it87
022d-022e : it87
0290-0294 : pnp 00:00
0376-0376 : 0000:00:14.1
0376-0376 : pata_atiixp
0378-037a : parport0
03c0-03df : vesafb
03f6-03f6 : 0000:00:14.1
03f6-03f6 : pata_atiixp
03f8-03ff : serial
040b-040b : pnp 00:01
04d0-04d1 : pnp 00:00
04d6-04d6 : pnp 00:01
0b00-0b0f : pnp 00:01
0b10-0b1f : pnp 00:01
0b20-0b3f : pnp 00:01
0c00-0c01 : pnp 00:01
0c14-0c14 : pnp 00:01
0c50-0c52 : pnp 00:01
0c6c-0c6d : pnp 00:01
0c6f-0c6f : pnp 00:01
0cd0-0cd1 : pnp 00:01
0cd2-0cd3 : pnp 00:01
0cd4-0cdf : pnp 00:01
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
4000-40fe : pnp 00:01
4000-4003 : ACPI PM1a_EVT_BLK
4004-4005 : ACPI PM1a_CNT_BLK
4008-400b : ACPI PM_TMR
4020-4027 : ACPI GPE0_BLK
4050-4050 : ACPI PM2_CNT_BLK
4100-411f : pnp 00:01
4210-4217 : pnp 00:01
a000-afff : PCI Bus 0000:05
ae00-aeff : 0000:05:06.0
b000-bfff : PCI Bus 0000:02
c000-cfff : PCI Bus 0000:01
ce00-ceff : 0000:01:00.0
d000-dfff : PCI Bus 0000:04
e000-efff : PCI Bus 0000:03
ee00-eeff : 0000:03:00.0
ee00-eeff : r8168
fa00-fa0f : 0000:00:14.1
fa00-fa0f : pata_atiixp
fb00-fb0f : 0000:00:11.0
fb00-fb0f : ahci
fc00-fc03 : 0000:00:11.0
fc00-fc03 : ahci
fd00-fd07 : 0000:00:11.0
fd00-fd07 : ahci
fe00-fe03 : 0000:00:11.0
fe00-fe03 : ahci
ff00-ff07 : 0000:00:11.0
ff00-ff07 : ahci
在做完之后modprobe snd_cmipci joystick_port=0x201
我实际上在dmseg中得到了这个[74167.823806] gameport gameport0: C-Media Gameport is pci0000:05:06.0/gameport0, io 0x201, speed 714kHz
No such file or directory
无论我尝试什么,jstest都会给出。虽然没有运气/dev/js*
,0x200
但我已经尝试并改变了游戏港0x207
在这一点上可以安全地假设操纵杆可能已经死了吗?有没有办法测试这个?
snd_cmipci
没有显示任何内容dmesg
。传递joystick_port=1
也没有显示dmesg
如何获得确切的I / O地址?