Kyuunex / hid-sony-clone-fix-dkms

A quick hack to the hid-sony driver meant for the third party / clone DS4 controllers that do not support HID feature report 0x81.
GNU General Public License v2.0
4 stars 1 forks source link

Error: Driver 'sony' is already registered, aborting... #4

Closed shurahbeelkhan closed 1 year ago

shurahbeelkhan commented 1 year ago

After cloning and makepkg -si once the install has been completed, I reconnected the controller (same output with and w/o a USB hub) and this was the output from dmesg:

[ 3306.678325] usb 1-2.2: USB disconnect, device number 18
[ 3309.701552] usb 1-2.2: new full-speed USB device number 19 using xhci_hcd
[ 3309.793296] usb 1-2.2: New USB device found, idVendor=054c, idProduct=05c4, bcdDevice= 1.00
[ 3309.793311] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3309.793318] usb 1-2.2: Product: Wireless Controller
[ 3309.793324] usb 1-2.2: Manufacturer: Sony Computer Entertainment
[ 3314.973658] sony 0003:054C:05C4.0012: failed to retrieve feature report 0x81 with the DualShock 4 MAC address
[ 3314.973860] sony 0003:054C:05C4.0012: hidraw5: USB HID v81.11 Gamepad [Sony Computer Entertainment Wireless Controller] on usb-0000:00:14.0-2.2/input0
[ 3314.973869] sony 0003:054C:05C4.0012: failed to claim input
[ 3315.581132] Error: Driver 'sony' is already registered, aborting...

I am on kernel 6.1.22-1-lts

shurahbeelkhan commented 1 year ago

After looking into the project files it seems like the blacklist thing didn't work after manually unloading the hid_sony module by sudo rmmod hid_sony the controller is detected and is working Thanks a bunch