usb – the PS4 controller does not connect

It just shines and blinks in orange. I've connected the ps4 controller to a friend this way before mine, and it worked, but mine did not work.

I do not have Bluetooth or adapter to use or test. I pressed the small button on the back of the controller while it was plugged in, but it did not work.

I am on Ubuntu 18.10.

Found this post and I get the same thing.

$ uname -r
4.18.0-13-generic
$ tail -f /var/log/kern.log
December 26 19:55:47 PC core: [ 2442.627095] usb 3-10: USB disconnection, device number 15
December 26th 19:59:17 PC core: [ 2652.069256] usb 3-10: new USB device full speed number 16 using xhci_hcd
December 26th 19:59:17 PC core: [ 2652.218539] USB 3-10: new USB device found, idVendor = 054c, idProduct = 05c4, bcdDevice = 1.00.
December 26th 19:59:17 PC core: [ 2652.218546] USB 3-10: New USB Device Strings: Mfr = 1, Product = 2, SerialNumber = 0
December 26th 19:59:17 PC core: [ 2652.218550] usb 3-10: Product: Wireless Controller
December 26th 19:59:17 PC core: [ 2652.218554] USB 3-10: Manufacturer: Sony Computer Entertainment
December 26th 19:59:22 PC core: [ 2657.377374] Sony 0003: 054C: 05C4.0018: failure to retrieve feature report 0x81 with MAC address DualShock 4
December 26th 19:59:22 PC core: [ 2657.377620] sony 0003: 054C: 05C4.0018: hidraw17: HID USB stick v81.11 [Sony Computer Entertainment Wireless Controller] on usb-0000: 00: 14.0-10 / input0
December 26th 19:59:22 PC core: [ 2657.377623] Sony 0003: 054C: 05C4.0018: failure of the entry claim
December 26th, 20:01:08 PC core: [ 2763.516279] usb 3-10: USB disconnection, device number 16

As soon as I plug it in:

December 26th, 20:01:55 PC core: [ 2810.533011] USB 3-10: New 17 Full Speed ​​USB Device Using xhci_hcd
December 26th, 20:01:55 PC core: [ 2810.682396] USB 3-10: new USB device found, idVendor = 054c, idProduct = 05c4, bcdDevice = 1.00.
December 26th, 20:01:55 PC core: [ 2810.682403] USB 3-10: New USB Device Strings: Mfr = 1, Product = 2, SerialNumber = 0
December 26th, 20:01:55 PC core: [ 2810.682407] usb 3-10: Product: Wireless Controller
December 26th, 20:01:55 PC core: [ 2810.682411] USB 3-10: Manufacturer: Sony Computer Entertainment
26 December 20:02:00 PC core: [ 2815.845170] Sony 0003: 054C: 05C4.0019: Failed to retrieve feature report 0x81 with MAC address DualShock 4
26 December 20:02:00 PC core: [ 2815.845404] sony 0003: 054C: 05C4.0019: hidraw18: USB stick HID v81.11 [Sony Computer Entertainment Wireless Controller] on usb-0000: 00: 14.0-10 / input0
26 December 20:02:00 PC core: [ 2815.845407] sony 0003: 054C: 05C4.0019: failure of the entry claim

lsusb shows my friend's controller even when it is not connected.

Bus Peripheral 003 018: ID 054c: 05c4 Sony Corp. DualShock 4