Gamepad, caricarlo con altro Modulo.

Nessuna risposta
Ritratto di John_Tempesta
John_Tempesta
(Geek)
Offline
Geek
Iscritto: 17/11/2007
Messaggi: 82

Buongiorno,
In questo periodo di quarantena, dopo un paio d'anni, volevo rigiocare a vecchi giochi PSX. Ho ripreso in mano dei Joypad PSX originali, e inseriti in uno di quegli switch con singola USB ma con DUE PORTE.

Fino a qualche anno fa, riuscivo a giocare senza alcun tipo di configurazione con due giocatori; da qualche giorno, che ho riprovato a giocare ho qualche difficoltà a far funzionare a modo i due Joypad:

La porta 1 dello switch, funziona regolarmente;
la porta 2, inserendo il controller 2, funziona solo la parte sinistra (le croci di movimento) e interagiscono come se fossero il controller 1.

la prima cosa che ho notato, è che effettivamente, mi crea solamente un joypad, il js0: ls /dev/input
by-id  by-path  event0  event1  event10  event11  event12  event13  event14  event15  event16  event17  event2  event3  event4  event5  event6  event7  event8  event9  js0  mice  mouse0

e non ho un secondo joypad riconosciuto.

lsusb
Bus 007 Device 003: ID 0e8f:1006 GreenAsia Inc.

dmesg

[  883.673874] usb 7-3: new low-speed USB device number 3 using ohci-pci
[  883.872063] usb 7-3: New USB device found, idVendor=0e8f, idProduct=1006, bcdDevice= 0.90
[  883.872068] usb 7-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  883.872070] usb 7-3: Product: 4Axes 12Keys GamePad 
[  883.872072] usb 7-3: Manufacturer: GreenAsia Electronics 
[  883.884248] input: GreenAsia Electronics  4Axes 12Keys GamePad  as /devices/pci0000:00/0000:00:12.0/usb7/7-3/7-3:1.0/0003:0E8F:1006.0004/input/input21
[  883.884526] hid-generic 0003:0E8F:1006.0004: input,hidraw3: USB HID v1.00 Joystick [GreenAsia Electronics  4Axes 12Keys GamePad ] on usb-0000:00:12.0-3/input0

lsmod

Module                  Size  Used by
rfcomm                 86016  32
fuse                  122880  3
hidp                   28672  1
cmac                   16384  2
bnep                   24576  2
snd_hda_codec_hdmi     57344  1
nls_ascii              16384  1
nvidia_drm             49152  2
nls_cp437              20480  1
vfat                   20480  1
nvidia_modeset       1114112  3 nvidia_drm
fat                    86016  1 vfat
nvidia              20422656  85 nvidia_modeset
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
joydev                 24576  0
edac_mce_amd           28672  0
btintel                24576  1 btusb
kvm_amd               106496  0
bluetooth             647168  73 btrtl,hidp,btintel,btbcm,bnep,btusb,rfcomm
ccp                    98304  1 kvm_amd
rng_core               16384  1 ccp
kvm                   749568  1 kvm_amd
snd_hda_codec_realtek   122880  1
hid_generic            16384  0
irqbypass              16384  1 kvm
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
crct10dif_pclmul       16384  0
jitterentropy_rng      16384  0
drm_kms_helper        208896  1 nvidia_drm
crc32_pclmul           16384  0
wmi_bmof               16384  0
drbg                   28672  1
eeepc_wmi              16384  0
asus_wmi               32768  1 eeepc_wmi
evdev                  28672  15
ansi_cprng             16384  0
sparse_keymap          16384  1 asus_wmi
snd_hda_intel          45056  4
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
efi_pstore             16384  0
usbhid                 57344  0
ecdh_generic           24576  3 bluetooth
hid                   135168  3 hidp,usbhid,hid_generic
rfkill                 28672  5 asus_wmi,bluetooth
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
drm                   495616  5 drm_kms_helper,nvidia_drm
ghash_clmulni_intel    16384  0
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               114688  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
snd                    94208  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
ipmi_devintf           20480  0
sp5100_tco             16384  0
soundcore              16384  1 snd
pcspkr                 16384  0
ipmi_msghandler        65536  2 ipmi_devintf,nvidia
efivars                20480  1 efi_pstore
fam15h_power           16384  0
sg                     36864  0
wmi                    28672  2 asus_wmi,wmi_bmof
pcc_cpufreq            16384  0
video                  45056  1 asus_wmi
acpi_cpufreq           24576  0
button                 16384  0
k10temp                16384  0
it87                   61440  0
hwmon_vid              16384  1 it87
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                57344  3 parport_pc,lp,ppdev
efivarfs               16384  1
ip_tables              28672  0
x_tables               45056  1 ip_tables
autofs4                49152  2
ext4                  741376  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
crc32c_generic         16384  0
fscrypto               32768  1 ext4
ecb                    16384  0
sd_mod                 61440  5
ohci_pci               16384  0
crc32c_intel           24576  4
ohci_hcd               61440  1 ohci_pci
ehci_pci               16384  0
aesni_intel           200704  4
ehci_hcd               94208  1 ehci_pci
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
xhci_pci               16384  0
ahci                   40960  4
libahci                40960  1 ahci
xhci_hcd              266240  1 xhci_pci
r8169                  90112  0
libata                270336  2 libahci,ahci
realtek                20480  0
i2c_piix4              24576  0
libphy                 77824  3 r8169,realtek
usbcore               294912  8 xhci_hcd,ohci_hcd,ehci_pci,usbhid,ehci_hcd,btusb,xhci_pci,ohci_pci
scsi_mod              249856  3 sd_mod,libata,sg
usb_common             16384  1 usbcore

Fino ad un paio d'anni fa, inserivo questo switch con i due joypad, dall'emulatore settavo i tasti e andava tutto senza alcuna fatica. Adesso, invece, pare ricevere un solo Joypad.

Mi chiedevo:
pare che venga caricato con HID, ma non è che magari debba essere caricato con altri moduli? E se si, come posso provare con i singoli moduli a caricare solo lo switch? (volevo provare joydev, gameport, analog, ecc. ecc.)

Aggiungo anche che jstest, mi vede solo una porta con un joypad. Praticamente è come se le vedesse insieme.

Grazie Mille.