You are not logged in.

#1 Yesterday 23:04:40

aptGrammatist
Member
Registered: Yesterday
Posts: 5

[ISSUE] Switch controller sometimes has its mappings messed up

Hey guys. Sometimes, when I reconnect my Switch controller (Hori Battle Pad) it connects as a different device (still a Hori Battle Pad but different?) and has A button switched with B, X with Y and triggers with bumpers.

It wasn't a huge issue untill today when it refused to have its buttons match its input even after like, 5 PC restarts. Mind that the PC still sees it as a Switch Pro controller, as it does when the inputs are normal.

So, any idea how can I with this?

I use KDE Plasma 6 btw.

Online

#2 Yesterday 23:52:44

loqs
Member
Registered: 2014-03-06
Posts: 19,137

Re: [ISSUE] Switch controller sometimes has its mappings messed up

Is the USB identifier the same for both device identities?  Do different udev rules fire for the different identities?

Offline

#3 Today 01:32:56

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 855

Re: [ISSUE] Switch controller sometimes has its mappings messed up

What does "connects as a different device" mean? Do you have two or more switch controllers and they are mixed up? Or you have single one but it is not properly recognized? If latter, how exactly "PC still sees it as a Switch Pro controller", i.e. where do you see this?
What do you use to configure mapping?
Please post journal containing messages that appear after controller plugged in. It would be helpful to see journal for both cases: when it works as expected and when it's "messed up".

Offline

#4 Today 06:01:28

ismailarilik
Member
From: Turkey
Registered: 2023-04-10
Posts: 29
Website

Re: [ISSUE] Switch controller sometimes has its mappings messed up

Was it after an update to the linux package? Does linux-lts make it work?

Offline

#5 Today 10:49:34

aptGrammatist
Member
Registered: Yesterday
Posts: 5

Re: [ISSUE] Switch controller sometimes has its mappings messed up

loqs wrote:

Is the USB identifier the same for both device identities?  Do different udev rules fire for the different identities?

If I understand you correctly, no. The USB identifier is not the same, really

When it works correctly:
j9c2d1.png

When it's all messed up:
la6uoh.png

And I'm also not sure what a udev is, sorry

Online

#6 Today 10:54:41

aptGrammatist
Member
Registered: Yesterday
Posts: 5

Re: [ISSUE] Switch controller sometimes has its mappings messed up

dimich wrote:

What does "connects as a different device" mean? Do you have two or more switch controllers and they are mixed up? Or you have single one but it is not properly recognized? If latter, how exactly "PC still sees it as a Switch Pro controller", i.e. where do you see this?
What do you use to configure mapping?
Please post journal containing messages that appear after controller plugged in. It would be helpful to see journal for both cases: when it works as expected and when it's "messed up".

I use the default driver (or daemon, idk what's the difference here) that comes with Plasma.

I see the "PC still recognizes it as a Switch Pro controller" part in the Plasma settings.

When it works correctly it shows this:
j9c2d1.png

And when it works INcorrectly, it shows this:
la6uoh.png

And also I'm not sure how and where can I get the journal, sorry.

Online

#7 Today 10:55:25

aptGrammatist
Member
Registered: Yesterday
Posts: 5

Re: [ISSUE] Switch controller sometimes has its mappings messed up

ismailarilik wrote:

Was it after an update to the linux package? Does linux-lts make it work?

Its been like this for a while. Half a year or so

Online

#8 Today 17:08:20

loqs
Member
Registered: 2014-03-06
Posts: 19,137

Re: [ISSUE] Switch controller sometimes has its mappings messed up

Offline

#9 Today 18:11:45

aptGrammatist
Member
Registered: Yesterday
Posts: 5

Re: [ISSUE] Switch controller sometimes has its mappings messed up

thanks a lot loqs! So, here's the journal:

When my computer starts and the controller works as it's supposed to:

Nov 25 19:54:40 mark kernel: usb 1-1.3: New USB device found, idVendor=0f0d, idProduct=00c1, bcdDevice= 1.00
Nov 25 19:54:40 mark kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 19:54:40 mark kernel: usb 1-1.3: Product: HORIPAD S
Nov 25 19:54:41 mark kernel: usb 1-1.3: Manufacturer: HORI CO.,LTD
Nov 25 19:54:41 mark steam[1500]: [2026-11-25 19:54:40] Using update UI: sdl
Nov 25 19:54:41 mark steam[1500]: 11/25 19:54:41 Init: Installing breakpad exception handler for appid(steam)/v
ersion(0)/tid(1595)
Nov 25 19:54:41 mark steam[1500]: [2026-11-25 19:54:41] Create window
Nov 25 19:54:41 mark kernel: input: HORI CO.,LTD HORIPAD S as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb
1/1-1/1-1.3/1-1.3:1.0/0003:0F0D:00C1.0008/input/input26
Nov 25 19:54:41 mark kernel: hid-generic 0003:0F0D:00C1.0008: input,hidraw7: USB HID v1.11 Gamepad [HORI CO.,LT
D HORIPAD S] on usb-0000:04:00.3-1.3/input0
Nov 25 19:54:41 mark mtp-probe[1731]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:08.1/0000:04:0
0.3/usb1/1-1/1-1.3"

When I disconnect and then connect the controller and it's all messed up:

Nov 25 19:51:17 mark kernel: hub 1-1:1.0: USB hub found
Nov 25 19:51:17 mark kernel: hub 1-1:1.0: 4 ports detected
Nov 25 19:51:17 mark kernel: usb 1-1.3: new full-speed USB device number 9 using xhci_hcd
Nov 25 19:51:17 mark kernel: usb 1-1.3: New USB device found, idVendor=0f0d, idProduct=00dc, bcdDevice= 1.00
Nov 25 19:51:17 mark kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 19:51:17 mark kernel: usb 1-1.3: Product: HORIPAD S
Nov 25 19:51:17 mark kernel: usb 1-1.3: Manufacturer: HORI CO.,LTD
Nov 25 19:51:17 mark kernel: usb 1-1.3: SerialNumber: 78927561
Nov 25 19:51:17 mark kernel: input: HORIPAD FPS for Nintendo Switch as /devices/pci0000:00/0000:00:08.1/0000:04
:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input30

And the udev monitor when I plug the controller in and it's messed up:

KERNEL[759.823994] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3 (usb)
KERNEL[759.911751] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0 (usb)
KERNEL[759.911829] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/leds/xpad0 (leds)
KERNEL[759.911914] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input39 (input)
KERNEL[759.912110] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input39/event16 (input)
KERNEL[759.912184] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input39/js0 (input)
KERNEL[759.912266] bind     /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0 (usb)
KERNEL[759.912376] bind     /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3 (usb)
UDEV  [759.926160] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3 (usb)
UDEV  [759.933135] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0 (usb)
UDEV  [759.945742] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input39 (input)
UDEV  [759.946396] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/leds/xpad0 (leds)
UDEV  [759.963773] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input39/js0 (input)
UDEV  [760.002078] add      /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/input/input39/event16 (input)
UDEV  [760.010135] bind     /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0 (usb)
UDEV  [760.025553] bind     /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3 (usb)

Online

Board footer

Powered by FluxBB