07-17-2022, 06:38 AM
I spoke too soon :|
I'm getting a different output in dmesg than before, this made me think everything had been detected correctly through I2C yesterday. But then I took a closer look at the dmesg output:
Is it possible the i2c module changed for the cm4? Since I'm getting `request_module i2c_bcm2835 returned 0` in the dmesg too.
PS: ...I am using the exact same config I had in modprobe.d/mk_arcade_joystick.conf for the CM3 image:
I'm getting a different output in dmesg than before, this made me think everything had been detected correctly through I2C yesterday. But then I took a closer look at the dmesg output:
Code:
pi@retropie:~ $ dmesg | grep mk
[ 3.634517] mk_arcade_joystick_rpi: loading out-of-tree module taints kernel.
[ 3.636086] mk_arcade_joystick_rpi: Freeplay Button Driver
[ 3.683198] mk_arcade_joystick_rpi: request_module i2c_bcm2835 returned 0
[ 3.683220] mk_arcade_joystick_rpi: I2C bus 1 NOT opened (sleeping and retrying)
[ 4.194358] mk_arcade_joystick_rpi: I2C bus 1 NOT opened (sleeping and retrying)
[ 4.714363] mk_arcade_joystick_rpi: I2C bus 1 NOT opened (sleeping and retrying)
[ 5.234362] mk_arcade_joystick_rpi: I2C bus 1 opened
[ 5.234381] mk_arcade_joystick_rpi: I2C bus timeout set to 10 ms
[ 5.234396] mk_arcade_joystick_rpi: Analog auto center disable
[ 5.234568] mk_arcade_joystick_rpi: X1 assigned to I2C address 0x48
[ 5.234701] mk_arcade_joystick_rpi: X1 chip not found
[ 5.234921] mk_arcade_joystick_rpi: Y1 assigned to I2C address 0x4D
[ 5.235037] mk_arcade_joystick_rpi: Y1 chip not found
[ 5.235240] mk_arcade_joystick_rpi: X2 assigned to I2C address 0x4B
[ 5.235352] mk_arcade_joystick_rpi: X2 chip not found
[ 5.235554] mk_arcade_joystick_rpi: Y2 assigned to I2C address 0x4F
[ 5.235681] mk_arcade_joystick_rpi: Y2 chip not found
[ 5.235822] mk_arcade_joystick_rpi: pad type requested : 4
[ 5.235842] mk_arcade_joystick_rpi: pad type : 4
[ 5.235906] mk_arcade_joystick_rpi: GPIO configured for pad0
Is it possible the i2c module changed for the cm4? Since I'm getting `request_module i2c_bcm2835 returned 0` in the dmesg too.
PS: ...I am using the exact same config I had in modprobe.d/mk_arcade_joystick.conf for the CM3 image:
Code:
options mk_arcade_joystick_rpi map=4 hkmode=2 i2cbus=1 x1addr=72 y1addr=77 x2addr=75 y2addr=79 x1params=663,3431,16,300 y1params=629,3485,16,300 x2params=753,3477,16,300 y2params=657,3446,16,300 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,-1,41,-1,-1,-1,-1