You are not logged in.

#1 2026-11-24 23:04:40

aptGrammatist
Member
Registered: 2026-11-24
Posts: 6

[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.

Offline

#2 2026-11-24 23:52:44

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

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 Yesterday 01:32:56

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

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 Yesterday 06:01:28

ismailarilik
Member
From: Turkey
Registered: 2023-04-10
Posts: 30
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 Yesterday 10:49:34

aptGrammatist
Member
Registered: 2026-11-24
Posts: 6

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

Offline

#6 Yesterday 10:54:41

aptGrammatist
Member
Registered: 2026-11-24
Posts: 6

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.

Offline

#7 Yesterday 10:55:25

aptGrammatist
Member
Registered: 2026-11-24
Posts: 6

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

Offline

#8 Yesterday 17:08:20

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

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

Offline

#9 Yesterday 18:11:45

aptGrammatist
Member
Registered: 2026-11-24
Posts: 6

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)

Offline

#10 Today 04:10:56

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

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

aptGrammatist wrote:

usb 1-1.3: New USB device found, idVendor=0f0d, idProduct=00c1, bcdDevice= 1.00
...
usb 1-1.3: New USB device found, idVendor=0f0d, idProduct=00dc, bcdDevice= 1.00

When initially connected, it represents itself as HID device.
When plugged later, it represents itself as some XBox device.
It looks like the controller decides how to represent itself on its own. Probably depending on time interval between powering on and control request from host controller, but that's not certain.
I doubt you can do anything about this on OS level.

UPD: See https://hori.jp/image/2018/10/nsw-107_manual_en.pdf, "L/R to ZL/ZR Toggle Function". Doesn't seem relevant.

Last edited by dimich (Today 05:13:37)

Offline

#11 Today 07:31:34

aptGrammatist
Member
Registered: 2026-11-24
Posts: 6

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

dimich wrote:
aptGrammatist wrote:

usb 1-1.3: New USB device found, idVendor=0f0d, idProduct=00c1, bcdDevice= 1.00
...
usb 1-1.3: New USB device found, idVendor=0f0d, idProduct=00dc, bcdDevice= 1.00

When initially connected, it represents itself as HID device.
When plugged later, it represents itself as some XBox device.
It looks like the controller decides how to represent itself on its own. Probably depending on time interval between powering on and control request from host controller, but that's not certain.
I doubt you can do anything about this on OS level.

UPD: See https://hori.jp/image/2018/10/nsw-107_manual_en.pdf, "L/R to ZL/ZR Toggle Function". Doesn't seem relevant.

Fuuuuuuuuuuuuuuuuuck

Okay it explains it then. Thanks a lot
Also I've never thought that there IS a manual for this controller. Thanks a lot 2.

I won't close this issue for now, because what if like, someone in 5 years finds this thread and will know the solution? And also it's technically not solved, so yeah

Offline

#12 Today 10:14:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,060

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

Does it respond to https://archlinux.org/packages/extra/x8 … odeswitch/ ?
The device shows w/ this on some reddit threads and github issues, no complete resolution (one is lacking uaccess but that doesn't seem to be your issue at all)

https://www.reddit.com/r/SteamControlle … itch_mode/
If you don't mind *which* mode is used this suggests you can force the device to re-enumerate as XBOX controller ¯\_(ツ)_/¯

Offline

Board footer

Powered by FluxBB