Skip to content

Compatibility with generic pro controllers #10

Open

Description

@Woazboat

Hi, I installed the driver via the dkms module but connecting the controller via bluetooth fails with the following error messages in the kernel log

[ 8274.330816] nintendo 0005:057E:2009.0006: unknown main item tag 0x0
[ 8274.331071] nintendo 0005:057E:2009.0006: hidraw2: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on xx:xx:xx:xx:xx:xx
[ 8276.544262] nintendo 0005:057E:2009.0006: controller MAC = 80:A5:03:61:63:25
[ 8277.054077] nintendo 0005:057E:2009.0006: Failed to set home LED dflt; ret=-110
[ 8277.054085] nintendo 0005:057E:2009.0006: Failed to create leds; ret=-110
[ 8277.054400] nintendo 0005:057E:2009.0006: probe - fail = -110
[ 8277.558071] leds 0005:057E:2009.0006:home: Setting an LED's brightness failed (-110)
[ 8278.062004] leds 0005:057E:2009.0006:player4: Setting an LED's brightness failed (-110)
[ 8278.566018] leds 0005:057E:2009.0006:player3: Setting an LED's brightness failed (-110)
[ 8279.070042] leds 0005:057E:2009.0006:player2: Setting an LED's brightness failed (-110)
[ 8279.574077] leds 0005:057E:2009.0006:player1: Setting an LED's brightness failed (-110)

(Same issue as previously reported here: nicman23/dkms-hid-nintendo#4 )

Edit: I'm using a generic pro controller

Activity

  1. rodolpheh commented on May 15, 2020

    @rodolpheh

    I also have the same issue with a generic Pro Controller, here is the relevant dmesg messages :

    [  175.268848] hid-generic 0005:057E:2009.0008: unknown main item tag 0x0
    [  175.268961] input: Pro Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:256/0005:057E:2009.0008/input/input46
    [  175.280499] hid-generic 0005:057E:2009.0008: input,hidraw5: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on xx:xx:xx:xx:xx:xx
    [  175.341003] nintendo 0005:057E:2009.0008: unknown main item tag 0x0
    [  175.341138] nintendo 0005:057E:2009.0008: hidraw5: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on xx:xx:xx:xx:xx:xx
    [  177.449401] nintendo 0005:057E:2009.0008: controller MAC = 62:E1:2A:CC:63:25
    [  177.976426] nintendo 0005:057E:2009.0008: Failed to set home LED dflt; ret=-110
    [  177.976428] nintendo 0005:057E:2009.0008: Failed to create leds; ret=-110
    [  177.976641] nintendo 0005:057E:2009.0008: probe - fail = -110
    [  178.509678] leds 0005:057E:2009.0008:home: Setting an LED's brightness failed (-110)
    [  179.042939] leds 0005:057E:2009.0008:player4: Setting an LED's brightness failed (-110)
    [  179.576166] leds 0005:057E:2009.0008:player3: Setting an LED's brightness failed (-110)
    [  180.109424] leds 0005:057E:2009.0008:player2: Setting an LED's brightness failed (-110)
    [  180.642676] leds 0005:057E:2009.0008:player1: Setting an LED's brightness failed (-110)
    [  180.642772] nintendo: probe of 0005:057E:2009.0008 failed with error -110
    

    Let me know if you need more information.

  2. Woazboat commented on May 15, 2020

    @Woazboat
    Author

    Okay, I think I know what the actual problem is. The generic chinese pro controller clone I'm using doesn't actually have an led under the home button unlike the real pro controller.

    https://www.aliexpress.com/item/4000571346668.html

  3. Woazboat commented on May 15, 2020

    @Woazboat
    Author

    Connecting to the controller works after simply disabling the home LED in joycon_leds_create(), however none of the inputs seem to be recognized.

    /* configure the home LED */
    if (false && jc_type_has_right(ctlr)) {
    //...
    [13580.885490] hid-generic 0005:057E:2009.0003: unknown main item tag 0x0
    [13580.885725] input: Pro Controller as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/bluetooth/hci0/hci0:256/0005:057E:2009.0003/input/input28
    [13580.886100] hid-generic 0005:057E:2009.0003: input,hidraw2: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on xx:xx:xx:xx:xx:xx
    [13580.891310] hid_nintendo: loading out-of-tree module taints kernel.
    [13580.891409] hid_nintendo: module verification failed: signature and/or required key missing - tainting kernel
    [13580.944392] nintendo 0005:057E:2009.0003: unknown main item tag 0x0
    [13580.944585] nintendo 0005:057E:2009.0003: hidraw2: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on xx:xx:xx:xx:xx:xx
    [13583.015320] nintendo 0005:057E:2009.0003: controller MAC = 80:A5:03:61:63:25
    [13583.021817] input: Nintendo Switch Pro Controller as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/bluetooth/hci0/hci0:256/0005:057E:2009.0003/input/input29
    [13583.021945] input: Nintendo Switch Pro Controller IMU as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/bluetooth/hci0/hci0:256/0005:057E:2009.0003/input/input30
    
  4. rodolpheh commented on May 15, 2020

    @rodolpheh

    I tried the same, with the same result... I also have the same controller than you.

  5. changed the title [-]Failed to set home LED dflt; ret=-110[/-] [+]Compatibility with generic pro controllers[/+] on May 23, 2020
  6. Woazboat commented on May 23, 2020

    @Woazboat
    Author

    Changed the issue name since it seems like this is not a simple fix. I've tried to get my controller to produce HID input reports over bluetooth, but haven't been successful so far.

  7. dogtopus commented on May 23, 2020

    @dogtopus

    Okay, I think I know what the actual problem is. The generic chinese pro controller clone I'm using doesn't actually have an led under the home button unlike the real pro controller.

    https://www.aliexpress.com/item/4000571346668.html

    I know this is not hid-sony but IIRC they explicitly stated that they won't make extra effort supporting knockoffs that don't work already since there are just too many of then all with their own quirks.

    (Well unless if your knockoff controller used some unsupported official method to select "supported features" like 3rd party PS4 controllers. In that case support definitely sounds possible if the dev is willing to do it. Again seems that hid-sony didn't really got the interest to do this for their supported devices. I think the Xbox controller driver did though.)

  8. DanielOgorchock commented on Jun 6, 2020

    @DanielOgorchock
    Owner

    There is a conversation in the hid-nintendo latest patchset thread on the linux-input mailing list discussing how to handle the generic clones.

    I think supporting them will be tricky when they don't support the full interface, but maybe portions of the driver can be tweaked to fail gracefully without exiting the probe. The thing about that which makes me weary is if that ends up masking real errors on the official controllers.

  9. ludenticus commented on Jul 5, 2020

    @ludenticus

    After a whole system reinstall, fiddling with dkms modules and changing distro, I found finally found out here that it was a hardware-related issue. Such a shame, provided the quality of the clone.

    Thanks anyway, @DanielOgorchock

  10. SimonDaniel21 commented on Jul 14, 2020

    @SimonDaniel21

    my pro controller clone also has the same issue, but works flawless with my android phone over bluetooth...

  11. jorants commented on Jul 27, 2020

    @jorants

    To add some information:
    I recently bought an off-brand pro controller that works perfectly fine on the switch and android as well.
    This one

    Similar errors over bluetooth:

    [ 5880.300160] nintendo 0005:057E:2009.0005: unknown main item tag 0x0
    [ 5880.300363] nintendo 0005:057E:2009.0005: hidraw1: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on e4:70:b8:52:ec:79
    [ 5884.359242] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [ 5884.359248] nintendo 0005:057E:2009.0005: using factory cal for left stick
    [ 5886.385707] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [ 5886.385711] nintendo 0005:057E:2009.0005: using factory cal for right stick
    [ 5888.412576] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [ 5888.412581] nintendo 0005:057E:2009.0005: Failed to read left stick cal, using dflts; e=-110
    [ 5890.439234] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [ 5890.439241] nintendo 0005:057E:2009.0005: Failed to read right stick cal, using dflts; e=-110
    [ 5892.465897] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [ 5892.465901] nintendo 0005:057E:2009.0005: using factory cal for IMU
    [ 5894.492594] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [ 5894.492600] nintendo 0005:057E:2009.0005: Failed to read IMU cal, using defaults; ret=-110
    [ 5894.492602] nintendo 0005:057E:2009.0005: Unable to read IMU calibration data
    [ 5896.519246] nintendo 0005:057E:2009.0005: Failed to set report mode; ret=-110
    [ 5897.052570] nintendo 0005:057E:2009.0005: Failed to enable rumble; ret=-110
    [ 5897.052953] nintendo 0005:057E:2009.0005: probe - fail = -110
    [ 5897.052978] nintendo: probe of 0005:057E:2009.0005 failed with error -110
    

    When connecting over USB and switching to switch mode (it first pretends to be an XBOX controller) i get :

    [ 6542.305622] usb 1-9: new full-speed USB device number 67 using xhci_hcd
    [ 6542.428960] usb 1-9: device descriptor read/64, error -71
    [ 6542.679072] usb 1-9: New USB device found, idVendor=057e, idProduct=2009, bcdDevice= 2.00
    [ 6542.679074] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 6542.679075] usb 1-9: Product: Pro Controller
    [ 6542.679076] usb 1-9: Manufacturer: Nintendo Co., Ltd.
    [ 6542.679078] usb 1-9: SerialNumber: 000000000001
    [ 6542.699657] nintendo 0003:057E:2009.0007: hidraw1: USB HID v81.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-0000:00:14.0-9/input0
    [ 6546.812296] nintendo 0003:057E:2009.0007: failed reading SPI flash; ret=-110
    [ 6546.812297] nintendo 0003:057E:2009.0007: using factory cal for left stick
    [ 6548.838972] nintendo 0003:057E:2009.0007: failed reading SPI flash; ret=-110
    [ 6548.838974] nintendo 0003:057E:2009.0007: using factory cal for right stick
    [ 6550.865644] nintendo 0003:057E:2009.0007: failed reading SPI flash; ret=-110
    [ 6550.865645] nintendo 0003:057E:2009.0007: Failed to read left stick cal, using dflts; e=-110
    [ 6552.892302] nintendo 0003:057E:2009.0007: failed reading SPI flash; ret=-110
    [ 6552.892304] nintendo 0003:057E:2009.0007: Failed to read right stick cal, using dflts; e=-110
    [ 6554.918961] nintendo 0003:057E:2009.0007: failed reading SPI flash; ret=-110
    [ 6554.918964] nintendo 0003:057E:2009.0007: using factory cal for IMU
    [ 6556.945626] nintendo 0003:057E:2009.0007: failed reading SPI flash; ret=-110
    [ 6556.945628] nintendo 0003:057E:2009.0007: Failed to read IMU cal, using defaults; ret=-110
    [ 6556.945629] nintendo 0003:057E:2009.0007: Unable to read IMU calibration data
    [ 6558.972267] nintendo 0003:057E:2009.0007: Failed to set report mode; ret=-110
    [ 6559.505642] nintendo 0003:057E:2009.0007: Failed to enable rumble; ret=-110
    [ 6559.505822] nintendo 0003:057E:2009.0007: probe - fail = -110
    [ 6559.505832] nintendo: probe of 0003:057E:2009.0007 failed with error -110
    [ 6559.505858] usbcore: registered new interface driver usbhid
    [ 6559.505859] usbhid: USB HID core driver
    
  12. hcsaustrup commented on Aug 18, 2020

    @hcsaustrup

    I just tested the same controller today on RetroPie, and got the same (kind of) result. The controller pairs up nicely through bluetooth, and is visible with the "jstest" app. The four numbered LEDs are blinking and none of the buttons seem to do anything at all. Again, the build quality seems quite nice, so it would be awesome if it worked :-/

  13. albfan commented on Sep 27, 2020

    @albfan

    Hi, I'm using a HORIPAD (aliexpress cheapest ones) and everything seems to be mapped correctly using dkms hid-nintendo, expect for:

    ABS_RX which looks like only map the half of the movement.

    Using generic hid driver, axis are correctly mapped so I supposed there was something incorrect here.

    After add some traces on ABS_RX, ABS_RY, ABS_X and ABX_Y:

    diff --git c/src/hid-nintendo.c i/src/hid-nintendo.c
    index 5d47968..6f77fa6 100644
    --- c/src/hid-nintendo.c
    +++ i/src/hid-nintendo.c
    @@ -1231,9 +1231,12 @@ static void joycon_parse_report(struct joycon_ctlr *ctlr,
                    x = joycon_map_stick_val(&ctlr->left_stick_cal_x, raw_x);
                    y = -joycon_map_stick_val(&ctlr->left_stick_cal_y, raw_y);
                    /* report sticks */
    +               hid_dbg(ctlr->hdev, "axis ABS_X: raw_x:%hu x=%ld\n",raw_x, x);
                    input_report_abs(dev, ABS_X, x);
    +               hid_dbg(ctlr->hdev, "axis ABS_Y: raw_y:%hu y=%ld\n",raw_y, y);
                    input_report_abs(dev, ABS_Y, y);
     
    +
                    /* report buttons */
                    input_report_key(dev, BTN_TL, btns & JC_BTN_L);
                    input_report_key(dev, BTN_TL2, btns & JC_BTN_ZL);
    @@ -1287,7 +1290,10 @@ static void joycon_parse_report(struct joycon_ctlr *ctlr,
                    x = joycon_map_stick_val(&ctlr->right_stick_cal_x, raw_x);
                    y = -joycon_map_stick_val(&ctlr->right_stick_cal_y, raw_y);
                    /* report sticks */
    +
    +               hid_dbg(ctlr->hdev, "axis ABS_RX: raw_x:%hu x:%ld\n",raw_x, x);
                    input_report_abs(dev, ABS_RX, x);
    +               hid_dbg(ctlr->hdev, "axis ABS_RY: raw_y:%hu y:%ld\n",raw_y, y);
                    input_report_abs(dev, ABS_RY, y);
     
                    /* report buttons */
    

    I see no major difference on input, but calibration is different:

    [21098.090523] nintendo 0003:057E:2009.002C: using factory cal for left stick
    [21098.090528] nintendo 0003:057E:2009.002C: requesting SPI flash data
    [21098.113164] nintendo 0003:057E:2009.002C: using user cal for right stick
    [21098.113176] nintendo 0003:057E:2009.002C: requesting SPI flash data
    [21098.129168] nintendo 0003:057E:2009.002C: requesting SPI flash data
    [21098.145237] nintendo 0003:057E:2009.002C: calibration:
                   l_x_c=2020 l_x_max=3500 l_x_min=379
                   l_y_c=2013 l_y_max=3573 l_y_min=535
                   r_x_c=15 r_x_max=1251 r_x_min=-135
                   r_y_c=1555 r_y_max=2900 r_y_min=-2336
    
    

    Not sure where that info comes from, but see right cal comes from user.

    I just use the calibration from left joycon and that just works. Well it needs a manual calibration later, but not it is centered.

    diff --git i/src/hid-nintendo.c w/src/hid-nintendo.c
    index 6f77fa6..800e4bd 100644
    --- i/src/hid-nintendo.c
    +++ w/src/hid-nintendo.c
    @@ -768,7 +768,8 @@ static int joycon_request_calibration(struct joycon_ctlr *ctlr)
            }
     
            /* read the right stick calibration data */
    -       ret = joycon_read_stick_calibration(ctlr, right_stick_addr,
    +       ret = joycon_read_stick_calibration(ctlr, left_stick_addr,
                                                &ctlr->right_stick_cal_x,
                                                &ctlr->right_stick_cal_y,
                                                false);
    

    Not sure if there's a way to detect this controller and use a different address for user calibration. Any ideas on how to find specs and how to detect this controller would be appreciated to provide a patch.

  14. DanielOgorchock commented on Sep 27, 2020

    @DanielOgorchock
    Owner

    Do you have a nintendo switch you could use to recalibrate the controller? If not, I'd try hardcoding joycon_check_for_cal_magic() to always return 1, making the controller use factory calibrations for both sticks. It sounds like there's bad user calibration data stored for the right stick, and the magic value is present, telling the driver to read the bad data.

  15. albfan commented on Sep 28, 2020

    @albfan

    @DanielOgorchock Do you think this is general issue? As this is a generic pro controller, my suspiction is that only cheap generic ones has this problems:

    I have a pro controller and generic joycons to test (note squared + and - buttons, this are the cheapest ones):

    image
    image

    Probably I can check with original ones and see if they behave different.

    when the dkms (I'm on kernel 5.4 lts) is not active the axis are reported as 057e:2009 (pro controller), but as no driver deals with that, they are disconnected and reported as 0f0d:00c1 (horypad):

    dmesg --follow
    [14882.673977] usb 2-1.1: new full-speed USB device number 21 using ehci-pci
    [14882.829410] usb 2-1.1: New USB device found, idVendor=057e, idProduct=2009, bcdDevice= 0.20
    [14882.829417] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [14882.829421] usb 2-1.1: Product: Pro Controller
    [14882.829425] usb 2-1.1: Manufacturer: Nintendo Co., Ltd.
    [14882.829428] usb 2-1.1: SerialNumber: 000000000001
    [14882.832869] input: Nintendo Co., Ltd. Pro Controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:057E:2009.000E/input/input36
    [14882.833320] hid-generic 0003:057E:2009.000E: input,hidraw0: USB HID v1.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-0000:00:1d.0-1.1/input0
    
    [14883.914066] usb 2-1.1: USB disconnect, device number 21
    
    [14884.453983] usb 2-1.1: new full-speed USB device number 22 using ehci-pci
    [14884.608810] usb 2-1.1: New USB device found, idVendor=0f0d, idProduct=00c1, bcdDevice= 5.72
    [14884.608817] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [14884.608821] usb 2-1.1: Product: Switch Controller
    [14884.608824] usb 2-1.1: Manufacturer:  
    [14884.611064] input:   Switch Controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:0F0D:00C1.000F/input/input37
    [14884.611606] hid-generic 0003:0F0D:00C1.000F: input,hidraw0: USB HID v1.11 Gamepad [  Switch Controller] on usb-0000:00:1d.0-1.1/input0
    

    from horipad the axis are reported as: ABS_ZZAN from 0-255 while on hid-nintendo they are reported as ABS_RX from -23764
    to 32767. After manual calibration:

    Captura de pantalla de 2020-09-28 12-45-27

    it works as expected.

    Wonder if there's a way that dkms or kernel when it land on 5.10 attends an external config file, so you can calibrate joycons or procontroller for you personal use case. I can work a patch on that.

    After that I want to fix the led (not available for joycons but available and not working for procontroller home) and add SL SR buttons (recognized on horipad, but not on hid-nintendo.

    I review the @nadiaholmquist improvements and think that SL and SR are covered there so I can help reviewing those.

  16. 109 remaining items

  17. LudovicLemarinel commented on May 16, 2023

    @LudovicLemarinel

    I'm totally disappointed :
    I had to reinstall my computer, and I can't even make a genuine pro controller to work and have its IMU recognized on AntiMicroX...

    I still have this in dmesg :

    [ 1080.868054] usb 3-1: new full-speed USB device number 12 using xhci_hcd
    [ 1081.042253] usb 3-1: New USB device found, idVendor=057e, idProduct=2009, bcdDevice= 2.10
    [ 1081.042262] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1081.042266] usb 3-1: Product: Pro Controller
    [ 1081.042269] usb 3-1: Manufacturer: Nintendo Co., Ltd.
    [ 1081.042272] usb 3-1: SerialNumber: 000000000001
    [ 1081.074872] input: Nintendo Co., Ltd. Pro Controller as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-1/3-1:1.0/0003:057E:2009.0009/input/input60
    [ 1081.075287] hid-generic 0003:057E:2009.0009: input,hidraw5: USB HID v1.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-0000:04:00.4-1/input0
    [ 1081.197031] nintendo 0003:057E:2009.0009: hidraw5: USB HID v81.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-0000:04:00.4-1/input0
    [ 1082.090876] nintendo 0003:057E:2009.0009: using factory cal for left stick
    [ 1082.130568] nintendo 0003:057E:2009.0009: using factory cal for right stick
    [ 1082.234657] nintendo 0003:057E:2009.0009: using factory cal for IMU
    [ 1082.434673] nintendo 0003:057E:2009.0009: controller MAC = D0:55:09:BC:51:FA
    [ 1082.514630] input: Nintendo Switch Pro Controller as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-1/3-1:1.0/0003:057E:2009.0009/input/input61
    [ 1082.515141] input: Nintendo Switch Pro Controller IMU as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-1/3-1:1.0/0003:057E:2009.0009/input/input62
    

    , but evtest shows one input device, which doesn't send motion events....

    I've tried with dkms-hid-nintendo module, but still the same...
    What did I forgot ?

    Edit : Finally found it : I had to add a udev rule so the second input event device would have the correct access rights !
    Now AntiMicroX and even yuzu recognize it !

  18. cipitaua commented on May 16, 2023

    @cipitaua

    I'm totally disappointed : I had to reinstall my computer, and I can't even make a genuine pro controller to work and have its IMU recognized on AntiMicroX...

    if it's a genuine pro controller this is not the right thread. glad you solved though

  19. okorpela commented on Jun 22, 2023

    @okorpela

    How do I get the controller to the Switch Mode while connected to USB? I have a PXN 9607x, but it only shows as X-Box 360 pad.

  20. dmadisetti commented on Jul 11, 2023

    @dmadisetti

    Is there a list of generic pads that work with or without tweaks?

    I bought one cold off amazon only to find the reported vendor ID corresponded to a XBox360 controller, at which point there's only so much I can do without messing with xpad too

  21. ShalokShalom commented on Dec 27, 2023

    @ShalokShalom

    My device is a "Battletron Game Controller" (suitable for Nintendo Switch) that reports with 057e:2009, so the classical Nintendo Switch Pro Controller ID.

    I still did not manage to pair it. I use a KDE based system, and it does find the controller as an available bluetooth device, and it seems like it wants some input as confirmation.

    The GUI of KDE indicates that it does its part of the sync, and the controller is not answering.

    9650560_Battletron-Controller-Nintendo-Switch_original

    What can I do?

  22. joaorb64 commented on Dec 30, 2023

    @joaorb64

    Sharing knowledge from the devices I have here:

    image

    PXN-9607X

    Wired: Detected as an xbox controller (surprisingly, RZ and ZL are analog inputs). I've edited nintendolic to make it so the driver takes over it. It fails to enable everything and just doesn't respond to any input.
    Bluetooth: Fails to enable everything, doesn't respond to input. If I rmmod hid_nintendo and disable joycond, it actually works but there's no IMU (motion).

    image

    J-C PAD

    I'm pretty sure these are the joycons I bought, but I threw away the package too soon. I think it's this product, but mine is in pastel purple/green.
    They're identical to the original ones and all buttons/analog sticks feel the same, maybe Rs/Ls might have a different resistance but it's impressive how close it is to the real thing. The right one has a black plastic under it which makes me think it even supports IR, but I have no games to test it on.
    Works really well over bluetooth, only rumble doesn't. Tested with joycond-cemuhook and motion works well.

    And this is what I mean in "failed to load everything":
    image

  23. joaorb64 commented on Dec 30, 2023

    @joaorb64

    For documentation purposes, here's the output when I connect the PXN-9607X controller:

    [  287.914363] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [  287.914371] Bluetooth: HIDP socket layer initialized
    [  287.915169] hid-generic 0005:057E:2009.0005: unknown main item tag 0x0
    [  287.915268] input: Pro Controller as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-4/1-4:1.0/bluetooth/hci0/hci0:512/0005:057E:2009.0005/input/input25
    [  287.915611] hid-generic 0005:057E:2009.0005: input,hidraw3: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on 14:85:7f:0b:02:dd
    [  288.001421] nintendo 0005:057E:2009.0005: unknown main item tag 0x0
    [  288.001739] nintendo 0005:057E:2009.0005: hidraw3: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on 14:85:7f:0b:02:dd
    [  292.080529] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [  292.080541] nintendo 0005:057E:2009.0005: using factory cal for left stick
    [  294.128340] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [  294.128348] nintendo 0005:057E:2009.0005: using factory cal for right stick
    [  296.180580] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [  296.180602] nintendo 0005:057E:2009.0005: Failed to read left stick cal, using defaults; e=-110
    [  298.223993] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [  298.224005] nintendo 0005:057E:2009.0005: Failed to read right stick cal, using defaults; e=-110
    [  300.271815] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [  300.271823] nintendo 0005:057E:2009.0005: using factory cal for IMU
    [  302.323646] nintendo 0005:057E:2009.0005: failed reading SPI flash; ret=-110
    [  302.323655] nintendo 0005:057E:2009.0005: Failed to read IMU cal, using defaults; ret=-110
    [  302.323657] nintendo 0005:057E:2009.0005: Unable to read IMU calibration data
    [  304.371483] nintendo 0005:057E:2009.0005: Failed to set report mode; ret=-110
    [  304.371649] nintendo 0005:057E:2009.0005: probe - fail = -110
    [  304.371666] nintendo: probe of 0005:057E:2009.0005 failed with error -110
    
    
  24. dylanmilesmsu commented on Jan 17, 2024

    @dylanmilesmsu

    ksnip_20240117-144129
    This is what shows up when connecting my RetroFighters BattlerGC

  25. dietolive-tw commented on Jan 24, 2024

    @dietolive-tw

    Anyone with 3rdParty pro-controller that can not work, may try to use my patch:#40 (comment)

  26. ShalokShalom commented on Jan 24, 2024

    @ShalokShalom

    Thanks a lot

    @DanielOgorchock I would like to test this change, although I am not sure I manage to apply that patch and compile the whole thing for myself.

    Do you think there is any chance you might merge this?
    I hope to see this in a release one day, thanks.

  27. TheKarls commented on May 14, 2024

    @TheKarls

    Hi guys, I want to add my contribute to this issue.
    I have a similar problem with a generic switch wireless controller. I solved this downgrading bluez package to 5.50.
    Hope it helps!

  28. a2daz commented on Nov 5, 2025

    @a2daz

    Hi @dietolive-tw , I have a controller doesn't work at all.
    I have tried upgrade hid-nintendo.c to 6.8.0, but it still not work.

    Dmesg as follow:
    6.1.25
    [ 1.370097] calling nintendo_hid_driver_init+0x0/0x20 @ 1
    [ 1.370964] initcall nintendo_hid_driver_init+0x0/0x20 returned 0 after 22 usecs
    [ 474.990100] nintendo 0005:057E:2009.0002: hidraw1: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on
    [ 478.295807] nintendo 0005:057E:2009.0002: using user cal for left stick
    [ 479.084437] nintendo 0005:057E:2009.0002: using user cal for right stick
    [ 479.313216] nintendo 0005:057E:2009.0002: Failed to read left stick cal, using defaults; e=-22
    [ 480.436963] nintendo 0005:057E:2009.0002: using factory cal for IMU
    [ 483.187149] nintendo 0005:057E:2009.0002: Failed to enable rumble; ret=-110
    [ 483.189044] nintendo 0005:057E:2009.0002: probe - fail = -110
    [ 483.189972] nintendo: probe of 0005:057E:2009.0002 failed with error -110

    6.8.0:
    [ 1.370623] calling nintendo_hid_driver_init+0x0/0x20 @ 1
    [ 1.371492] initcall nintendo_hid_driver_init+0x0/0x20 returned 0 after 22 usecs
    [ 122.427682] nintendo 0005:057E:2009.0002: hidraw1: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on
    [ 122.867448] nintendo 0005:057E:2009.0002: controller MAC = 98:B6:E9:EB:FB:0C
    [ 123.657613] nintendo 0005:057E:2009.0002: using user cal for left stick
    [ 125.003035] nintendo 0005:057E:2009.0002: using user cal for right stick
    [ 126.805682] nintendo 0005:057E:2009.0002: Failed to read left stick cal, using defaults; e=-22
    [ 128.154430] nintendo 0005:057E:2009.0002: using factory cal for IMU
    [ 128.940997] nintendo 0005:057E:2009.0002: inaccurate IMU divisors (3)
    [ 131.047075] nintendo 0005:057E:2009.0002: Failed to enable the IMU; ret=-110
    [ 131.048090] nintendo 0005:057E:2009.0002: Failed to initialize controller; ret=-110
    [ 131.049601] nintendo 0005:057E:2009.0002: probe - fail = -110
    [ 131.050474] nintendo: probe of 0005:057E:2009.0002 failed with error -110

    Are there any suggestion about this issue?

    Image
  29. cipitaua commented on Nov 5, 2025

    @cipitaua

    Hi @dietolive-tw , I have a controller doesn't work at all. I have tried upgrade hid-nintendo.c to 6.8.0, but it still not work.
    Are there any suggestion about this issue?

    yes, try to use the nintendolic driver:
    https://gitlab.com/cipitaua/dkms-hid-nintendolic

  30. a2daz commented on Nov 5, 2025

    @a2daz

    Hi @dietolive-tw , I have a controller doesn't work at all. I have tried upgrade hid-nintendo.c to 6.8.0, but it still not work.
    Are there any suggestion about this issue?

    yes, try to use the nintendolic driver: https://gitlab.com/cipitaua/dkms-hid-nintendolic

    What's the kernel version based on?

  31. morallo commented on Sep 13, 2026

    @morallo

    Not directly related to hid-nintendo but I thought some people here could find this information useful:
    I have two N-SL SW001 Switch-compatible controllers like this:

    Image

    They don't work over Bluetooth on PC. The hid-nintendo probe times out (ret: -110) because the report_descriptor of the controller is incorrect. However, they work with the Switch, so the protocol they speak is close enough.

    I have created a custom BPF filter that fixes the BT input and output reports between the host and the controller and makes it compatible with hid-nintendo and SDL.

    https://github.com/morallo/nsl-sw001-hid/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions