MiSTer-devel / Linux-Kernel_MiSTer

Other
12 stars 17 forks source link

Latest MiSTer/Linux (?) update breaks SNES Switch Online controller USB compatibility #7

Open ziaddemir opened 2 years ago

ziaddemir commented 2 years ago

Hi, I've been using the SNES Switch pad plugged into my MiSTer with a USB cable as my go-to and never had issues, but the latest update seems to have broken compatibility (now the controller just charges.) I do recall reading that there's been a change to how Linux polls inputs/how Bluetooth works and I assume they're related somehow, so I thought I'd bring it to everybody's attention here.

Kitrinx commented 2 years ago

I am using a Nintendo Switch SNES controller, and while the pairing lights cycle back and forth, it seems to be giving me normal inputs. Perhaps try remapping the controller?

sorgelig commented 2 years ago

I don't have such gamepad, and it's impossible to buy it freely. So i cannot test it myself. However the driver is the same as it was in Kernel v4.19. The same driver is used for Switch Pro gamepad which works fine.

sorgelig commented 2 years ago

try this kernel version: zImage_dtb.zip unzip it and replace existing one.

ziaddemir commented 2 years ago

try this kernel version: zImage_dtb.zip unzip it and replace existing one.

replaced the file via FTP, turned the power off and back on, and now i'm now the MiSTer isn't outputting a signal to my TV anymore. :x filezilla can't find it via wifi anymore either

EDIT: i did download the previous version of the file before transferring as a backup but i'm not sure if i can just plop the SD card in my computer (i'm on mac) and replace it again?

Kitrinx commented 2 years ago

replace the file manually, sounds like it got corrupted

ziaddemir commented 2 years ago

replace the file manually, sounds like it got corrupted

i put the old file back but i'm still not getting a signal :/

Kitrinx commented 2 years ago

filezilla by default will make files with no extensions as text files, so corrupt them. It should work again if you remove the sd card, put it in your computer, and copy the kernel file to /media/fat/linux by hand

ziaddemir commented 2 years ago

okay, i manually transferred over the file sorgelig linked and the MiSTer is turning on again AND the controller is working like before!

sorgelig commented 2 years ago

great!

pplatoon commented 2 years ago

could you remove from update / all to update the linux version? there is a problem in a path that simply does not leave a file and the permissions it leaves after update / all on it does not allow to fix it. I tell you this because it would solve problems before they change the linux.img

sorgelig commented 2 years ago

i've no idea what are you talking about

Left-Empty commented 10 months ago

This is old, but I just tried that controller on the Mister and it's the weirdest behaviour: Unplugged it work fine, but as soon as I plug it in it cycles light in an aryhtmic way, as if power was turning on and off, and even pressing the "pairing buttons" is interrupted pretty much instantly. I'd love to be able to use it plugged.