Joystick Driver Chip not found CM3 Build
#1
No matter what I do I can't seem to get the pi to recognize that I have the joysticks installed. I used the slim boxy pixel build and the triggers work perfectly but for whatever reason, my joysticks have no input despite being soldered and set up. I've tried following all the guides for setup on the tutorials from this website plus this video on setting up the config file. 

Here's a copy of what I see when I run dmesg:


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.103-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1529 SMP Tue Mar 8 12:21:37 GMT 2022
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Compute Module 3 Plus Rev 1.0
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x2ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]  DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]  Normal  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]  node  0: [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] On node 0 totalpages: 196608
[    0.000000]  DMA zone: 1728 pages used for memmap
[    0.000000]  DMA zone: 0 pages reserved
[    0.000000]  DMA zone: 196608 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[    0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 194880
[    0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=320 bcm2708_fb.fbheight=240 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:CF:78:48 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=8e363696-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
              Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 696104K/786432K available (10240K kernel code, 1312K rwdata, 2952K rodata, 1024K init, 862K bss, 24792K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 32081 entries in 95 pages
[    0.000000] ftrace: allocated 94 pages with 5 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3ac/0x580 with crng_init=1
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000020] Switching to timer-based delay loop, resolution 52ns
[    0.000299] Console: colour dummy device 80x30
[    0.000373] printk: console [tty1] enabled
[    0.000425] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000454] pid_max: default: 32768 minimum: 301
[    0.000655] LSM: Security Framework initializing
[    0.000899] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000922] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002362] cgroup: Disabling memory control group subsystem
[    0.002626] CPU: Testing write buffer coherency: ok
[    0.003125] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004361] Setting up static identity map for 0x100000 - 0x10003c
[    0.004547] rcu: Hierarchical SRCU implementation.
[    0.005465] smp: Bringing up secondary CPUs ...
[    0.006615] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.007890] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009098] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009256] smp: Brought up 1 node, 4 CPUs
[    0.009278] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.009289] CPU: All CPU(s) started in HYP mode.
[    0.009300] CPU: Virtualization extensions available.
[    0.010319] devtmpfs: initialized
[    0.027855] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.028109] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.028139] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.031218] pinctrl core: initialized pinctrl subsystem
[    0.032385] NET: Registered protocol family 16
[    0.036701] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.042427] audit: initializing netlink subsys (disabled)
[    0.042745] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043351] thermal_sys: Registered thermal governor 'step_wise'
[    0.044545] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.044560] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.044851] Serial: AMBA PL011 UART driver
[    0.063049] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.080128] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-12-01T15:07:06, variant start
[    0.090139] raspberrypi-firmware soc:firmware: Firmware hash is 71bd3109023a0c8575585ba87cbb374d2eeb038f
[    0.134570] Kprobes globally optimized
[    0.139581] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.141834] SCSI subsystem initialized
[    0.142097] usbcore: registered new interface driver usbfs
[    0.142162] usbcore: registered new interface driver hub
[    0.142233] usbcore: registered new device driver usb
[    0.144347] clocksource: Switched to clocksource arch_sys_counter
[    1.861437] VFS: Disk quotas dquot_6.6.0
[    1.861552] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.861754] FS-Cache: Loaded
[    1.862028] CacheFiles: Loaded
[    1.873230] NET: Registered protocol family 2
[    1.873505] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.875941] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.876006] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.876125] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.876317] TCP: Hash tables configured (established 8192 bind 8192)
[    1.876499] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.876556] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.876837] NET: Registered protocol family 1
[    1.877624] RPC: Registered named UNIX socket transport module.
[    1.877637] RPC: Registered udp transport module.
[    1.877649] RPC: Registered tcp transport module.
[    1.877661] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.879520] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.883253] Initialise system trusted keyrings
[    1.883533] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.893088] zbud: loaded
[    1.895197] FS-Cache: Netfs 'nfs' registered for caching
[    1.896081] NFS: Registering the id_resolver key type
[    1.896142] Key type id_resolver registered
[    1.896155] Key type id_legacy registered
[    1.896313] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.896328] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.897526] Key type asymmetric registered
[    1.897541] Asymmetric key parser 'x509' registered
[    1.897595] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.897610] io scheduler mq-deadline registered
[    1.897623] io scheduler kyber registered
[    1.902722] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.905842] Console: switching to colour frame buffer device 40x30
[    1.907631] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 320x240
[    1.913436] bcm2835-rng 3f104000.rng: hwrng registered
[    1.913884] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.914767] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.927018] brd: module loaded
[    1.939225] loop: module loaded
[    1.940970] Loading iSCSI transport class v2.0-870.
[    1.942825] usbcore: registered new interface driver lan78xx
[    1.942893] usbcore: registered new interface driver smsc95xx
[    1.942919] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.671190] Core Release: 2.80a
[    2.671206] Setting default values for core params
[    2.671237] Finished setting default values for core params
[    2.871628] Using Buffer DMA mode
[    2.871642] Periodic Transfer Interrupt Enhancement - disabled
[    2.871654] Multiprocessor Interrupt Enhancement - disabled
[    2.871668] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.871698] Dedicated Tx FIFOs mode

[    2.872171] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = aad04000 dma = 0xead04000 len=9024
[    2.872203] FIQ FSM acceleration enabled for :
              Non-periodic Split Transactions
              Periodic Split Transactions
              High-Speed Isochronous Endpoints
              Interrupt/Control Split Transaction hack enabled
[    2.872217] dwc_otg: Microframe scheduler enabled

[    2.872285] WARN::hcd_init_fiq:457: FIQ on core 1

[    2.872300] WARN::hcd_init_fiq:458: FIQ ASM at 807cb8b8 length 36

[    2.872317] WARN::hcd_init_fiq:497: MPHI regs_base at b0810000
[    2.872339] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.872377] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.872426] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    2.872480] Init: Port Power? op_state=1
[    2.872492] Init: Power Port (0)
[    2.872860] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.872878] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.872893] usb usb1: Product: DWC OTG Controller
[    2.872908] usb usb1: Manufacturer: Linux 5.10.103-v7+ dwc_otg_hcd
[    2.872923] usb usb1: SerialNumber: 3f980000.usb
[    2.873678] hub 1-0:1.0: USB hub found
[    2.873744] hub 1-0:1.0: 1 port detected
[    2.875014] dwc_otg: FIQ enabled
[    2.875027] dwc_otg: NAK holdoff enabled
[    2.875039] dwc_otg: FIQ split-transaction FSM enabled
[    2.875056] Module dwc_common_port init
[    2.875371] usbcore: registered new interface driver usb-storage
[    2.875729] mousedev: PS/2 mouse device common for all mice
[    2.877168] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.879618] sdhci: Secure Digital Host Controller Interface driver
[    2.879631] sdhci: Copyright© Pierre Ossman
[    2.880339] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    2.880632] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.881356] ledtrig-cpu: registered to indicate activity on CPUs
[    2.881620] hid: raw HID events driver © Jiri Kosina
[    2.881775] usbcore: registered new interface driver usbhid
[    2.881787] usbhid: USB HID core driver
[    2.886955] Initializing XFRM netlink socket
[    2.887001] NET: Registered protocol family 17
[    2.887165] Key type dns_resolver registered
[    2.887937] Registering SWP/SWPB emulation handler
[    2.888106] registered taskstats version 1
[    2.888139] Loading compiled-in X.509 certificates
[    2.888984] Key type ._fscrypt registered
[    2.888998] Key type .fscrypt registered
[    2.889011] Key type fscrypt-provisioning registered
[    2.900359] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.900458] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    2.900700] printk: console [ttyAMA0] enabled
[    2.903016] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.905299] sdhost: log_buf @ (ptrval) (ead07000)
[    2.953881] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.956880] of_cfs_init
[    2.957127] of_cfs_init: OK
[    2.958297] Waiting for root device PARTUUID=8e363696-02...
[    3.004503] Indeed it is in host mode hprt0 = 00021501
[    3.101387] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.105899] mmc0: new high speed SDHC card at address aaaa
[    3.106884] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    3.110251]  mmcblk0: p1 p2
[    3.150064] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.150161] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.151018] devtmpfs: mounted
[    3.158584] Freeing unused kernel memory: 1024K
[    3.174869] Run /sbin/init as init process
[    3.174881]  with arguments:
[    3.174892]    /sbin/init
[    3.174902]  with environment:
[    3.174913]    HOME=/
[    3.174924]    TERM=linux
[    3.214400] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.214650] Indeed it is in host mode hprt0 = 00001101
[    3.455895] usb 1-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice= 0.60
[    3.455921] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.455937] usb 1-1: Product: USB2.0 Hub
[    3.455952] usb 1-1: Manufacturer: VIA Labs, Inc.
[    3.456744] hub 1-1:1.0: USB hub found
[    3.456916] hub 1-1:1.0: 5 ports detected
[    3.736594] systemd[1]: System time before build time, advancing clock.
[    3.904145] NET: Registered protocol family 10
[    3.905646] Segment Routing with IPv6
[    3.981411] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    3.982686] systemd[1]: Detected architecture arm.
[    4.061851] systemd[1]: Set hostname to <retropie>.
[    4.205131] usb 1-1.1: new low-speed USB device number 3 using dwc_otg
[    4.252873] uart-pl011 3f201000.serial: no DMA platform data
[    4.414454] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c248, bcdDevice=73.10
[    4.414480] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.414497] usb 1-1.1: Product: Gaming Keyboard G105
[    4.414512] usb 1-1.1: Manufacturer: Logitech
[    4.430071] input: Logitech Gaming Keyboard G105 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C248.0001/input/input0
[    4.495284] hid-generic 0003:046D:C248.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech Gaming Keyboard G105] on usb-3f980000.usb-1.1/input0
[    4.515606] input: Logitech Gaming Keyboard G105 Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C248.0002/input/input1
[    4.585089] hid-generic 0003:046D:C248.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [Logitech Gaming Keyboard G105] on usb-3f980000.usb-1.1/input1
[    4.734455] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[    4.915680] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[    4.915705] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    4.915720] usb 1-1.3: Product: USB 10/100/1000 LAN
[    4.915735] usb 1-1.3: Manufacturer: Realtek
[    4.915751] usb 1-1.3: SerialNumber: 001000001
[    4.968405] random: systemd: uninitialized urandom read (16 bytes read)
[    5.004547] random: systemd: uninitialized urandom read (16 bytes read)
[    5.005677] systemd[1]: Listening on udev Control Socket.
[    5.006646] random: systemd: uninitialized urandom read (16 bytes read)
[    5.006993] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.008258] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.012039] systemd[1]: Created slice system-getty.slice.
[    5.013802] systemd[1]: Created slice User and Session Slice.
[    5.014909] systemd[1]: Listening on udev Kernel Socket.
[    5.015709] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    5.064488] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[    5.214295] i2c /dev entries driver
[    5.242949] mk_arcade_joystick_rpi: loading out-of-tree module taints kernel.
[    5.245278] usb 1-1.4: New USB device found, idVendor=7392, idProduct=b811, bcdDevice= 0.00
[    5.245284] mk_arcade_joystick_rpi: Freeplay Button Driver
[    5.245305] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.245320] usb 1-1.4: Product: Edimax N150 Adapter
[    5.245335] usb 1-1.4: Manufacturer: Realtek
[    5.245350] usb 1-1.4: SerialNumber: 08BEAC130289
[    5.292269] mk_arcade_joystick_rpi: request_module i2c_bcm2835 returned 0
[    5.292297] mk_arcade_joystick_rpi: I2C bus 1 opened
[    5.292310] mk_arcade_joystick_rpi: I2C bus timeout set to 10 ms
[    5.292322] mk_arcade_joystick_rpi: Analog auto center disable
[    5.292549] mk_arcade_joystick_rpi: X1 assigned to I2C address 0x48
[    5.292703] mk_arcade_joystick_rpi: X1 chip not found
[    5.292968] mk_arcade_joystick_rpi: Y1 assigned to I2C address 0x4D
[    5.293108] mk_arcade_joystick_rpi: Y1 chip not found
[    5.293355] mk_arcade_joystick_rpi: X2 assigned to I2C address 0x4B
[    5.293494] mk_arcade_joystick_rpi: X2 chip not found
[    5.293713] mk_arcade_joystick_rpi: Y2 assigned to I2C address 0x4F
[    5.293847] mk_arcade_joystick_rpi: Y2 chip not found
[    5.293955] mk_arcade_joystick_rpi: pad type requested : 4
[    5.293968] mk_arcade_joystick_rpi: pad type : 4
[    5.294011] setGpioPullUps RPi 3 and below
[    5.294045] mk_arcade_joystick_rpi: GPIO configured for pad0
[    5.294285] input: GPIO Controller 1 as /devices/virtual/input/input3
[    5.344499] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[    5.475709] usb 1-1.5: New USB device found, idVendor=2109, idProduct=8817, bcdDevice= 0.01
[    5.475728] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.475742] usb 1-1.5: Product: USB Billboard Device
[    5.475755] usb 1-1.5: Manufacturer: VIA Labs, Inc.
[    5.794675] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.931636] systemd-journald[108]: Received request to flush runtime journal from PID 1
[    6.584811] gpio-fan gpio-fan@0: GPIO fan initialized
[    6.586372] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.704232] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.733605] lib80211: common routines for IEEE802.11 drivers
[    6.733634] lib80211_crypt: registered algorithm 'NULL'
[    6.778929] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[    6.822086] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[    6.871212] usbcore: registered new interface driver r8188eu
[    6.992081] mc: Linux media interface: v0.10
[    7.031266] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    7.047760] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    7.047792] [vc_sm_connected_init]: start
[    7.054254] videodev: Linux video capture interface: v2.00
[    7.062095] [vc_sm_connected_init]: installed successfully
[    7.084888] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    7.116779] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    7.116786] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    7.125034] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    7.126232] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    7.134147] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    7.135710] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    7.136990] bcm2835_audio bcm2835_audio: card created with 4 channels
[    7.137275] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    7.137651] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    7.137682] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    7.137706] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    7.137727] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    7.137749] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    7.137985] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    7.138125] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    7.138169] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    7.143150] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    7.143279] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    7.144075] bcm2835_audio bcm2835_audio: card created with 4 channels
[    7.147485] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    7.147558] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    7.152543] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    7.152599] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    7.534639] usbcore: registered new interface driver r8152
[    7.554010] usbcore: registered new interface driver cdc_ether
[    7.575363] usbcore: registered new interface driver r8153_ecm
[    7.684569] usb 1-1.3: reset high-speed USB device number 4 using dwc_otg
[    7.883550] r8152 1-1.3:1.0: Direct firmware load for rtl_nic/rtl8153b-2.fw failed with error -2
[    7.883591] r8152 1-1.3:1.0: unable to load firmware patch rtl_nic/rtl8153b-2.fw (-2)
[    7.936182] r8152 1-1.3:1.0 eth0: v1.12.11
[    8.384141] random: crng init done
[    8.384165] random: 7 urandom warning(s) missed due to ratelimiting
[    9.314737] 8021q: 802.1Q VLAN Support v1.8
[    9.544518] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[  10.285120] MAC Address = 08:be:ac:13:02:89
[  10.341535] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  10.342807] r8152 1-1.3:1.0 eth0: carrier on
[  521.511139] mk_arcade_joystick_rpi: Exiting

The main thing that stands out to me is the "Chip not found" part. I have no idea how to resolve this and can't find anything online for it. 

Any help on figuring out what to do with this would be greatly appreciated.
Reply
#2
Update!

I thought the issue was that I did not have the joystick driver, so I went and installed it from the retropie menu. Now none of my inputs work.

Here's the output from ls /usr/src/

linux-headers-5.10.103+ mk_arcade_joystick_rpi-0.1.6.3
linux-headers-5.10.103-v7+ mk_arcade_joystick_rpi-0.1.7
linux-headers-5.10.103-v7l+ xpad-0.4


I'm at a complete loss on what to do now. There's no input whatsoever from anything on the gamepad.
Reply
#3
Hi AusLynch17!

So, in your 'dmesg' output, it's the "mk_arcade_joystick_rpi:" lines that are of interest.

The "chip not found" messages are when it's trying to find the analog chips. Are you using an analog add-on board? Are you trying to do analog at all? You said that you're installing joysticks, so I assume that means analog sticks. The buttons, dpad, shoulders, etc all use digital GPIO on the Raspberry Pi. The analog inputs use analog to digital chips that are on the i2c bus. So, your output shows that it's not finding these chips. Can you show some photos of the analog add-on board and how its soldered to the main board and how the joysticks are soldered to the add-on board?

The troubling part of your dmesg is actually the last line.
"[ 521.511139] mk_arcade_joystick_rpi: Exiting"

The number at the front is the timestamp. SO, it looks like the joystick driver is booting up fine and then after 511 seconds it exits. Perhaps this is when you tried to install a driver from the RetroPie menu?

Anyway, you already had the driver installed. Installing a new driver seems to have caused your driver to unload.

I don't think you have the same problem as https://forum.freeplaytech.com/showthread.php?tid=5307

I think that you (most likely) have something soldered incorrectly (or not making good contact) and it can't find the ADC (analog to digital converter) chips.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#4
Oh, and maybe post the output from this command:
i2cdetect -y 1


AND, if you want support via email (which may be easier for sending photos), go to https://www.freeplaytech.com/contact/ and create a SUPPORT ticket there. After you get a response, then you can attach photos easily. OR you can post photos here.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#5
Hello, thank you for the reply.

https://imgur.com/a/Jb2F41L

Here's a link to some photos of the build. I don't believe the soldering is the issue here because with a different SD card I'm running a fresh install of the Freeplay_CM3_Test-Retropie-4620051302 img and it will register all of my inputs using the analog sticks during setup and give the proper outputs of those, but it won't save that setup due to what I believe is the same driver issue that Weasel27 mentioned in their post "L2/r2 add on board error" which is strange to me.

The image giving these outputs is the Freeplay_CM3-and-Zero2_Test img, which so far was the only one that would natively work with my wifi adapter from Edimax.

I'd given up on the CM3 and Zero2 img since it won't register the chips and also doesn't have the brightness controller that the CM3Test4.6 has. It's been a rough back and forth between them both having different issues.

I can try resoldering it too if still looks like it might be an issue.
Reply
#6
Here's a list of things that stood out.

Using the CM3Retropie4.6 img I get this issue when trying to set up the joysticks:

Code:
gcc -o mk_joystick_config mk_joystick_config.cpp -lwiringPi -lpthread
sudo ./mk_joystick_config -maxnoise 60 -adcselect
###### Before Start ######
Very important: Because this program is design to create a new configuration fil                                                                                                                                                             e from scratch, it can really mess controls if something goes wrong.
If you think you have make a mistake somewhere, you will be able to restart anal                                                                                                                                                             og and GPIO part as you want.
Once the new configuration is setup, you may need to reconfigure input from the                                                                                                                                                              EmulationStation settings menu, you should also consider to restart your device.

###### Killing MK Arcade Joystick Rpi Driver ######
Driver killed with success

###### Bind button for User interaction ######
(A) button bind on pin 16
(B) button bind on pin 18

You are about to start new configuration


###### Analog part ######
4 ADC chip(s) detected
Please select the right type:
MCP3021A will be used

Very important: Calibration in progress
Please touch nothing for 5sec
Done

LEFT analog X axis detected, direction reversed

LEFT analog Y axis detected, direction reversed

RIGHT analog X axis detected, direction reversed

RIGHT analog Y axis detected

LEFT Analog limits :
X : 77 (0x4d) : min=1050  max=2987
Y : 75 (0x4b) : min=1099  max=3357
RIGHT Analog limits :
X : 72 (0x48) : min=766  max=2719
Y : 79 (0x4f) : min=839  max=3418
Does theses values look good? (A) for Yes, (B) to restart

Analog Auto Center is a feature that allow non-centered analog(s) stick (eg. PS                                                                                                                                                              Vita 1000) to work fine this the driver.
Important: if enable, you will need to NOT move the analog(s) stick until system                                                                                                                                                              fully started.
Feature disabled

###### GPIO part ######

Note: If (Hotkey) is bind to (Select) in EmulationStation, use the Power Slider                                                                                                                                                              as [Hotkey]
[Hotkey] button bind on pin 20
Hotkey mode set to Toggle

[Dpad Up] button bind on pin 4

[Dpad Down] button bind on pin 17

[Dpad Left] button bind on pin 6

[Dpad Right] button bind on pin 5

[A] button bind on pin 16

[B] button bind on pin 18

[X] button bind on pin 15

[Y] button bind on pin 24

[Start] button bind on pin 19

[Select] button bind on pin 26

[L1] button bind on pin 14

[R1] button bind on pin 23

[L2] button bind on pin 43

[R2] button bind on pin 42

[L3-C] button skipped

[R3-Z] button skipped

Press (B) to Restart the GPIO binding, (A) to Continue

###### Building configuration file ######

Configuration file sample:
options mk_arcade_joystick_rpi map=4 hkmode=2 i2cbus=1 x1addr=77 y1addr=75 x1dir                                                                                                                                                             =-1 x1params=1109,3046,16,300 y1dir=-1 y1params=739,1109,16,300 x2addr=72 y2addr                                                                                                                                                             =79 x2dir=-1 x2params=1377,3330,16,300 y2params=839,3418,16,300 gpio=4,17,6,5,19                                                                                                                                                             ,26,16,18,23,24,15,14,-20,43,42,-1,-1,-1,-1,-1,-1

Are you really sure? (A) for Yes, (B) for No
Backup: '/etc/modprobe.d/mk_arcade_joystick-1995465056.bak'
Saved: '/etc/modprobe.d/mk_arcade_joystick.conf'

Restarting MK Arcade Joystick Rpi Driver
modprobe: ERROR: could not insert 'mk_arcade_joystick_rpi': Invalid argument
Something went wrong... Revert back
Restored: '/etc/modprobe.d/mk_arcade_joystick.conf'

Restarting MK Arcade Joystick Rpi Driver
modprobe: ERROR: could not insert 'mk_arcade_joystick_rpi': Invalid argument
sudo mv /opt/retropie/configs/all/emulationstation/es_input.cfg /opt/retropie/co                                                                                                                                                             nfigs/all/emulationstation/es_input.cfg.bak
SYSTEM SHUTTING DOWN NOW
sudo reboot

Trying the command i2cdetect -y 1 using the CM3 4.6 img simply states that the command was not found. I believe the driver isn't loaded.

Alternatively, on the CM3 and Zero2 img using i2cdetect -y 1 gets me:
Code:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Dead nothing on all -y inputs.
Reply
#7
This makes me wonder if the i2c isn’t turned on on that image. That seems odd. In the main menu under retro pie I think there is some thing like raspi-config.

In there, there would be something like interfaces and then i2c that you could turn on.

I’m just on my phone right now, but if you can find that you might want to turn it on and then reboot.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#8
Wasn't sure exactly which image you were referring to so I armed it on both and it didn't change either response. Cm3 4.6 says command not found and Cm3+Zero2 gives the same empty lines.

Interestingly, while in the retropie-setup menu I was constantly getting a left input cycling through the menu options on the CM3+Zero2 img but not on the Cm3 4.6 img. Could be an issue with one of the contacts there, so I will end up resoldering this thing later.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)