Solved [Résolu] JUYAO dual arcade
-
Bonjour pas bien tu aurais dû vérifier la compatibilité du matériel. je vais partir sur le fait que tu as lancé la configuration manette dans emulationstation via un clavier branché ? Si tu as la possibilité de te passer du controleur usb, il est préférable d utiliser directement les gpio. Notice de branchement : https://github.com/digitalLumberjack/recalbox-os/wiki/Notice-(FR)#g---boutons-sur-gpio Ensuite il suffit d'activer les pilotes dans le fichier recalbox.conf il faut retirer les points virgules devant les deux lignes et mettre 1 à la place de 0 pour activer le pilote.
# ------------ E - GPIO Controllers ------------ # ## If one of the enable_[controller] is set to 1, set the other to 0 ## GPIO Controllers ## enable controllers on GPIO (mk_arcard_joystick_rpi) enable_mk_gpio=1 ## mk_gpio arguments (map=1 for only one gpio controller) mk_gpio_args=map=1,2
Pour tester ensuite : https://github.com/digitalLumberjack/recalbox-os/wiki/Tester-votre-joystick-avec-jstest-(FR)
ce périphérique sera t il inclu dans la prochaine version du noyau ?
Il faut ouvrir une issue sur github pour que l'on se penche dessus mais si c'est du matériel exotique et peu commun je ne pense pas qu'il soit intégré. Le contrôleur conseillé à l'avenir sera le xi-mo usb de smallcab qui devrait être compatible dans la prochaine realase 3.3.0 et ceux pour 2 joueurs mais ça reste à confirmer.
Avez vous besoin de plus d’informations (photo ou autre pour pouvoir répondre ?)
peut être oui photos, poste les deux rapports de dmesg avant et après branchement du controleur usb : https://github.com/digitalLumberjack/recalbox-os/wiki/Dépannage-dmesg-output--(FR)
-
Merci de ta réponse et de la célérité de cette dernière ;D Pour la compatibilité, encore aurait il fallu faire connaissance avec la distribution et le site avant que mon frêre ne commande : c'est un salon en Belgique avec une démo de la bête qui l'a convaincu oui, tu vois juste : il y a effectivement clavier/souris branché (d'ailleur si des gens cherche une solution idéale: je n'en suis pas loin avec un clavier boulanger avec touchpad intégré aux dimensions ridicules, pour 29€!) et c'est via la configuration de manette que nous nous rendons compte que rien n'est détecté (alors qu'avec des manettes xbox360, c'est du plug & play) Pour le GPIO, nous allons regarder, mais l'objectif est de monter une borne d'arcade la plus fidèle possible (avec en plus un peu d'émulation console), donc pour un joueur : joystick + 8 boutons + start + select + home + coin ... ça donne 12 boutons par joueurs : impossible de cabler ça sur le GPIO. Pour plus d'explication: mon frère et moi sommes des trentenaires (euh... même un peu plus ^^) nostalgiques avec la ferme intention de transmettre ça à nos enfants / neveux. bref: le gpio en solution de secoure, pourquoi pas, mais ça n'est pas l'objectif Pour la suite, tu indiques qu'il faut ouvrir une issue sur github : ok, on rassemble le max d'info et on ouvre. Pour les photos, elles sont ci jointes (le circuit est imprimé en bi-face, mais je n'ai pris que le haut, il n'y a aucune inscription ni composant au verso). Je doute que le matériel soit si exotique car il est reconnu directement par windows, il doit donc au moins respecter une "norme" quelconque). de plus la livraison est extrêmement soignée et pré-câblée avec les bonnes tailles de cosses, etc etc... bon la doc n'est pas très claire mais le mandarin et moi, ça fait deux pour les logs : **************************************************************************************** DMESG avant branchement du contrôleur : # dmesg [ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.19.2-v7 (matthieu@sd-69673) (gcc version 4.9.2 (Buildroot 2015.05-git-g2a969e7-dirty) ) #1 SMP PREEMPT Tue Mar 24 00:17:48 CET 2015 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: BCM2709 [ 0.000000] cma: Reserved 8 MiB at 0x1e800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 126976 [ 0.000000] free_area_init_node: node 0, pgdat 80ac2280, node_mem_map 9e396000 [ 0.000000] Normal zone: 1116 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 126976 pages, LIFO batch:31 [ 0.000000] [bcm2709_smp_init_cpus] enter (8640->f3003010) [ 0.000000] [bcm2709_smp_init_cpus] ncores=4 [ 0.000000] PERCPU: Embedded 11 pages/cpu @9e366000 s12672 r8192 d24192 u45056 [ 0.000000] pcpu-alloc: s12672 r8192 d24192 u45056 alloc=114096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125860 [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1776 bcm2708_fb.fbheight=952 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5ff6a4a7 smsc95xx.macaddr=B8:27:EB:F6:A4:A7 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty3 loglevel=3 elevator=deadline vt.global_cursor_default=0 logo.nologo root=/dev/mmcblk0p6 rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 482784K/507904K available (7904K kernel code, 451K rwdata, 2192K rodata, 484K init, 777K bss, 16928K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0x9f800000 - 0xff000000 (1528 MB) [ 0.000000] lowmem : 0x80000000 - 0x9f000000 ( 496 MB) [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB) [ 0.000000] .text : 0x80008000 - 0x809e44c8 (10098 kB) [ 0.000000] .init : 0x809e5000 - 0x80a5e000 ( 484 kB) [ 0.000000] .data : 0x80a5e000 - 0x80acec74 ( 452 kB) [ 0.000000] .bss : 0x80acec74 - 0x80b91164 ( 778 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:608 [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt). [ 0.000014] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns [ 0.000036] Switching to timer-based delay loop, resolution 52ns [ 0.000313] Console: colour dummy device 80x30 [ 0.000539] console [tty3] enabled [ 0.000569] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.000595] pid_max: default: 32768 minimum: 301 [ 0.001018] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001040] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002341] Initializing cgroup subsys memory [ 0.002391] Initializing cgroup subsys devices [ 0.002420] Initializing cgroup subsys freezer [ 0.002459] Initializing cgroup subsys blkio [ 0.002546] CPU: Testing write buffer coherency: ok [ 0.002631] ftrace: allocating 25269 entries in 75 pages [ 0.064609] missing device node for CPU 0 [ 0.064650] missing device node for CPU 1 [ 0.064661] missing device node for CPU 2 [ 0.064672] missing device node for CPU 3 [ 0.064695] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00 [ 0.064712] [bcm2709_smp_prepare_cpus] enter [ 0.064856] Setting up static identity map for 0x72aa00 - 0x72aa58 [ 0.124627] [bcm2709_boot_secondary] cpu:1 started (0) 17 [ 0.125024] [bcm2709_secondary_init] enter cpu:1 [ 0.125083] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01 [ 0.144584] [bcm2709_boot_secondary] cpu:2 started (0) 18 [ 0.144895] [bcm2709_secondary_init] enter cpu:2 [ 0.144931] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02 [ 0.164665] [bcm2709_boot_secondary] cpu:3 started (0) 18 [ 0.164906] [bcm2709_secondary_init] enter cpu:3 [ 0.164943] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03 [ 0.165043] Brought up 4 CPUs [ 0.165071] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.165082] CPU: All CPU(s) started in SVC mode. [ 0.166112] devtmpfs: initialized [ 0.186178] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.187652] pinctrl core: initialized pinctrl subsystem [ 0.188213] regulator-dummy: no parameters [ 0.188901] NET: Registered protocol family 16 [ 0.194777] DMA: preallocated 4096 KiB pool for atomic coherent allocations [ 0.224444] cpuidle: using governor ladder [ 0.254475] cpuidle: using governor menu [ 0.255048] bcm2709.uart_clock = 3000000 [ 0.255091] of_platform_populate failed: -22 [ 0.257581] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.257597] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.257639] mailbox: Broadcom VideoCore Mailbox driver [ 0.257751] bcm2708_vcio: mailbox at f300b880 [ 0.258120] bcm_power: Broadcom power driver [ 0.258138] bcm_power_open() -> 0 [ 0.258150] bcm_power_request(0, [ 0.758815] bcm_mailbox_read -> 00000080, 0 [ 0.758829] bcm_power_request -> 0 [ 0.758968] Serial: AMBA PL011 UART driver [ 0.759108] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3 [ 0.837556] SCSI subsystem initialized [ 0.838024] usbcore: registered new interface driver usbfs [ 0.838135] usbcore: registered new interface driver hub [ 0.838289] usbcore: registered new device driver usb [ 0.838964] Advanced Linux Sound Architecture Driver Initialized. [ 0.839904] Bluetooth: Core ver 2.20 [ 0.839972] NET: Registered protocol family 31 [ 0.839986] Bluetooth: HCI device and connection manager initialized [ 0.840020] Bluetooth: HCI socket layer initialized [ 0.840042] Bluetooth: L2CAP socket layer initialized [ 0.840134] Bluetooth: SCO socket layer initialized [ 0.840740] cfg80211: Calling CRDA to update world regulatory domain [ 0.841996] Switched to clocksource arch_sys_counter [ 0.882234] FS-Cache: Loaded [ 0.882616] CacheFiles: Loaded [ 0.898120] NET: Registered protocol family 2 [ 0.899264] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.899354] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.899460] TCP: Hash tables configured (established 4096 bind 4096) [ 0.899539] TCP: reno registered [ 0.899563] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.899605] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.899892] NET: Registered protocol family 1 [ 0.900481] RPC: Registered named UNIX socket transport module. [ 0.900500] RPC: Registered udp transport module. [ 0.900511] RPC: Registered tcp transport module. [ 0.900523] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.901436] bcm2708_dma: DMA manager at f3007000 [ 0.901578] bcm2708_gpio: bcm2708_gpio_probe 80a8a568 [ 0.902395] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB) [ 0.904585] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.904813] audit: initializing netlink subsys (disabled) [ 0.904877] audit: type=2000 audit(0.869:1): initialized [ 0.922943] DLM installed [ 0.925729] FS-Cache: Netfs 'nfs' registered for caching [ 0.926748] NFS: Registering the id_resolver key type [ 0.926836] Key type id_resolver registered [ 0.926849] Key type id_legacy registered [ 0.927903] ntfs: driver 2.1.31 [Flags: R/W]. [ 0.928822] fuse init (API version 7.23) [ 0.932363] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.932558] io scheduler noop registered [ 0.932585] io scheduler deadline registered (default) [ 0.932965] io scheduler cfq registered [ 0.934623] BCM2708FB: allocated DMA memory dec00000 [ 0.934673] BCM2708FB: allocated DMA channel 0 @ f3007000 [ 0.962699] Console: switching to colour frame buffer device 222x59 [ 0.981254] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver [ 0.981781] uart-pl011 dev:f1: no DMA platform data [ 0.982438] vc-cma: Videocore CMA driver [ 0.982452] vc-cma: vc_cma_base = 0x00000000 [ 0.982464] vc-cma: vc_cma_size = 0x00000000 (0 MiB) [ 0.982476] vc-cma: vc_cma_initial = 0x00000000 (0 MiB) [ 0.995865] brd: module loaded [ 1.002712] loop: module loaded [ 1.003095] vchiq: vchiq_init_state: slot_zero = 0x9e800000, is_master = 0 [ 1.003952] Loading iSCSI transport class v2.0-870. [ 1.004808] usbcore: registered new interface driver cdc_ether [ 1.004952] usbcore: registered new interface driver smsc95xx [ 1.005020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.005042] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.005097] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.205437] Core Release: 2.80a [ 1.205458] Setting default values for core params [ 1.205504] Finished setting default values for core params [ 1.405927] Using Buffer DMA mode [ 1.405943] Periodic Transfer Interrupt Enhancement - disabled [ 1.405955] Multiprocessor Interrupt Enhancement - disabled [ 1.405967] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 1.405984] Dedicated Tx FIFOs mode [ 1.406426] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0x9ec14000 dma = 0xdec14000 len=9024 [ 1.406465] FIQ FSM acceleration enabled for : [ 1.406465] Non-periodic Split Transactions [ 1.406465] Periodic Split Transactions [ 1.406465] High-Speed Isochronous Endpoints [ 1.406511] dwc_otg: Microframe scheduler enabled [ 1.406600] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80476b74 [ 1.406621] WARN::hcd_init_fiq:413: FIQ ASM at 0x80476ee4 length 36 [ 1.406641] WARN::hcd_init_fiq:438: MPHI regs_base at 0x9f80a000 [ 1.406670] dwc_otg bcm2708_usb: DWC OTG Controller [ 1.406720] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1 [ 1.406772] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000 [ 1.406828] Init: Port Power? op_state=1 [ 1.406839] Init: Power Port (0) [ 1.407143] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.407164] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.407181] usb usb1: Product: DWC OTG Controller [ 1.407198] usb usb1: Manufacturer: Linux 3.19.2-v7 dwc_otg_hcd [ 1.407214] usb usb1: SerialNumber: bcm2708_usb [ 1.408342] hub 1-0:1.0: USB hub found [ 1.408411] hub 1-0:1.0: 1 port detected [ 1.409140] dwc_otg: FIQ enabled [ 1.409157] dwc_otg: NAK holdoff enabled [ 1.409168] dwc_otg: FIQ split-transaction FSM enabled [ 1.409209] Module dwc_common_port init [ 1.409770] mousedev: PS/2 mouse device common for all mice [ 1.410997] Bluetooth: Virtual HCI driver ver 1.5 [ 1.411227] Bluetooth: HCI UART driver ver 2.2 [ 1.411244] Bluetooth: HCI H4 protocol initialized [ 1.411256] Bluetooth: HCI BCSP protocol initialized [ 1.411267] Bluetooth: HCILL protocol initialized [ 1.411277] Bluetooth: HCIATH3K protocol initialized [ 1.411289] Bluetooth: HCI Three-wire UART (H5) protocol initialized [ 1.411428] usbcore: registered new interface driver bcm203x [ 1.411553] usbcore: registered new interface driver bpa10x [ 1.411678] usbcore: registered new interface driver bfusb [ 1.411818] usbcore: registered new interface driver btusb [ 1.411842] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 1.412121] usbcore: registered new interface driver ath3k [ 1.412450] bcm2835-cpufreq: min=600000 max=900000 [ 1.425534] Driver 'mmcblk' needs updating - please use bus_type methods [ 1.425592] sdhci: Secure Digital Host Controller Interface driver [ 1.425600] sdhci: Copyright(c) Pierre Ossman [ 1.425744] DMA channels allocated for the MMC driver [ 1.462108] Load BCM2835 MMC driver [ 1.462246] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.462626] ledtrig-cpu: registered to indicate activity on CPUs [ 1.462747] hidraw: raw HID events driver (C) Jiri Kosina [ 1.467377] usbcore: registered new interface driver usbhid [ 1.467386] usbhid: USB HID core driver [ 1.467865] TCP: cubic registered [ 1.467882] Initializing XFRM netlink socket [ 1.476199] NET: Registered protocol family 10 [ 1.480684] sit: IPv6 over IPv4 tunneling driver [ 1.481548] NET: Registered protocol family 17 [ 1.481729] Bluetooth: RFCOMM TTY layer initialized [ 1.481761] Bluetooth: RFCOMM socket layer initialized [ 1.481791] Bluetooth: RFCOMM ver 1.11 [ 1.481815] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 1.481831] Bluetooth: HIDP socket layer initialized [ 1.482459] sctp: Hash tables configured (established 16384 bind 16384) [ 1.483021] Key type dns_resolver registered [ 1.483449] Registering SWP/SWPB emulation handler [ 1.484254] registered taskstats version 1 [ 1.484477] vc-sm: Videocore shared memory driver [ 1.484494] [vc_sm_connected_init]: start [ 1.485088] [vc_sm_connected_init]: end - returning 0 [ 1.487371] ALSA device list: [ 1.487387] #0: bcm2835 ALSA [ 1.488038] Waiting for root device /dev/mmcblk0p6... [ 1.521724] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.525262] mmc0: new high speed SDHC card at address aaaa [ 1.525744] mmcblk0: mmc0:aaaa SL32G 28.7 GiB [ 1.529722] mmcblk0: p1 p2 < p5 p6 p7 > p3 [ 1.599768] EXT4-fs (mmcblk0p6): couldn't mount as ext3 due to feature incompatibilities [ 1.600350] EXT4-fs (mmcblk0p6): couldn't mount as ext2 due to feature incompatibilities [ 1.602161] Indeed it is in host mode hprt0 = 00021501 [ 1.782065] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 1.782249] Indeed it is in host mode hprt0 = 00001101 [ 1.982300] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 [ 1.982316] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.983161] hub 1-1:1.0: USB hub found [ 1.983262] hub 1-1:1.0: 5 ports detected [ 2.262079] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 2.362264] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 [ 2.362279] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.364961] smsc95xx v1.0.4 [ 2.425409] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f6:a4:a7 [ 2.502076] usb 1-1.4: new low-speed USB device number 4 using dwc_otg [ 2.635342] usb 1-1.4: New USB device found, idVendor=04b4, idProduct=fef3 [ 2.635358] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.635369] usb 1-1.4: Product: CY4672 PRoC LP RDK Bridge [ 2.635380] usb 1-1.4: Manufacturer: Device [ 2.666297] input: Device CY4672 PRoC LP RDK Bridge as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:04B4:FEF3.0001/input/input0 [ 2.722762] hid-generic 0003:04B4:FEF3.0001: input,hidraw0: USB HID v1.11 Mouse [Device CY4672 PRoC LP RDK Bridge] on usb-bcm2708_usb-1.4/input0 [ 2.736947] input: Device CY4672 PRoC LP RDK Bridge as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:04B4:FEF3.0002/input/input1 [ 2.792411] hid-generic 0003:04B4:FEF3.0002: input,hidraw1: USB HID v1.11 Keyboard [Device CY4672 PRoC LP RDK Bridge] on usb-bcm2708_usb-1.4/input1 [ 4.146619] EXT4-fs (mmcblk0p6): recovery complete [ 4.148240] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null) [ 4.148303] VFS: Mounted root (ext4 filesystem) on device 179:6. [ 4.151219] devtmpfs: mounted [ 4.151812] Freeing unused kernel memory: 484K (809e5000 - 80a5e000) [ 4.310816] EXT4-fs (mmcblk0p6): re-mounted. Opts: data=ordered [ 4.336683] FAT-fs (mmcblk0p7): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 4.339929] FAT-fs (mmcblk0p5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 4.594912] udevd[91]: starting version 2.1.1 [ 4.620232] random: udevd urandom read with 97 bits of entropy available [ 5.360506] random: nonblocking pool is initialized [ 8.724478] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 8.724749] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 10.240058] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 10.241062] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 16.650707] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 16.744541] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 18.291709] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 **************************************************************************************** DMESG après branchement du contrôleur : # dmesg [ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.19.2-v7 (matthieu@sd-69673) (gcc version 4.9.2 (Buildroot 2015.05-git-g2a969e7-dirty) ) #1 SMP PREEMPT Tue Mar 24 00:17:48 CET 2015 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: BCM2709 [ 0.000000] cma: Reserved 8 MiB at 0x1e800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 126976 [ 0.000000] free_area_init_node: node 0, pgdat 80ac2280, node_mem_map 9e396000 [ 0.000000] Normal zone: 1116 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 126976 pages, LIFO batch:31 [ 0.000000] [bcm2709_smp_init_cpus] enter (8640->f3003010) [ 0.000000] [bcm2709_smp_init_cpus] ncores=4 [ 0.000000] PERCPU: Embedded 11 pages/cpu @9e366000 s12672 r8192 d24192 u45056 [ 0.000000] pcpu-alloc: s12672 r8192 d24192 u45056 alloc=114096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125860 [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1776 bcm2708_fb.fbheight=952 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5ff6a4a7 smsc95xx.macaddr=B8:27:EB:F6:A4:A7 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty3 loglevel=3 elevator=deadline vt.global_cursor_default=0 logo.nologo root=/dev/mmcblk0p6 rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 482784K/507904K available (7904K kernel code, 451K rwdata, 2192K rodata, 484K init, 777K bss, 16928K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0x9f800000 - 0xff000000 (1528 MB) [ 0.000000] lowmem : 0x80000000 - 0x9f000000 ( 496 MB) [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB) [ 0.000000] .text : 0x80008000 - 0x809e44c8 (10098 kB) [ 0.000000] .init : 0x809e5000 - 0x80a5e000 ( 484 kB) [ 0.000000] .data : 0x80a5e000 - 0x80acec74 ( 452 kB) [ 0.000000] .bss : 0x80acec74 - 0x80b91164 ( 778 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:608 [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt). [ 0.000014] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns [ 0.000036] Switching to timer-based delay loop, resolution 52ns [ 0.000313] Console: colour dummy device 80x30 [ 0.000539] console [tty3] enabled [ 0.000569] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.000595] pid_max: default: 32768 minimum: 301 [ 0.001018] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001040] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002341] Initializing cgroup subsys memory [ 0.002391] Initializing cgroup subsys devices [ 0.002420] Initializing cgroup subsys freezer [ 0.002459] Initializing cgroup subsys blkio [ 0.002546] CPU: Testing write buffer coherency: ok [ 0.002631] ftrace: allocating 25269 entries in 75 pages [ 0.064609] missing device node for CPU 0 [ 0.064650] missing device node for CPU 1 [ 0.064661] missing device node for CPU 2 [ 0.064672] missing device node for CPU 3 [ 0.064695] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00 [ 0.064712] [bcm2709_smp_prepare_cpus] enter [ 0.064856] Setting up static identity map for 0x72aa00 - 0x72aa58 [ 0.124627] [bcm2709_boot_secondary] cpu:1 started (0) 17 [ 0.125024] [bcm2709_secondary_init] enter cpu:1 [ 0.125083] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01 [ 0.144584] [bcm2709_boot_secondary] cpu:2 started (0) 18 [ 0.144895] [bcm2709_secondary_init] enter cpu:2 [ 0.144931] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02 [ 0.164665] [bcm2709_boot_secondary] cpu:3 started (0) 18 [ 0.164906] [bcm2709_secondary_init] enter cpu:3 [ 0.164943] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03 [ 0.165043] Brought up 4 CPUs [ 0.165071] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.165082] CPU: All CPU(s) started in SVC mode. [ 0.166112] devtmpfs: initialized [ 0.186178] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.187652] pinctrl core: initialized pinctrl subsystem [ 0.188213] regulator-dummy: no parameters [ 0.188901] NET: Registered protocol family 16 [ 0.194777] DMA: preallocated 4096 KiB pool for atomic coherent allocations [ 0.224444] cpuidle: using governor ladder [ 0.254475] cpuidle: using governor menu [ 0.255048] bcm2709.uart_clock = 3000000 [ 0.255091] of_platform_populate failed: -22 [ 0.257581] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.257597] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.257639] mailbox: Broadcom VideoCore Mailbox driver [ 0.257751] bcm2708_vcio: mailbox at f300b880 [ 0.258120] bcm_power: Broadcom power driver [ 0.258138] bcm_power_open() -> 0 [ 0.258150] bcm_power_request(0, [ 0.758815] bcm_mailbox_read -> 00000080, 0 [ 0.758829] bcm_power_request -> 0 [ 0.758968] Serial: AMBA PL011 UART driver [ 0.759108] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3 [ 0.837556] SCSI subsystem initialized [ 0.838024] usbcore: registered new interface driver usbfs [ 0.838135] usbcore: registered new interface driver hub [ 0.838289] usbcore: registered new device driver usb [ 0.838964] Advanced Linux Sound Architecture Driver Initialized. [ 0.839904] Bluetooth: Core ver 2.20 [ 0.839972] NET: Registered protocol family 31 [ 0.839986] Bluetooth: HCI device and connection manager initialized [ 0.840020] Bluetooth: HCI socket layer initialized [ 0.840042] Bluetooth: L2CAP socket layer initialized [ 0.840134] Bluetooth: SCO socket layer initialized [ 0.840740] cfg80211: Calling CRDA to update world regulatory domain [ 0.841996] Switched to clocksource arch_sys_counter [ 0.882234] FS-Cache: Loaded [ 0.882616] CacheFiles: Loaded [ 0.898120] NET: Registered protocol family 2 [ 0.899264] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.899354] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.899460] TCP: Hash tables configured (established 4096 bind 4096) [ 0.899539] TCP: reno registered [ 0.899563] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.899605] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.899892] NET: Registered protocol family 1 [ 0.900481] RPC: Registered named UNIX socket transport module. [ 0.900500] RPC: Registered udp transport module. [ 0.900511] RPC: Registered tcp transport module. [ 0.900523] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.901436] bcm2708_dma: DMA manager at f3007000 [ 0.901578] bcm2708_gpio: bcm2708_gpio_probe 80a8a568 [ 0.902395] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB) [ 0.904585] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.904813] audit: initializing netlink subsys (disabled) [ 0.904877] audit: type=2000 audit(0.869:1): initialized [ 0.922943] DLM installed [ 0.925729] FS-Cache: Netfs 'nfs' registered for caching [ 0.926748] NFS: Registering the id_resolver key type [ 0.926836] Key type id_resolver registered [ 0.926849] Key type id_legacy registered [ 0.927903] ntfs: driver 2.1.31 [Flags: R/W]. [ 0.928822] fuse init (API version 7.23) [ 0.932363] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.932558] io scheduler noop registered [ 0.932585] io scheduler deadline registered (default) [ 0.932965] io scheduler cfq registered [ 0.934623] BCM2708FB: allocated DMA memory dec00000 [ 0.934673] BCM2708FB: allocated DMA channel 0 @ f3007000 [ 0.962699] Console: switching to colour frame buffer device 222x59 [ 0.981254] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver [ 0.981781] uart-pl011 dev:f1: no DMA platform data [ 0.982438] vc-cma: Videocore CMA driver [ 0.982452] vc-cma: vc_cma_base = 0x00000000 [ 0.982464] vc-cma: vc_cma_size = 0x00000000 (0 MiB) [ 0.982476] vc-cma: vc_cma_initial = 0x00000000 (0 MiB) [ 0.995865] brd: module loaded [ 1.002712] loop: module loaded [ 1.003095] vchiq: vchiq_init_state: slot_zero = 0x9e800000, is_master = 0 [ 1.003952] Loading iSCSI transport class v2.0-870. [ 1.004808] usbcore: registered new interface driver cdc_ether [ 1.004952] usbcore: registered new interface driver smsc95xx [ 1.005020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.005042] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.005097] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.205437] Core Release: 2.80a [ 1.205458] Setting default values for core params [ 1.205504] Finished setting default values for core params [ 1.405927] Using Buffer DMA mode [ 1.405943] Periodic Transfer Interrupt Enhancement - disabled [ 1.405955] Multiprocessor Interrupt Enhancement - disabled [ 1.405967] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 1.405984] Dedicated Tx FIFOs mode [ 1.406426] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0x9ec14000 dma = 0xdec14000 len=9024 [ 1.406465] FIQ FSM acceleration enabled for : [ 1.406465] Non-periodic Split Transactions [ 1.406465] Periodic Split Transactions [ 1.406465] High-Speed Isochronous Endpoints [ 1.406511] dwc_otg: Microframe scheduler enabled [ 1.406600] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80476b74 [ 1.406621] WARN::hcd_init_fiq:413: FIQ ASM at 0x80476ee4 length 36 [ 1.406641] WARN::hcd_init_fiq:438: MPHI regs_base at 0x9f80a000 [ 1.406670] dwc_otg bcm2708_usb: DWC OTG Controller [ 1.406720] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1 [ 1.406772] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000 [ 1.406828] Init: Port Power? op_state=1 [ 1.406839] Init: Power Port (0) [ 1.407143] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.407164] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.407181] usb usb1: Product: DWC OTG Controller [ 1.407198] usb usb1: Manufacturer: Linux 3.19.2-v7 dwc_otg_hcd [ 1.407214] usb usb1: SerialNumber: bcm2708_usb [ 1.408342] hub 1-0:1.0: USB hub found [ 1.408411] hub 1-0:1.0: 1 port detected [ 1.409140] dwc_otg: FIQ enabled [ 1.409157] dwc_otg: NAK holdoff enabled [ 1.409168] dwc_otg: FIQ split-transaction FSM enabled [ 1.409209] Module dwc_common_port init [ 1.409770] mousedev: PS/2 mouse device common for all mice [ 1.410997] Bluetooth: Virtual HCI driver ver 1.5 [ 1.411227] Bluetooth: HCI UART driver ver 2.2 [ 1.411244] Bluetooth: HCI H4 protocol initialized [ 1.411256] Bluetooth: HCI BCSP protocol initialized [ 1.411267] Bluetooth: HCILL protocol initialized [ 1.411277] Bluetooth: HCIATH3K protocol initialized [ 1.411289] Bluetooth: HCI Three-wire UART (H5) protocol initialized [ 1.411428] usbcore: registered new interface driver bcm203x [ 1.411553] usbcore: registered new interface driver bpa10x [ 1.411678] usbcore: registered new interface driver bfusb [ 1.411818] usbcore: registered new interface driver btusb [ 1.411842] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 1.412121] usbcore: registered new interface driver ath3k [ 1.412450] bcm2835-cpufreq: min=600000 max=900000 [ 1.425534] Driver 'mmcblk' needs updating - please use bus_type methods [ 1.425592] sdhci: Secure Digital Host Controller Interface driver [ 1.425600] sdhci: Copyright(c) Pierre Ossman [ 1.425744] DMA channels allocated for the MMC driver [ 1.462108] Load BCM2835 MMC driver [ 1.462246] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.462626] ledtrig-cpu: registered to indicate activity on CPUs [ 1.462747] hidraw: raw HID events driver (C) Jiri Kosina [ 1.467377] usbcore: registered new interface driver usbhid [ 1.467386] usbhid: USB HID core driver [ 1.467865] TCP: cubic registered [ 1.467882] Initializing XFRM netlink socket [ 1.476199] NET: Registered protocol family 10 [ 1.480684] sit: IPv6 over IPv4 tunneling driver [ 1.481548] NET: Registered protocol family 17 [ 1.481729] Bluetooth: RFCOMM TTY layer initialized [ 1.481761] Bluetooth: RFCOMM socket layer initialized [ 1.481791] Bluetooth: RFCOMM ver 1.11 [ 1.481815] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 1.481831] Bluetooth: HIDP socket layer initialized [ 1.482459] sctp: Hash tables configured (established 16384 bind 16384) [ 1.483021] Key type dns_resolver registered [ 1.483449] Registering SWP/SWPB emulation handler [ 1.484254] registered taskstats version 1 [ 1.484477] vc-sm: Videocore shared memory driver [ 1.484494] [vc_sm_connected_init]: start [ 1.485088] [vc_sm_connected_init]: end - returning 0 [ 1.487371] ALSA device list: [ 1.487387] #0: bcm2835 ALSA [ 1.488038] Waiting for root device /dev/mmcblk0p6... [ 1.521724] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.525262] mmc0: new high speed SDHC card at address aaaa [ 1.525744] mmcblk0: mmc0:aaaa SL32G 28.7 GiB [ 1.529722] mmcblk0: p1 p2 < p5 p6 p7 > p3 [ 1.599768] EXT4-fs (mmcblk0p6): couldn't mount as ext3 due to feature incompatibilities [ 1.600350] EXT4-fs (mmcblk0p6): couldn't mount as ext2 due to feature incompatibilities [ 1.602161] Indeed it is in host mode hprt0 = 00021501 [ 1.782065] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 1.782249] Indeed it is in host mode hprt0 = 00001101 [ 1.982300] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 [ 1.982316] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.983161] hub 1-1:1.0: USB hub found [ 1.983262] hub 1-1:1.0: 5 ports detected [ 2.262079] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 2.362264] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 [ 2.362279] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.364961] smsc95xx v1.0.4 [ 2.425409] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f6:a4:a7 [ 2.502076] usb 1-1.4: new low-speed USB device number 4 using dwc_otg [ 2.635342] usb 1-1.4: New USB device found, idVendor=04b4, idProduct=fef3 [ 2.635358] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.635369] usb 1-1.4: Product: CY4672 PRoC LP RDK Bridge [ 2.635380] usb 1-1.4: Manufacturer: Device [ 2.666297] input: Device CY4672 PRoC LP RDK Bridge as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:04B4:FEF3.0001/input/input0 [ 2.722762] hid-generic 0003:04B4:FEF3.0001: input,hidraw0: USB HID v1.11 Mouse [Device CY4672 PRoC LP RDK Bridge] on usb-bcm2708_usb-1.4/input0 [ 2.736947] input: Device CY4672 PRoC LP RDK Bridge as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:04B4:FEF3.0002/input/input1 [ 2.792411] hid-generic 0003:04B4:FEF3.0002: input,hidraw1: USB HID v1.11 Keyboard [Device CY4672 PRoC LP RDK Bridge] on usb-bcm2708_usb-1.4/input1 [ 4.146619] EXT4-fs (mmcblk0p6): recovery complete [ 4.148240] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null) [ 4.148303] VFS: Mounted root (ext4 filesystem) on device 179:6. [ 4.151219] devtmpfs: mounted [ 4.151812] Freeing unused kernel memory: 484K (809e5000 - 80a5e000) [ 4.310816] EXT4-fs (mmcblk0p6): re-mounted. Opts: data=ordered [ 4.336683] FAT-fs (mmcblk0p7): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 4.339929] FAT-fs (mmcblk0p5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 4.594912] udevd[91]: starting version 2.1.1 [ 4.620232] random: udevd urandom read with 97 bits of entropy available [ 5.360506] random: nonblocking pool is initialized [ 8.724478] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 8.724749] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 10.240058] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 10.241062] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 16.650707] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 16.744541] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 18.291709] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 859.622157] usb 1-1.2: new full-speed USB device number 5 using dwc_otg [ 864.722803] usb 1-1.2: New USB device found, idVendor=0314, idProduct=0326 [ 864.722828] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 864.722839] usb 1-1.2: Product: JUYAO Dual Arcade [ 864.723710] usb 1-1.2: can't set config #1, error -32 ****************************************************************************************** dans les 4 dernière lignes, le bon signe c'est que l'usb réagit, le mauvais signe.... c'est la dernière ligne ^^ N'hésites pas si u as besoin d 'autres tests, photo ou autre... mon frère et mois somme même assez furieux pour mettre les mains dans le code si besoin ... mais nos emploies du temps respectifs ne nous laissent malheureusement peu de disponibilité... d'avance merci
-
en complément le schéma de câblage fourni.
-
Salut tu devrais passer sur le canal irc pour en discuter avec le developpeur et la team dont certains construisent leur bartop. as tu testé ton branchement avec jstest via ce lien https://github.com/digitalLumberjack/recalbox-os/wiki/Tester-votre-joystick-avec-jstest-(FR) ? faudrait savoir si il existe aussi un pilote sous linux ou rpi. as tu un lien vers le site d achat ?
-
Bonjour, Merci pour les conseils, après beaucoup de discussions sur IRC et pas mal de tests, de compilation, la prise en charge de ce type de matériel n'est pas encore d'actualité. Les développeurs intègrent la prise en charge d'un pin supplémentaire par joueur sur le GPIO, ce qui porte à 9 le nombre de boutons pris en charge pour chaque joueur. Comme ça me suffit, je ne pousse pas plus avant les investigation. Merci à toi et à toute l'équipe pour les réponses et la réactivité!
-
Juste pour information : https://github.com/recalbox/recalbox-os/issues/524 en attendant une solution sur le long terme.
-
Hello, et désolé de déterrer ce topic mais j'ai exactement le même comportement.
acris parvient habillement à dépanner le recalbox de arre, mais de mon côté, mes compétences sont beaucoup moins développées que arre.
Je n'arrive pas à suivre le tuto en anglais.
J'ai installé Recalbox 4.0.0 via NOOBS et mon Juyao n'est pas détecté (j'ai su le faire fonctionner parfaitement sur une autre "distrib" et raccordé à mon windows, les touches réagissent très bien)
J'ai commencé à éditer le cmdline.txt en spammant shift lors du démarrage de recalbox, j'ai inséré la ligne dont parle acris ("usbhid.quirks=0x314:0x326:0x040") mais rien n'y fait.Le problème est forcément entre la chaise et le clavier et j'en suis à réclamer un petit coup de pouce. Selon vous, que fais-je de mal ou que ne fais-je pas du coup ? (cette phrase est beaucoup trop longue)
J'ai abandonné le GPIO car j'ai la ferme intention de bastonner à 8 touches par player et pas 6
Merci de m'avoir lu "^^
-
tu as surement une version de juyao différente et ton usbquirks est sans doute différent.
il faut que tu postes l archive demandé ici : https://github.com/recalbox/recalbox-os/wiki/Recalbox-support--(FR)
je regarderai demain matin. -
Wow ! Cette célérité ! Merci beaucoup d'avance mais ne te presse pas pour moi hein
J'espère que c'est ce que tu voulais,
-
Bonjour @Dreamint-Ox
Effectivement c'est ce que je pensai.
Ta version n'est pas identitique à celle indiqué dans différents sujets.Je pars du principe que tu es sous windows , avec winscp et putty configuré comme indiqué ici : https://github.com/recalbox/recalbox-os/wiki/acces-via-WinSCP-(FR)
Voici la procédure :
- En ssh (putty) ou via winscp : https://github.com/recalbox/recalbox-os/wiki/partition-en-ecriture-(FR)
mount -o remount,rw /boot
- Editer le fichier
/boot/cmdline.txt
avec notepad++ sous windows ou en sshnano /boot/cmdline.txt
Ajouter en fin de ligne avec un espace après les derniers mots, remplacer dans ton cas si tu as déjà mis quelque chose.
usbhid.quirks=0x314:0x328:0x040
Enregistrer la modification (cltr+x sous nano puis Y pour sortir) - Redémarrer le rpi via l'interface du rpi ou ssh
reboot
- Se rendre dans l'interface de ES puis configurer uniquement le joueur 1 "options manettes" avec le schema d'un pad snes.
- Attribuer le J1 et le J2
- Lancer un jeu 2 joueurs et tests tes joysticks et boutons. (ex street fighter sous SNES)
Si tout est ok, peux tu refaire une archive et la reposter. Merci
Pour info ces encodeurs sont ajoutés par défaut dans recalbox 4.1 qui sortira l'année prochaine.
- En ssh (putty) ou via winscp : https://github.com/recalbox/recalbox-os/wiki/partition-en-ecriture-(FR)
-
@acris tu vérifieras que ce quirks est dans le usbhid.conf de la 4.1 et fera la mise à jour si nécessaire ?
-
@acris il est intégré mais il y a une erreur dans les 2 lignes un 0 en trop. Je ferai un PR pour corriger
# Juyao
options usbhid quirks=0x0314:0x0326:0x0040
options usbhid quirks=0x0314:0x0328:0x0040# Juyao options usbhid quirks=0x0314:0x0326:0x040 options usbhid quirks=0x0314:0x0328:0x040
-
Juste génial, c'est impressionnant comment vous répondez vite et simple !
J'ai tout compris ce que tu as dit.
J'ai aussi fait une insomnie et me suis levé très tôt, et du coup j'ai bidouillé. Savoir comment intégrer une nouvelle regle etc.
J'ai appliqué une autre procédure et ça semble fonctionner :
0/ J'ai laissé tout ce que tu m'avais dit hier dans le cmdline.txt
1/ j'ai passé /boot et / en écriture aussi via winscp
2/ j'ai cherché /etc/udev/rules.d/ et y créé une *.rules
3/ Je l'ai édité pour installer
ATTRS{product}=="JUYAO Dual Arcade",ACTION=="add",ENV{ID_INPUT_TABLET}="0",ENV{ID_INPUT_JOYSTICK}:="1"
4/ Sauvegardé et fermé, rebooté depuis Emulation Station
5/ Paramétré les touches du pad du J1Me suis arrêté là,
Ca marche et je suis plus que content !
Mais je vais re-formater et appliquer ta méthode.Je suis ravi aussi que cela soit implémenté dans la prochaine version. L'année prochaine n'est plus très loin.
Je ne sais pas comment vous remercier et/ou si je peux, du coup, peut être vous satisfaire avec une pitite photo de la bête que vous venez de soigner !
https://mightytext.net/zkXSgtMERCI !
-
La.regle udev nest pas obligatoire ni indispensable.ds ton cas.
Have fun ! -
Pour info, et si jamais quelqu'un est dans la même situation que moi, la règle a l'air nécessaire :x
J'ai voulu formater pour vérifier tout ça, j'ai appliqué à la lettre ton tuto @acris mais le pad n'était pas détecté.J'ai ajouté la règle (cf mon précédent message) et là c'est passé.
Si je peux aider à ma façon ... ^^EDIT : le deuxième joueur ne marche pas. Pas reconnu, j'ai mappé J1, J2 n'est pas détecté dans street fighter 2, j'appuie sur Start, rien ne se passe par exemple
-
Etrange car ça ne devrait pas, peux tu reposter une nouvelle archive afin de vérifier certains paramètres.
merci -
http://goo.gl/QSuYTD
Oilà
Merci -
peux tu poster le contenu de ton fichier cmdline.txt aussi merci
tu as bien configuré dans emulationstation joueur 1 et joueur 2 dans options manette ? -
Le cmdline.txt :
http://goo.gl/NjByUyDans ES, je n'ai que J1 :
Options des manettes > configurer une manette > 1 manette détectée > Haut, Bas, Gauche, Droite, Joystick 1 haut, Joystick 1 Gauche, Joystick 2 haut, Joystick 2 gauche, A, B, X, Y, Start, Select, L1, R1, L2, R2, L3, R3, Hotkey
(en gras ce que j'ai mappé et qui fonctionne in game, en pas gras ce que j'ai skippé)Je ne sais pas si ça peut aider, mais dans les options des manettes, pour J1 et J2, je peux choisir "#0 D_R_M JUYAO DUAL ARCADE", si je sélectionne cela pour les deux joueurs, en quittant le menu, la configuration saute pour J2, je pense ne pas me trompe si j'affirme que c'est parce que recalbox ne détecte pas mon J2
On y était presque, mais comme dit papa, à côté c'est pas dedans ^^
-
@Dreamint-Ox tu as fait une erreur dans cmdline.txt
usbhib.quirks=0x314:0x328:0x040
tu as mis usbhib au lieu de usbhid comme indiqué dans mon sujet précédent.
Corrige ton erreur , supprime ou met en commentaire ta règle udev, puis reboot et reteste.
usbhid.quirks=0x314:0x328:0x040