Need help with setting up a second controller

Home Forums RetroPie Project Everything else related to the RetroPie Project Need help with setting up a second controller

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 11 replies, has 6 voices, and was last updated by Profile photo of alextaldren alextaldren 2 years, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1651
    Profile photo of zahno
    zahno
    Participant

    Hi,
    first of all, sorry if my choice of words is a little weird, I’m from germany πŸ™‚

    I have troubles setting up a second controller. I’m using a USB-to-SNES-adapter with two ports for two controllers.
    The setup for the menu-control works fine, I am able to navigate trough the menu with both controllers without any problems.
    I changed the retroarch.cfg file by copy- and pasting the configurations of the first controller (that already works fine in games) and changing the index to “1” and “player1” to “player2” what should be correct, right?

    Now to the weird part:
    Controller 2 does NOT work unless I press any button of controller 1 at the same time. That is the only way that controller 2 does react at all while I’m in a game. Again, controller 1 and 2 work fine in the menu independent of each other.
    When I swap the index-numbers of the controllers in the retroarch.cfg file they still do the same thing but swapped (controller 1 works only if any button on controller 2 is pressed). That makes me guess this is a settings-problem and not a hardware-problem.

    Has anyone an solution to this?? I’m falling into despair… πŸ™‚

    #1661
    Profile photo of zahno
    zahno
    Participant

    I found out that both controllers work independent of each other in Mario Kart.
    Why is that?

    I set up my RPi again and made the lengthy RetroArch-installation and enabled the SNESDev driver, but nothing has changed πŸ™

    #1671
    Profile photo of petrockblog
    petrockblog
    Keymaster

    SNESDev is only needed if you directly connect SNES controllers to the GPIO pins. If I understand correctly, this is not the case here.

    First of all, you need to check, if the OS identifies your USB-adapter correctly. You can check this, e.g., with the commands lsusb or dmesg.

    Then you need to know whether the adapter registers the controllers as joysticks or as a keyboard in the system. Depending on that you then need to configure the inputs for the Emulators.

    #1678
    Profile photo of zahno
    zahno
    Participant

    lsusb gives me this:
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0409:0050 NEC Corp. 7-port hub
    Bus 001 Device 008: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
    Bus 001 Device 009: ID 0e8f:3013 GreenAsia Inc.

    The adapter is the last one (GreenAsia), if I unplug it the last entry is missing.

    And dmesg gives me this:
    [ 0.000000] Booting Linux on physical CPU 0
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #427 PREEMPT Fri Apr 26 20:53:06 BST 2013
    [ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    [ 0.000000] Machine: BCM2708
    [ 0.000000] cma: CMA: reserved 16 MiB at 17000000
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] On node 0 totalpages: 98304
    [ 0.000000] free_area_init_node: node 0, pgdat c053b854, node_mem_map c05e5000
    [ 0.000000] Normal zone: 768 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 97536 pages, LIFO batch:31
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 97536
    [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0xd bcm2708.serial=0x8c784b9e smsc95xx.macaddr=B8:27:EB:78:4B:9E sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline 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: 384MB = 384MB total
    [ 0.000000] Memory: 367240k/367240k available, 25976k reserved, 0K highmem
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xd8800000 - 0xff000000 ( 616 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd8000000 ( 384 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc04e647c (4986 kB)
    [ 0.000000] .init : 0xc04e7000 - 0xc0507f24 ( 132 kB)
    [ 0.000000] .data : 0xc0508000 - 0xc053c080 ( 209 kB)
    [ 0.000000] .bss : 0xc053c0a4 - 0xc05e4758 ( 674 kB)
    [ 0.000000] NR_IRQS:330
    [ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000000] console [tty1] enabled
    [ 0.001009] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
    [ 0.060124] pid_max: default: 32768 minimum: 301
    [ 0.060459] Mount-cache hash table entries: 512
    [ 0.061214] Initializing cgroup subsys cpuacct
    [ 0.061267] Initializing cgroup subsys devices
    [ 0.061299] Initializing cgroup subsys freezer
    [ 0.061328] Initializing cgroup subsys blkio
    [ 0.061417] CPU: Testing write buffer coherency: ok
    [ 0.061750] hw perfevents: enabled with v6 PMU driver, 3 counters available
    [ 0.061889] Setting up static identity map for 0x39d658 - 0x39d6b4
    [ 0.063382] devtmpfs: initialized
    [ 0.074016] NET: Registered protocol family 16
    [ 0.080441] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [ 0.081535] bcm2708.uart_clock = 0
    [ 0.082928] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [ 0.082982] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.083018] mailbox: Broadcom VideoCore Mailbox driver
    [ 0.083112] bcm2708_vcio: mailbox at f200b880
    [ 0.083214] bcm_power: Broadcom power driver
    [ 0.083251] bcm_power_open() -> 0
    [ 0.083276] bcm_power_request(0, 8)
    [ 0.583966] bcm_mailbox_read -> 00000080, 0
    [ 0.584007] bcm_power_request -> 0
    [ 0.584034] Serial: AMBA PL011 UART driver
    [ 0.584182] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
    [ 0.908020] console [ttyAMA0] enabled
    [ 0.931634] bio: create slab <bio-0> at 0
    [ 0.936512] SCSI subsystem initialized
    [ 0.940604] usbcore: registered new interface driver usbfs
    [ 0.946187] usbcore: registered new interface driver hub
    [ 0.951780] usbcore: registered new device driver usb
    [ 0.958128] Switching to clocksource stc
    [ 0.962369] FS-Cache: Loaded
    [ 0.965512] CacheFiles: Loaded
    [ 0.980346] NET: Registered protocol family 2
    [ 0.985631] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.993364] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [ 1.000149] TCP: Hash tables configured (established 16384 bind 16384)
    [ 1.006753] TCP: reno registered
    [ 1.010006] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 1.015904] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 1.022487] NET: Registered protocol family 1
    [ 1.027349] RPC: Registered named UNIX socket transport module.
    [ 1.033392] RPC: Registered udp transport module.
    [ 1.038114] RPC: Registered tcp transport module.
    [ 1.042859] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.049970] bcm2708_dma: DMA manager at f2007000
    [ 1.054762] bcm2708_gpio: bcm2708_gpio_probe c0515d98
    [ 1.060235] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
    [ 1.069404] audit: initializing netlink socket (disabled)
    [ 1.075000] type=2000 audit(0.930:1): initialized
    [ 1.196805] VFS: Disk quotas dquot_6.5.2
    [ 1.200839] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.207893] FS-Cache: Netfs 'nfs' registered for caching
    [ 1.213649] NFS: Registering the id_resolver key type
    [ 1.218819] Key type id_resolver registered
    [ 1.223113] Key type id_legacy registered
    [ 1.227481] msgmni has been set to 749
    [ 1.233014] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 1.240716] io scheduler noop registered
    [ 1.244758] io scheduler deadline registered (default)
    [ 1.249941] io scheduler cfq registered
    [ 1.290471] Console: switching to colour frame buffer device 228x61
    [ 1.316877] kgdb: Registered I/O driver kgdboc.
    [ 1.322258] vc-cma: Videocore CMA driver
    [ 1.326304] vc-cma: vc_cma_base = 0x00000000
    [ 1.331113] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
    [ 1.336659] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
    [ 1.351531] brd: module loaded
    [ 1.359913] loop: module loaded
    [ 1.363600] vchiq: vchiq_init_state: slot_zero = 0xd7000000, is_master = 0
    [ 1.371418] Loading iSCSI transport class v2.0-870.
    [ 1.377508] usbcore: registered new interface driver smsc95xx
    [ 1.383720] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 1.594837] Core Release: 2.80a
    [ 1.598106] Setting default values for core params
    [ 1.603118] Finished setting default values for core params
    [ 1.813902] Using Buffer DMA mode
    [ 1.817328] Periodic Transfer Interrupt Enhancement - disabled
    [ 1.823325] Multiprocessor Interrupt Enhancement - disabled
    [ 1.829032] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 1.833524] Dedicated Tx FIFOs mode
    [ 1.838098] dwc_otg: Microframe scheduler enabled
    [ 1.838512] dwc_otg bcm2708_usb: DWC OTG Controller
    [ 1.843654] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [ 1.851142] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [ 1.856930] Init: Port Power? op_state=1
    [ 1.860956] Init: Power Port (0)
    [ 1.864408] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.871366] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.884192] usb usb1: Product: DWC OTG Controller
    [ 1.894256] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
    [ 1.905406] usb usb1: SerialNumber: bcm2708_usb
    [ 1.916121] hub 1-0:1.0: USB hub found
    [ 1.925301] hub 1-0:1.0: 1 port detected
    [ 1.934881] dwc_otg: FIQ enabled
    [ 1.934901] dwc_otg: NAK holdoff enabled
    [ 1.934921] Module dwc_common_port init
    [ 1.935147] Initializing USB Mass Storage driver...
    [ 1.945599] usbcore: registered new interface driver usb-storage
    [ 1.956956] USB Mass Storage support registered.
    [ 1.967078] usbcore: registered new interface driver libusual
    [ 1.978516] mousedev: PS/2 mouse device common for all mice
    [ 1.990340] bcm2835-cpufreq: min=700000 max=800000 cur=700000
    [ 2.001677] bcm2835-cpufreq: switching to governor powersave
    [ 2.012699] bcm2835-cpufreq: switching to governor powersave
    [ 2.023663] cpuidle: using governor ladder
    [ 2.033106] cpuidle: using governor menu
    [ 2.042248] sdhci: Secure Digital Host Controller Interface driver
    [ 2.053721] sdhci: Copyright(c) Pierre Ossman
    [ 2.063397] sdhci: Enable low-latency mode
    [ 2.112432] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
    [ 2.125783] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
    [ 2.139138] Indeed it is in host mode hprt0 = 00021501
    [ 2.149748] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.177269] usbcore: registered new interface driver usbhid
    [ 2.212220] usbhid: USB HID core driver
    [ 2.221894] TCP: cubic registered
    [ 2.252291] Initializing XFRM netlink socket
    [ 2.282256] NET: Registered protocol family 17
    [ 2.292035] Key type dns_resolver registered
    [ 2.322035] mmc0: read SD Status register (SSR) after 4 attempts
    [ 2.318945] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
    [ 2.344385] registered taskstats version 1
    [ 2.355056] Waiting for root device /dev/mmcblk0p2...
    [ 2.365892] mmc0: new high speed SDHC card at address e624
    [ 2.377653] mmcblk0: mmc0:e624 SD08G 7.40 GiB
    [ 2.392937] mmcblk0: p1 p2
    [ 2.432306] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 2.444483] Indeed it is in host mode hprt0 = 00001101
    [ 2.508722] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.534012] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 2.555456] devtmpfs: mounted
    [ 2.564591] Freeing init memory: 128K
    [ 2.672660] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
    [ 2.685187] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.698783] hub 1-1:1.0: USB hub found
    [ 2.709008] hub 1-1:1.0: 3 ports detected
    [ 2.992546] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 3.102919] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 3.115907] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.135930] smsc95xx v1.0.4
    [ 3.207138] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:78:4b:9e
    [ 3.322598] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
    [ 3.452960] usb 1-1.2: New USB device found, idVendor=0409, idProduct=0050
    [ 3.482342] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.510995] hub 1-1.2:1.0: USB hub found
    [ 3.529642] hub 1-1.2:1.0: 7 ports detected
    [ 3.822523] usb 1-1.2.4: new low-speed USB device number 5 using dwc_otg
    [ 3.958686] usb 1-1.2.4: New USB device found, idVendor=046d, idProduct=c517
    [ 3.971921] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 3.986238] usb 1-1.2.4: Product: USB Receiver
    [ 3.996809] usb 1-1.2.4: Manufacturer: Logitech
    [ 4.102558] usb 1-1.2.5: new high-speed USB device number 6 using dwc_otg
    [ 4.247219] usb 1-1.2.5: New USB device found, idVendor=1bcf, idProduct=0c31
    [ 4.272357] usb 1-1.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4.288203] usb 1-1.2.5: Product: USB to Serial-ATA bridge
    [ 4.300109] usb 1-1.2.5: Manufacturer: Sunplus Innovation Technology
    [ 4.312749] usb 1-1.2.5: SerialNumber: FFFFFFF0FF00000000FF99F6526FFF
    [ 4.335416] scsi0 : usb-storage 1-1.2.5:1.0
    [ 4.362703] udevd[156]: starting version 175
    [ 4.432622] usb 1-1.2.6: new low-speed USB device number 7 using dwc_otg
    [ 4.644846] usb 1-1.2.6: New USB device found, idVendor=0e8f, idProduct=3013
    [ 4.682365] usb 1-1.2.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 4.732330] usb 1-1.2.6: Product: USB GamePad
    [ 4.755565] usb 1-1.2.6: Manufacturer: HuiJia
    [ 4.828250] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input0
    [ 4.875066] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input1
    [ 4.924118] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input2
    [ 4.974888] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input3
    [ 5.032768] hid-generic 0003:0E8F:3013.0003: input,hidraw0: USB HID v1.10 Joystick [HuiJia USB GamePad] on usb-bcm2708_usb-1.2.6/input0
    [ 5.357340] scsi 0:0:0:0: Direct-Access FUJITSU MHV2080BH PL 0200 PQ: 0 ANSI: 4
    [ 5.403291] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
    [ 5.449591] sd 0:0:0:0: [sda] Write Protect is off
    [ 5.481819] sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
    [ 5.489073] sd 0:0:0:0: [sda] No Caching mode page present
    [ 5.522339] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [ 5.547950] sd 0:0:0:0: [sda] No Caching mode page present
    [ 5.547963] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [ 5.549495] sda: sda1
    [ 5.578707] sd 0:0:0:0: [sda] No Caching mode page present
    [ 5.578719] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [ 5.578732] sd 0:0:0:0: [sda] Attached SCSI disk
    [ 6.165115] Registered led device: led0
    [ 7.240894] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4:1.0/input/input4
    [ 7.474921] logitech 0003:046D:C517.0001: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.2.4/input0
    [ 7.707617] logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
    [ 7.840788] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4:1.1/input/input5
    [ 7.997323] logitech 0003:046D:C517.0002: input,hiddev0,hidraw2: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.2.4/input1
    [ 12.295481] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 12.967453] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 14.140544] input: SNES pad as /devices/virtual/input/input6
    [ 14.172957] SNES pad data pin connected to GPIO4
    [ 14.192690] input: SNES pad as /devices/virtual/input/input7
    [ 14.214997] SNES pad data pin connected to GPIO3
    [ 19.425973] mmc0: missed completion of cmd 18 DMA (512/512 [1]/[1]) - ignoring it
    [ 19.440372] mmc0: DMA IRQ 6 ignored - results were reset
    [ 23.869511] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
    [ 25.299472] bcm2835-cpufreq: switching to governor ondemand
    [ 25.299503] bcm2835-cpufreq: switching to governor ondemand
    [ 26.300364] input: SNES-to-Gamepad Device as /devices/virtual/input/input8
    [ 26.301521] input: SNES-to-Gamepad Device as /devices/virtual/input/input9
    [ 28.638016] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SS
    [ 1481.004702] usb 1-1.2.4: USB disconnect, device number 5
    [ 1483.821084] usb 1-1.2.5: USB disconnect, device number 6
    [ 1499.417207] usb 1-1.2.5: new low-speed USB device number 8 using dwc_otg
    [ 1499.523982] usb 1-1.2.5: New USB device found, idVendor=046d, idProduct=c517
    [ 1499.524011] usb 1-1.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 1499.524027] usb 1-1.2.5: Product: USB Receiver
    [ 1499.524041] usb 1-1.2.5: Manufacturer: Logitech
    [ 1499.535229] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5:1.0/input/input10
    [ 1499.539245] logitech 0003:046D:C517.0004: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.2.5/input0
    [ 1499.545745] logitech 0003:046D:C517.0005: fixing up Logitech keyboard report descriptor
    [ 1499.557606] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5:1.1/input/input11
    [ 1499.562252] logitech 0003:046D:C517.0005: input,hiddev0,hidraw2: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.2.5/input1
    [ 1512.753016] usb 1-1.2.6: USB disconnect, device number 7
    [ 1632.560291] usb 1-1.2.6: new low-speed USB device number 9 using dwc_otg
    [ 1632.774646] usb 1-1.2.6: New USB device found, idVendor=0e8f, idProduct=3013
    [ 1632.774675] usb 1-1.2.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 1632.774691] usb 1-1.2.6: Product: USB GamePad
    [ 1632.774705] usb 1-1.2.6: Manufacturer: HuiJia
    [ 1632.810906] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input12
    [ 1632.813192] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input13
    [ 1632.815158] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input14
    [ 1632.816475] input: HuiJia USB GamePad as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.6/1-1.2.6:1.0/input/input15
    [ 1632.817762] hid-generic 0003:0E8F:3013.0006: input,hidraw0: USB HID v1.10 Joystick [HuiJia USB GamePad] on usb-bcm2708_usb-1.2.6/input0

    I see plenty of GamePads. πŸ˜€
    I’m using this adapter: http://www.amazon.de/gp/product/B002OWHTNI/ref=oh_details_o03_s00_i00?ie=UTF8&psc=1

    Right now, I have a usb-hub plugged in (on the raspberry’s usb-port) and on the usb-hub a keyboard and the adapter.

    What’s the next step? I’m not sure how the system registers my controllers

    #1680
    Profile photo of zahno
    zahno
    Participant

    Ah I see, the ID of the adapter (0e8f:3013) shows that the controllers are registered as joysticks, so the setup via retroarch-joyconfig should be the right way, doesn’t it?
    When I start the config it says “driver: linuxraw”. Is there a way to try an different driver?

    #2291
    Profile photo of changer
    changer
    Participant

    I have the same Problem. Is there a solution yet?

    #2293
    Profile photo of r00stre
    r00stre
    Participant

    Which emulator are you referencing? Do both controllers work on NES games? I have a feeling I just posted the answer to this question. I was having the same issues, but both controllers worked fine on NES games but doing what you are describing on SNES games. Turns out the problem was the SNES emulator that RetroPie uses by default. Here is the fix. http://blog.petrockblock.com/forums/topic/2-player-snes-issues/

    #2296
    Profile photo of zahno
    zahno
    Participant

    hi! thanks for the answer, I dont know if your fix would help with my problem (didn’t try it πŸ™‚ ) but I asked the same question in a different forum and there I was told that the code of the emulator is buggy, a simple index-mistake, but you cane fix it easily yourself:
    https://github.com/retropie/RetroPie-Setup/issues/158

    #2298
    Profile photo of r00stre
    r00stre
    Participant

    Thanks for posting the link. I was noticing some sound issues and stuff with the other emulator. Using the linked fix worked great!

    #2756
    Profile photo of panja
    panja
    Participant

    Hi guys,

    I hope someone can help me out with this problem.
    The same problem occurs with my install. I have installed RetroPie SD card image v1.8 and the 2nd SNES controller is not working properly for some games (Super Mario World etc).

    I have read the link (https://github.com/retropie/RetroPie-Setup/issues/158) and noticed I need to change line 717 so it states index 1 (instead of index 0).
    This needs to be change in the file ppu.cpp.

    I have found the emulator core (/home/pi/RetroPie/emulatorcores/pocketsnes-libretro) but where can I find ppu.cpp??
    I really can’t find it! πŸ™

    Thanks in advance!

    Greetings from a Raspberry/RetroPie newbie πŸ™‚

    #2758
    Profile photo of panja
    panja
    Participant

    I hope someone can help me out with this one… πŸ˜€

    #84354
    Profile photo of alextaldren
    alextaldren
    Participant

    I hope someone can help me out with this one… :-D

    I’m having the same problem, and nobody has posted a simple, step-by-step solution to this for Linux beginners. Everyone just assumes that when they say, “It’s simple! Just edit the ppu.ccp,”that the rest of us know:

    1) What that is.
    2) Where that file is.
    3) How to edit a code-based file.
    4) How to initialize the change via reboot or some other method.

    I also can’t find that file. It does not exist in the path that anyone has described. The ONLY file there is the “libretro.so,” and the correct path is ACTUALLY:

    /opt/retropie/emulatorcores/pocketsnes-libretro

Viewing 12 posts - 1 through 12 (of 12 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar