o0Zz / sys-con

Nintendo Switch sysmodule that allows support for third-party controllers (XBox, PSX, PC, ...)
GNU General Public License v3.0
74 stars 5 forks source link

Cosmic Byte Xbox360 controller not working #25

Closed vbspk closed 4 months ago

vbspk commented 4 months ago

Thanks in advance for giving a new life to this project.

Information Atmosphere version: 1.7.1 Switch OS version: 18.1.0 Syscon version: 1.2.2 Controller: Cosmic Byte Xbox360 controller wired controller

Description The controller is powered on but not connecting to the console. The logs for the controller pid-vid(045e-028e) Reports an error "Failed to acquire USB interface - - Error: 0x25A8C (Module: 0x8C, Desc: 0x12D) ! ". I could see the same pid-vid present in the config file, so didn't add new entry. I also disabled mission control form hekate-toolbox and rebooted my console. I am able to use this controller on windows 11 laptop. log[1].log

o0Zz commented 4 months ago

Hi, There is something incorrect in your configuration I think, from the log we can see:

|I|00:01:39.322|6194A0D0| Initializing Generic controller (Interface count: 1) ...

Which means sys-con try to load your controller as "generic" controller and not as xbox360 (that probably the issue).

Try to add profile=xbox360 in the section [057e-2009] and let me know the result

vbspk commented 4 months ago

Hi @o0Zz ,

I was also confused to see why its printing different id (057e-2009) initially. I found that this id corresponds to switch pro controller(Attached screenshot for your reference). After a while it switches from this id to (045e-028e), not sure why. I am also attaching the screenshot from windows control panel with hardware id of the controller.

Anyways i changed the config.ini by adding this id with xbox360 profile. Still its not working.

ConfigAndLogs.zip

vbspk commented 4 months ago

Hi @o0Zz ,

I just tried changing the discovery mode from 0 to 1 and its working. Looks like my controller has option to switch its behavior when its connected to PC and Nintendo switch, never thought this cheap 15$ controller would be compatible with switch. So to use other 3rd party controllers along with this one i have to add the vid-pids manually in the config right..? Or do I have to do more changes..?

o0Zz commented 4 months ago

I didn't know controllers could do that (switch on the fly from switch to xbox360). In any case. you're right, if you can't force this controller to stay in xbox mode then you need to set discovery mode to 1 and provide a list of vid-* you want to support. Theoretically discovery=1 will support all xbox360 controllers + the list you provide and according to what I saw there is a very hudge number of controllers that simulate the xbox360 so there is a big chance most of the controllers you plug in will works.

vbspk commented 4 months ago

Ok, good to know that all xbox360 controllers are supported with discovery mode 1. Thanks a lot for all the help.