danielogorchock / joycond Goto Github PK
View Code? Open in Web Editor NEWuserspace daemon to combine joy-cons from the hid-nintendo kernel driver
License: GNU General Public License v3.0
userspace daemon to combine joy-cons from the hid-nintendo kernel driver
License: GNU General Public License v3.0
When I run cmake . in the command terminal, I get this:
-- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred! See also "/home/DarthCaesium/joycond/CMakeFiles/CMakeOutput.log". See also "/home/DarthCaesium/joycond/CMakeFiles/CMakeError.log".
I have already run clone git https://github.com/DanielOgorchock/joycond/
, cd joycond
, sudo apt install libevdev-dev
and sudo apt install libudev-dev
.
If it helps, I'm running Linux Mint Cinnamon 20.2.
I cannot connect with bluetooth, as neither the default bluetooth manager in cinnamon(blueberry), blueman, or even bluetoothctl are able to connect to the pro controller as it disconnects. The same happens with joycons. When I connect the pro controller with USB the lights blink but when I try to pair, the lights flash like they normally would when trying to connect with a switch.
I have built a custom linux kernel(using these instructions) with these patches. I have made sure to enable the HID-nintendo functionality in the config file. HID-nintendo is in my kernel. I can verify that /usr/lib/modules/5.5.1-arch1-1/kernel/drivers/hid/hid-nintendo.ko.xz exists.
I am going to try building hid-nintendo as a module. This could very well be a problem with the HID-nintendo patch.
I'm on ubuntu-devel (kernel 5.11), the pro controller (nintendo original) connects fine via bluetooth, the player LEDs start blinking periodically. However, pressing L+R doesn't stop them blinking.
This is dmesg output:
[ 2029.584797] input: Lic Pro Controller as /devices/virtual/misc/uhid/0005:0F0D:00F6.0005/input/input25
[ 2029.585276] hid-generic 0005:0F0D:00F6.0005: input,hidraw0: BLUETOOTH HID v0.01 Gamepad [Lic Pro Controller] on d8:f2:ca:b8:f6:95
~$ service joycond status
● joycond.service - joycond
Loaded: loaded (/etc/systemd/system/joycond.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-04-26 11:00:43 CEST; 40min ago
Main PID: 1303 (joycond)
Tasks: 1 (limit: 18585)
Memory: 1000.0K
CGroup: /system.slice/joycond.service
└─1303 /usr/bin/joycond
apr 26 11:00:43 carbone systemd[1]: Started joycond.
apr 26 11:00:43 carbone joycond[1303]: adding epoll_subscriber: fd=4
Please add an install()
clause for doc/joycond.1
to CMakeLists.txt
so it is automatically installed.
I suggest that when holding a certain set of buttons for a while (say, SL and SR/R and ZR/ZL and ZR for 3 secs) it should open a dialog asking to disconnect, and if you answer yes it should SAFELY disconnect them. I'm always anxious I've disconnected them wrong and/or screwed something up, so this would be really helpful.
It would be nice to expose a D-Bus interface which would give clients info/control over the joycons
When running sudo make install, I receive the following error.
CMakeFiles/joycond.dir/build.make:131: recipe for target 'CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o' failed
make[2]: *** [CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/joycond.dir/all' failed
make[1]: *** [CMakeFiles/joycond.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
Above this are a number of further error messages, all of which look like this (suggesting some kind of variable name incompatibilities):
virt_ctlr_combined.cpp:277:56: error: 'BTN_TRIGGER_HAPPY4' was not declared in this scope
libevdev_enable_event_code(virt_evdev, EV_KEY, BTN_TRIGGER_HAPPY4, NULL);
Does anyone know how I might resolve this? Thanks!
I installed hid-nintendo with dkms and joycond on my manjaro system. Using the joy-cons in horizontal mode (for party games). One of the axes get inverted on each joy-con: Y on the left, X on the right joy-con. In Steam Big Picture mode I got it right using SDL_GamepadBind configuration:
"SDL_GamepadBind"
"050000007e0500000720000001800000,dev:xb1:Nintendo Switch Right Joy-Con,platform:Linux,a:b2,b:b1,y:b3,x:b0,start:b9,guide:b8,leftstick:b10,leftx:a1~,lefty:a0,lefttrigger:b4,righttrigger:b6,
050000007e0500000620000001800000,dev:xb1:Nintendo Switch Left Joy-Con,platform:Linux,a:b8,b:b9,y:b10,x:b7,start:b0,guide:b5,leftstick:b6,leftx:a1,lefty:a0~,lefttrigger:b2,righttrigger:b4,"
In games the axes remain inverted, despite the other bindings working.
Is it possible to implement an option, where the evdev device gets the already inverted joystick controls (and this way no further configuration would be needed)?
Hey there. I try to connect one or 2 as combined joycon, without success. :/
AUR: https://aur.archlinux.org/packages/joycond-git/
My Manjaro:
Linux mymy-manjaro 5.4.6-2-MANJARO #1 SMP PREEMPT Tue Dec 24 15:55:20 UTC 2019 x86_64 GNU/Linux
What I do:
sudo systemctl enable --now joycond
sudo systemctl status joycond
got:
Loaded: loaded (/etc/systemd/system/joycond.service; enabled; vendor
preset: disabled)
Active: active (running) since Wed 2020-01-08 08:47:26 CET; 6min ago
Main PID: 578 (joycond)
Tasks: 1 (limit: 4915)
Memory: 1004.0K
CGroup: /system.slice/joycond.service
└─578 /usr/bin/joycond
Jan 08 08:47:26 mymy-manjaro systemd[1]: Started joycond.
Jan 08 08:47:26 mymy-manjaro joycond[578]: adding epoll_subscriber: fd=4
Can you anybody help me, did I do something wrong?
Joycond doesn't provide opportunity to merge two individual joycons.
hid_nintendo is loaded, player light 1 & 2 showing on the respective joycons. Load joycond via sudo joycond
and the lights blink and go back to 1 & 2. There is no way to choose the pairing mode, so unable to combine both joycons.
The messages shown are:
adding epoll_subscriber: fd=4
Creating new phys_ctlr for /dev/input/event3
chmod failedFound Left Joy-Con
driver_name: Nintendo Switch Left Joy-Con
MAC: 98:B6:E9:83:F0:45
adding epoll_subscriber: fd=6
Lone controller paired
Creating new phys_ctlr for /dev/input/event31
chmod failedFound Right Joy-Con
driver_name: Nintendo Switch Right Joy-Con
MAC: 98:B6:E9:58:94:5A
adding epoll_subscriber: fd=16
Lone controller paired
Looks like there is a chmod failed
between creating a new controller and the device detection but I don't have any idea what could be wrong besides that.
I don't really have time to send PR myself right now, so I'll leave this as an issue:
compile_commands.json
on every build?${CMAKE_CURRENT_BINARY_DIR}
or ${CMAKE_CURRENT_SOURCE_DIR}
, as not doing this breaks not in-tree builds (mkdir build && cd build && sudo make install
fails):install(FILES "${CMAKE_CURRENT_BINARY_DIR}/joycond" ...
)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/udev/89-joycond.rules" "${CMAKE_CURRENT_SOURCE_DIR}/udev/72-joycond.rules" ...
)
Note: (Sorry if this issue is listed in a strange way, I'm unfamiliar with github and it's Comment Structure ha ha.)
**Cmake will output something along the lines of this:
-- Checking for module 'libevdev'
-- Package 'libevdev', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:556 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:778 (_pkg_check_modules_internal)
CMakeLists.txt:10 (pkg_check_modules)**
Installed the needed package as described in the error, multiple times, restarted my pc, updated repositories, etc
I honestly have no idea if it's cmake . that is not detecting the package I've downloaded or if I'm doing something wrong (Which is most likely the case because I'm new to fedora.)
I've been trying to find solutions for this problem for hours now and yet I cannot find anything even remotely related to Fedora when it comes to this software. I've seen different solutions which can all essentially be summed down to "sudo apt-get install libudev-dev" (Which of course is only related to people who uses Ubuntu and other distros of the sort) Which as I stated before I attempted to download the necessary packages and after doing so I still get the same error message.
For sake of Haste I will be glad to display the Output log file, but within another Comment.
I installed joycond from the AUR, ran sudo systemctl enable --now joycond and attempted to connect my joycons with and without the hid-nintendo-dkms and/or hid-nintendo-nso-dkms package from the AUR. Any combination above lead to the same result. I upgraded my base linux kernel from the testing branch which is on 5.11.14 now. Which should have hid-nintendo already built into the kernel. I have libevdev version 1.11.0-1
It still just lets me pair the joycons and says connected but my joycons stay blinking and the pattern never changes. Pressing L+R or L+LZ(R+RZ) won't do anything. The joycons just continue to flash. When running joycond at user level I get "Failed to open /dev/input/event16 : errno=13"
When running as root I get-
"no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.3/1-4.4.3:1.0/bluetooth/hci0/hci0:256/0005:057E:2006.0005/input/input26/event16/device/device/leds/*player4"
I'm aware Hekate can do this for railed joycons and create a bluez config to be used in Linux and Android. Would be nice to be able to dump pair pro controller pairing info automatically within Linux and have a bluez config be created (since it will never be supported in Hekate since CT doesn't want to put usb mode in hekate).
Just something to keep on the back of your mind incase you are ever searching for something to do.
Similar to the previous issue I reported back when the single joycons were showing up before combined, the IMU are now showing up before the combined when using Bluetiooth.
Maybe hide these as well?
INFO: There are 3 joysticks attached
INFO: Joystick 0: Nintendo Switch Left Joy-Con IMU
INFO: axes: 6
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 0
INFO: instance id: 0
INFO: guid: 050000007e0500000620000001800000
INFO: VID/PID: 0x057e/0x2006
INFO: Joystick 1: Nintendo Switch Right Joy-Con IMU
INFO: axes: 6
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 0
INFO: instance id: 1
INFO: guid: 050000007e0500000720000001800000
INFO: VID/PID: 0x057e/0x2007
INFO: Joystick 2: Nintendo Switch Combined Joy-Cons
INFO: axes: 4
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 22
INFO: instance id: 2
INFO: guid: 060000007e0500000820000000000000
INFO: VID/PID: 0x057e/0x2008
INFO:
The single joycon inputs are killed which is nice but SDL still sees them first meaning games will try and use those "dead" inputs.
I had to manually remove /dev/input/event5 and 6 to have SDL only see the combined. Then it worked fine in games with the combined mapped in gamecontrollerdb.txt
INFO: There are 3 joysticks attached
INFO: Joystick 0: Nintendo Switch Left Joy-Con
INFO: axes: 4
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 18
INFO: instance id: 0
INFO: guid: 050000007e0500000620000001000000
INFO: VID/PID: 0x057e/0x2006
INFO: Joystick 1: Nintendo Switch Right Joy-Con
INFO: axes: 4
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 18
INFO: instance id: 1
INFO: guid: 050000007e0500000720000001000000
INFO: VID/PID: 0x057e/0x2007
INFO: Joystick 2: Nintendo Switch Combined Joy-Cons
INFO: axes: 4
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 18
INFO: instance id: 2
INFO: guid: 050000007e0500000620000001000000
INFO: VID/PID: 0x057e/0x2006
INFO: Watching joystick 2: (Nintendo Switch Combined Joy-Cons)
INFO: Joystick has 4 axes, 0 hats, 0 balls, and 18 buttons
INFO:
make: *** No rule to make target 'install'. Stop.
Joycond's behaviour seems to have changed recently, it's now taking controller input from my Pro Controller with Left Control Stick to move the mouse cursor on screen, as well as taking button inputs as a means for click on things or opening context menus., and I can't get it to disable it after reconnecting the Pro Controller.
This is not a normal behaviour for input for controller input when connected, and this hasn't happened before. It only does this when I start Joycond. How do I disable Joycond mapping the controller to mouse input?
I have the following motherboard:
I'm using both the wifi & bluetooth adapters from the motherboard.
When I paired the two joycons (left & right) and press the triggers to combine them into one controller, the wifi connection begins to works bad, it renders inusable, however the connection seems to be right according to the NetworkManager tray icon.
When I disconnect any of the joycons, the wifi connection begins to works OK immediately.
I think I'm missing something here. I cannot pair the switch pro controller both on wired or Bluetooth mode. I'm using Manjaro Linux with 5.14.10-1-MANJARO kernel, so I think I do not need hid-nintendo-dkms, then I installed only the joycond-git package.
Bluetooth:
I press the pair top bottom on the pro controller, it connects as "Pro Controller (/dev/input/js0)" and the LEDs still blinking (I think it is what is it is supposed to do). However, both L + R and [+] + [-] button combination do nothing. The LEDs still blinking and nothing changes on the Linux input devices. I can even play dinput based games, but the LEDs still blinking and I cannot play xinput based games (including Steam itself and big picture) because I cannot choose virtual controller pair mode.
Wired:
I connect the controller on the PC and nothing happens. The battery charge LED turns on, but Linux doesn't recognize it. If a press any button on the control the LEDs will start blinking and it tries to connect using Bluetooth, despite being connected with a USB cable. The pairs button combinations does nothing.
What I'm doing wrong?
I have done a bit of research, but is unclear how to uninstall this. When I installed it, I followed the instructions in the readme.
Unlike most Linux distros android uses its own uevent library, this should be supported.
Putting here to track my progress.
BTW, when I tried to use the joycon driver with android I never got any subcmd reply reports sent back as reply to calib read, I just get a barrage of 0x3f packets.
I received an error while applying the "cmake ." command. I received the following message (full log attached);
"
-- Checking for module 'libevdev'
-- No package 'libevdev' found
CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal)
CMakeLists.txt:10 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/mumrik/joycond/CMakeFiles/CMakeOutput.log".
"
CMakeOutput.log
After managing to pair my joycons and having them as one controller i've found that the dpad, triggers and bumpers aren't assigned properly. in xbox cloud gaming (at least) the dpad doesnt seem to be mapped properly and neither do the triggers or bumpers. This is causing some issues within the games i am trying to play. The A and B buttons appear to be swapped as well but isnt as much of a problem as the others as they are just swapped.
Is there anyway to manually change the mapping myself or have i done something to break the daemon? If you need specific logs i can provide.
i can't pair joycons with SL+SR, L+R, etc
● joycond.service - joycond
Loaded: loaded (/etc/systemd/system/joycond.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-08-12 12:25:15 EEST; 13s ago
Main PID: 4821 (joycond)
Tasks: 1 (limit: 19023)
Memory: 384.0K
CPU: 3ms
CGroup: /system.slice/joycond.service
└─4821 /usr/bin/joycond
Aug 12 12:25:15 fedora systemd[1]: Started joycond.
Aug 12 12:25:15 fedora joycond[4821]: adding epoll_subscriber: fd=4
theres the logs, (yes they are full logs)
I'm using MX Linux KDE version, by default it boot without systemd, and this way is recommended by developers from MX team. Could you make joycond working on such system?
Not sure whether to file this as a Steam bug or a bug here, but considering how Valve doesn't seem to respond to Switch controller issues, I figured I'd start here.
I tried updating to the new joycond and it works in one sense, where Valve no longer seriously messes up the status of the Pro controller outside of Steam. Unfortunately, the detection still has a few issues, namely:
Honestly, I'm seriously questioning whether it's really worth it to add these kinds of workarounds since it seems that no matter what, there's going to be something breaking until Valve properly supports the driver, but 🤷🏻.
Found the following system log output while querying service status:
systemd[1]: Configuration file /etc/systemd/system/joycond.service is marked executable. Please remove executable permission bits. Proceeding anyway.
joycond is built from the build_deb.sh script.
When connecting my Pro Controller Pressing L+R or pressing + and - does nothing. The controller appears to be still in pairing mode. The picks the controller up just fine. I am on Manjaro using the 5.13.5-1 Kernel. I installed this via the AUR package joycond-git which should just run the install instructions from the readme. When I run systemctl status joycond
I get this output:
joycond.service - joycond
Loaded: loaded (/etc/systemd/system/joycond.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2021-08-08 15:12:04 CEST; 1min 13s ago
Main PID: 18466 (joycond)
Tasks: 1 (limit: 19123)
Memory: 404.0K
CPU: 32ms
CGroup: /system.slice/joycond.service
└─18466 /usr/bin/joycond
[18466]: no match found for /sys//devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-10/1-10:1.0/bluetooth/>
[18466]: driver_name: Pro Controller
[18466]: MAC: b8:8a:ec:f0:9a:b3
[18466]: adding epoll_subscriber: fd=5
Running dsmeg
shows me:
[ 3017.605803] input: Pro Controller as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-10/1-10:1.0/bluetooth/hci0/hci0:256/0005:057E:2009.0008/input/input32
[ 3017.605885] hid-generic 0005:057E:2009.0008: input,hidraw6: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on 24:ee:9a:1e:68:ff
Already tried the solution from issue #63 but it doesn't work for me. Any help would be appreciated.
Considering that Pro controllers don't have multiple configurations like joycons would it be possible to remove the L+R requirement for them?
I am using openSUSE leap 15.2 with a 5.3.18-lp152.72-default kernel
I have installed the hid-nintendo drivers (the latest version 3.1) with dkms as described in the guide and also compiled joycond successfully.
I manage to connect both joycons fine with bluetooth however i can't pair them between each other with joycond pressing repeatedly L+R and/or any other button.
Below a trace from /var/log/messages
2021-05-09T00:23:45.346221+01:00 ninu-leap15 kernel: [44948.122712] nintendo 0005:057E:2006.0006: delta=88 avg_delta=16
2021-05-09T00:24:06.629580+01:00 ninu-leap15 joycond[9077]: Waiting controller needs partner
2021-05-09T00:24:09.982169+01:00 ninu-leap15 kernel: [44972.760523] uinput: ff_effects_max should be non-zero when FF_BIT is set
2021-05-09T00:24:09.983447+01:00 ninu-leap15 joycond[9077]: message repeated 130 times: [ Waiting controller needs partner]
2021-05-09T00:24:09.983775+01:00 ninu-leap15 joycond[9077]: Found right
2021-05-09T00:24:09.984130+01:00 ninu-leap15 joycond[9077]: Failed to create libevdev_uinput; -22
2021-05-09T00:24:10.146848+01:00 ninu-leap15 systemd[1]: joycond.service: Main process exited, code=exited, status=1/FAILURE
2021-05-09T00:24:10.147854+01:00 ninu-leap15 systemd[1]: joycond.service: Unit entered failed state.
2021-05-09T00:24:10.148339+01:00 ninu-leap15 systemd[1]: joycond.service: Failed with result 'exit-code'.
2021-05-09T00:24:10.325060+01:00 ninu-leap15 systemd[1]: joycond.service: Service RestartSec=100ms expired, scheduling restart.
2021-05-09T00:24:10.327245+01:00 ninu-leap15 systemd[1]: Stopped joycond.
2021-05-09T00:24:10.329176+01:00 ninu-leap15 systemd[1]: Started joycond.
2021-05-09T00:24:10.336140+01:00 ninu-leap15 joycond[24405]: adding epoll_subscriber: fd=4
2021-05-09T00:24:10.337059+01:00 ninu-leap15 joycond[24405]: Creating new phys_ctlr for /dev/input/event3
2021-05-09T00:24:10.337925+01:00 ninu-leap15 joycond[24405]: Found Left Joy-Con
2021-05-09T00:24:10.338593+01:00 ninu-leap15 joycond[24405]: driver_name: Nintendo Switch Left Joy-Con
2021-05-09T00:24:10.339165+01:00 ninu-leap15 joycond[24405]: MAC: 60:6B:FF:58:28:CF
2021-05-09T00:24:11.264705+01:00 ninu-leap15 joycond[24405]: adding epoll_subscriber: fd=5
2021-05-09T00:24:11.265563+01:00 ninu-leap15 joycond[24405]: Creating new phys_ctlr for /dev/input/event20
2021-05-09T00:24:11.266752+01:00 ninu-leap15 joycond[24405]: Found Right Joy-Con
2021-05-09T00:24:11.267403+01:00 ninu-leap15 joycond[24405]: driver_name: Nintendo Switch Right Joy-Con
2021-05-09T00:24:11.267914+01:00 ninu-leap15 joycond[24405]: MAC: 60:6B:FF:58:03:99
2021-05-09T00:24:11.768654+01:00 ninu-leap15 joycond[24405]: adding epoll_subscriber: fd=14
2021-05-09T00:24:27.942123+01:00 ninu-leap15 kernel: [44990.718173] nintendo 0005:057E:2006.0006: compensating for 4 dropped IMU reports
2021-05-09T00:24:27.942150+01:00 ninu-leap15 kernel: [44990.718177] nintendo 0005:057E:2006.0006: delta=88 avg_delta=16
2021-05-09T00:24:30.406986+01:00 ninu-leap15 kernel: [44993.183196] nintendo 0005:057E:2007.0007: compensating for 4 dropped IMU reports
2021-05-09T00:24:30.407030+01:00 ninu-leap15 kernel: [44993.183204] nintendo 0005:057E:2007.0007: delta=100 avg_delta=16
2021-05-09T00:24:44.230154+01:00 ninu-leap15 kernel: [45007.005193] nintendo 0005:057E:2006.0006: compensating for 4 dropped IMU reports
2021-05-09T00:24:44.230188+01:00 ninu-leap15 kernel: [45007.005198] nintendo 0005:057E:2006.0006: delta=96 avg_delta=15
2021-05-09T00:24:49.450215+01:00 ninu-leap15 kernel: [45012.225102] nintendo 0005:057E:2006.0006: compensating for 4 dropped IMU reports
2021-05-09T00:24:49.450249+01:00 ninu-leap15 kernel: [45012.225109] nintendo 0005:057E:2006.0006: delta=84 avg_delta=15
Looks like it tries to pair them but eventually the daemon restart.
Do you have any idea of what might be the cause of the issue?
I was trying to build this on raspbian, and got an error asking for cmake 3.14 (as it should, per the makefile); but it doesn't appear to actually require any features that are not present in 3.13 (still the default in a lot of things).
After a quick edit to the CMakeLists.txt to change the version; everything built and worked fine... unless I'm missing something, it seems that changing the version would allow for people to use this that might be comfortable with git, but not into actually editing source.
hid-nintendo doesn't appear to interface with joycond when compiled as a kernel patch:
Dmesg:
[ 9037.447580] nintendo 0005:057E:2009.0004: unknown main item tag 0x0 [ 9037.447630] nintendo 0005:057E:2009.0004: hidraw2: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on 08:71:90:31:e4:ca
joycond jornalctl:
-- Logs begin at Fri 2020-03-13 14:47:54 CDT, end at Wed 2020-03-18 14:11:11 CDT. -- Mar 18 11:39:41 caleb-gaming-laptop-archlinux systemd[1]: Started joycond. Mar 18 11:39:41 caleb-gaming-laptop-archlinux joycond[893]: adding epoll_subscriber: fd=4
I have yet to test over USB, will update when I do
As for how I built the kernel, I used this PKGBUILD:
https://github.com/Tk-Glitch/PKGBUILDS/tree/master/linux56-rc-tkg
When i try to run "cmake ." i get an error that says:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:609 (message):
pkg-config tool not found
Call Stack (most recent call first):
/usr/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:741 (_pkg_check_modules_internal)
CMakeLists.txt:10 (pkg_check_modules)
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:609 (message):
pkg-config tool not found
Call Stack (most recent call first):
/usr/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:741 (_pkg_check_modules_internal)
CMakeLists.txt:11 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/elinero/joycond/CMakeFiles/CMakeOutput.log".
Please help! i have the newest version of Cmake. the "CMakeOutput.log" file says:
The system is: Linux - 5.4.0-51-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/elinero/joycond/CMakeFiles/3.19.0-rc2/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/elinero/joycond/CMakeFiles/3.19.0-rc2/CompilerIdCXX/a.out"
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/elinero/joycond/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_bf954/fast && /usr/bin/make -f CMakeFiles/cmTC_bf954.dir/build.make CMakeFiles/cmTC_bf954.dir/build
make[1]: Entering directory '/home/elinero/joycond/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -v -o CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake-3.19/Modules/CMakeCCompilerABI.c
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/local/share/cmake-3.19/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccoxDqU4.s
GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-linux-gnu/7/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
as -v --64 -o CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o /tmp/ccoxDqU4.s
GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
Linking C executable cmTC_bf954
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bf954.dir/link.txt --verbose=1
/usr/bin/cc -v CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -o cmTC_bf954
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bf954' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccW8laY7.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_bf954 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bf954' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/elinero/joycond/CMakeFiles/CMakeTmp'
Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
add: [/usr/local/include]
add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/elinero/joycond/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_bf954/fast && /usr/bin/make -f CMakeFiles/cmTC_bf954.dir/build.make CMakeFiles/cmTC_bf954.dir/build]
ignore line: [make[1]: Entering directory '/home/elinero/joycond/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake-3.19/Modules/CMakeCCompilerABI.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/local/share/cmake-3.19/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccoxDqU4.s]
ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o /tmp/ccoxDqU4.s]
ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
ignore line: [Linking C executable cmTC_bf954]
ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bf954.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -o cmTC_bf954 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bf954' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccW8laY7.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_bf954 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccW8laY7.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_bf954] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
arg [CMakeFiles/cmTC_bf954.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/elinero/joycond/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_db11b/fast && /usr/bin/make -f CMakeFiles/cmTC_db11b.dir/build.make CMakeFiles/cmTC_db11b.dir/build
make[1]: Entering directory '/home/elinero/joycond/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -v -o CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/local/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccPgW0qg.s
GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/7
/usr/include/x86_64-linux-gnu/c++/7
/usr/include/c++/7/backward
/usr/lib/gcc/x86_64-linux-gnu/7/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
as -v --64 -o CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccPgW0qg.s
GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
Linking CXX executable cmTC_db11b
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_db11b.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_db11b
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_db11b' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdk0n6g.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_db11b /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_db11b' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/elinero/joycond/CMakeFiles/CMakeTmp'
Parsed CXX implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/include/c++/7]
add: [/usr/include/x86_64-linux-gnu/c++/7]
add: [/usr/include/c++/7/backward]
add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
add: [/usr/local/include]
add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/include/c++/7] ==> [/usr/include/c++/7]
collapse include dir [/usr/include/x86_64-linux-gnu/c++/7] ==> [/usr/include/x86_64-linux-gnu/c++/7]
collapse include dir [/usr/include/c++/7/backward] ==> [/usr/include/c++/7/backward]
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/include/c++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include]
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/elinero/joycond/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_db11b/fast && /usr/bin/make -f CMakeFiles/cmTC_db11b.dir/build.make CMakeFiles/cmTC_db11b.dir/build]
ignore line: [make[1]: Entering directory '/home/elinero/joycond/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/local/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccPgW0qg.s]
ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/include/c++/7]
ignore line: [ /usr/include/x86_64-linux-gnu/c++/7]
ignore line: [ /usr/include/c++/7/backward]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccPgW0qg.s]
ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
ignore line: [Linking CXX executable cmTC_db11b]
ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_db11b.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_db11b ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_db11b' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdk0n6g.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_db11b /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccdk0n6g.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_db11b] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
arg [CMakeFiles/cmTC_db11b.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
When running sudo make install
, I encounter this problem: /usr/bin/ld: cannot open output file joycond: Is a directory collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/joycond.dir/build.make:219: joycond] Error 1 make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/joycond.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
Hi. I needed a daemon for OpenRC since the sudo make install command creates only a systemd daemon, so I created one.
A file named joycond has to be placed in /etc/init.d/ folder. Its content has to be:
#!/sbin/openrc-run
depend() {
need net
}
command="/usr/bin/joycond"
pidfile="/run/${RC_SVCNAME}/pid"
Then chmod+x and sudo rc-service joycond start.
I'm not a programmer, just a regular guy that wants to help. If you want to implement this solution in your software feel free to do so. Bye!
Only one of my joycons are pairing and using JoyConD at once, only one or the other. Not both at the same time. If I try to connect a 2nd it only stays connected for around 10 seconds and the status lights only bounce, not flash, as if joycond wasn't even running at all.
Hi,
While trying to get my joy cons to work while playing Okami HD on Steam, I've come across the problem that the JoyCon (both of them, in fact) start rumbling with maximum power and don't stop until I shut it down.
For me I can cause that to occur just by playing Okami HD and jumping a single time.
It could be a problem with the game, steam, or proton, which are all three involved in this, so if this is not in the fault of this driver, feel free to close the issue.
Best regards
I have checked my controllers Switch side and they appear to be fine. Both sticks with joycond maybe seem too sensitive towards the center?
Here are some values between moving them a few times but letting them auto center.
Axes: 0: 995 1: -96 2: -1238 3: 0
Axes: 0: 1020 1: -213 2: -2778 3: 0
Axes: 0: 78 1: -1037 2: -1639 3: 0
Axes: 0: 442 1: -1174 2: -1163 3: 0
Axes: 0: 78 1: -1203 2: -3393 3: 0
These are reported in jstest. Depending on if others are seeing the same issue, I wonder if a driver side deadzone would be needed. Testing on the Nintendo side it seems there may already be one in place. I can see changes when doing small wiggles using joycond but not in the stock Nintendo setup.
This does not work and I don't see any instructions on reverting the changes.
I don't know how else to explain the issue. When connecting a joycon (L or R), bluetooth settings report that it is connected but instead of all lights blinking as expected with joycond, they continues to ping-pong up and down.
running sudo journalctl -u joycond --follow
shows many lines of output like
Jan 1 00:00:00 example joycond[0000]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:256/0000:0000:0000.0000/input/input39/event258/device/device/leds/player4
(real values redacted)
At first, I thought the "//" was maaaybe a mistake, so I changed phys_ctlr.cpp:35 to not add a slash before devpath
, but after recompiling I get the same output (with one less slash).
When combining my joycons, every button works fine except for the dpad, which refuses to work in almost every program i've tried it with. The only program that recognizes it is keymapper, which itself doesnt work for other reasons.
When I connect my Joycons to my computer and press the L & R buttons nothing happens.
I looked and saw it might be trying to look in an invalid directory. When I ran journalctl it showed:
no match found for /sys//devices/(eccetera)
So if I'm doing something wrong please tell me.
Joycond has incorrect pathing for the device;
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: no match found for /sys//devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/0003:057E:2009.000C/input/input34>
Aug 29 20:52:23 tohru joycond[1173423]: driver_name: Nintendo Co., Ltd. Pro Controller
Aug 29 20:52:23 tohru joycond[1173423]: MAC: 000000000001
Aug 29 20:52:23 tohru joycond[1173423]: adding epoll_subscriber: fd=5
Why is there a double /
in /sys//devices
?? This shouldn't be like that. How do I edit this to correct the path?
when i type cmake .
i get an error that says
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.13 or higher is required. You are running version 3.10.2
-- Configuring incomplete, errors occurred!
As discussed in joaorb64/joycond-cemuhook#27, joycond-cemuhook could easly find which controllers are part of a virtual Combined Joycon device by matching player LED status. Would that be possible? I tried it myself but couldn't manage to do it.
Alternatively, if the combined joycons' uniq is set as one of the controllers' uniq we could get that controller's player LED status and find its pair.
I've installed dkms-hid-nintendo
and joycond
as described in the respective repos without any error.
I connected my switch pro controller and it paired into player slot 1 without me having to press L+R.
But it doesn't look like the controller is actually working. In steam, no controller shows up. And Dolphin just shows [disconnected] evdev/0/Nintendo Pro Controller
in the emulated wii controller section. My joycond
journal is pretty empty:
-- Journal begins at Sat 2021-02-13 03:18:33 CET. --
May 14 15:36:10 x systemd[1]: Started joycond.
May 14 15:36:10 x joycond[67977]: adding epoll_subscriber: fd=4
May 14 15:44:32 x systemd[1]: Stopping joycond...
May 14 15:44:32 x systemd[1]: joycond.service: Deactivated successfully.
May 14 15:44:32 x systemd[1]: Stopped joycond.
May 14 15:44:32 x systemd[1]: Started joycond.
May 14 15:44:32 x joycond[74185]: adding epoll_subscriber: fd=4
I can't pin down, whether this is a joycond issue or a steam/dolphin issue. Is there a way to validate that linux actually recognized the controller?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.